code sample
This commit is contained in:
parent
132f6e36a3
commit
e1bc1a8b51
|
@ -7,12 +7,21 @@
|
|||
|
||||
|
||||
.grid-fluid.l-space-bottom-8
|
||||
.c7
|
||||
.c6
|
||||
h3.text-headline Start Quick, Build Fast
|
||||
p.text-body Express your ideas with clean, understandable code. Angular is simple to build on, easy to change, and friendly to the way UX designers work. Create a UI that is beautiful by default, with material design and support for web components. Angular takes <a href="/docs/js/latest/quickstart.html">just minutes to learn</a>.
|
||||
.c5
|
||||
p(data-height="224" data-theme-id="12714" data-slug-hash="pvKKQa" data-default-tab="html" data-user="alexwolfe" class='codepen')
|
||||
script(async src="https://assets.codepen.io/assets/embed/ei.js")
|
||||
.c6
|
||||
pre.prettyprint.linenums.is-showcase
|
||||
code.
|
||||
@Component({selector: 'my-app'})
|
||||
@Template({inline: '<h1>Hi {{ name }}</h1>'})
|
||||
|
||||
// Component controller
|
||||
class MyAppComponent {
|
||||
constructor() {
|
||||
this.name = 'Alice';
|
||||
}
|
||||
}
|
||||
|
||||
.grid-fluid.l-space-bottom-8
|
||||
.c7
|
||||
|
|
|
@ -41,6 +41,10 @@
|
|||
padding: 0px;
|
||||
}
|
||||
|
||||
&.is-showcase {
|
||||
border: 4px solid $regal;
|
||||
}
|
||||
|
||||
ol {
|
||||
background: $steel;
|
||||
padding: ($unit * 2) ($unit * 4) ($unit * 2) ($unit * 7);
|
||||
|
|
Loading…
Reference in New Issue