File tree Expand file tree Collapse file tree 3 files changed +17
-17
lines changed
addon/templates/components
dummy/app/templates/docs/components Expand file tree Collapse file tree 3 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 13
13
14
14
{{!--
15
15
Pass footer properties to support
16
- {{es-footer tagline="My custom tagline" contributorLinks=myLinks}}
16
+ <EsFooter @ tagline ={{ "My custom tagline"}} @ contributorLinks ={{ myLinks}}/>
17
17
--}}
18
18
{{ es-footer/es-info infoLinks =infoLinks }}
19
19
{{ es-footer/es-statement tagline =tagline socialLinks =socialLinks }}
Original file line number Diff line number Diff line change 2
2
3
3
{{#docs-demo as |demo|}}
4
4
{{#demo.example name='demo1'}}
5
- {{es-footer }}
5
+ < EsFooter />
6
6
{{/demo.example}}
7
7
{{demo.snippet 'demo1'}}
8
8
{{/docs-demo}}
9
9
10
10
{{#docs-demo as |demo|}}
11
11
{{#demo.example name='demo2'}}
12
- {{es-footer tagline="A framework for ambitious web developers"}}
12
+ <EsFooter @ tagline ={{ "A framework for ambitious web developers"}}/>
13
13
{{/demo.example}}
14
14
{{demo.snippet 'demo2'}}
15
15
{{/docs-demo}}
18
18
{{#demo.example name='demo3'}}
19
19
{{!-- Check out the component blocks and their respective
20
20
configuration --}}
21
- {{#es-footer as |f|}}
22
- {{ f.info infoLinks=infoLinks}}
23
- {{ f.statement socialLinks=socialLinks}}
24
- {{ f.contributions contributorLinks=contributorLinks}}
25
- {{/es-footer}}
21
+ <EsFooter as |f|>
22
+ < f.info @ infoLinks ={{ infoLinks}}/>
23
+ < f.statement @ socialLinks ={{ socialLinks}}/>
24
+ < f.contributions @ contributorLinks ={{ contributorLinks}}/>
25
+ </ EsFooter >
26
26
{{/demo.example}}
27
27
{{demo.snippet 'demo3'}}
28
28
{{/docs-demo}}
29
29
30
30
{{#docs-demo as |demo|}}
31
31
{{#demo.example name='demo4'}}
32
32
{{!-- You can also add your own content on each component block --}}
33
- {{#es-footer as |f|}}
34
- {{# f.info}}
33
+ <EsFooter as |f|>
34
+ < f.info>
35
35
<br />
36
36
<a >Team</a >
37
37
<br />
38
38
<a >Contact</a >
39
- {{ /f.info}}
40
- {{# f.statement}}
39
+ < /f.info>
40
+ < f.statement>
41
41
Highly Productive Out of the Box
42
- {{ /f.statement}}
43
- {{# f.contributions}}
42
+ < /f.statement>
43
+ < f.contributions>
44
44
<div class =" contributor " >
45
45
<p >Hosted by:</p >
46
46
<a href =" https://www.heroku.com/emberjs " >
47
47
{{svg-jar "heroku-logo" class="contributor-logo"}}
48
48
</a >
49
49
</div >
50
- {{ /f.contributions}}
51
- {{/es-footer}}
50
+ < /f.contributions>
51
+ </ EsFooter >
52
52
{{/demo.example}}
53
53
{{demo.snippet 'demo4'}}
54
54
{{/docs-demo}}
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ module('Integration | Component | es footer', function(hooks) {
7
7
setupRenderingTest ( hooks ) ;
8
8
9
9
test ( 'it renders' , async function ( assert ) {
10
- await render ( hbs `{{es-footer}} ` ) ;
10
+ await render ( hbs `<EsFooter/> ` ) ;
11
11
12
12
const footerSocialLinks = document . querySelectorAll ( '.footer-social a' ) ;
13
13
const footerContribtuionsLinks = document . querySelectorAll ( '.footer-contributions .contributor' ) ;
You can’t perform that action at this time.
0 commit comments