Skip to content

Commit ebf597f

Browse files
committed
Tighten up homepage
1 parent bb69c35 commit ebf597f

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

tests/dummy/app/pods/index/styles.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,21 @@
44
margin-right: 10px;
55
margin-top: 8px;
66
}
7+
&__btn-area {
8+
margin-top: 40px;
9+
text-align: right;
10+
}
11+
&__btn {
12+
display: inline-block;
13+
padding: 10px;
14+
background: #333;
15+
color: white !important;
16+
border: none !important;
17+
opacity: 0.9;
18+
transition: opacity 0.15s;
19+
20+
&:hover {
21+
opacity: 1;
22+
}
23+
}
724
}

tests/dummy/app/pods/index/template.hbs

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,12 @@
2424
<li><strong>Make it easy for contributors to correct documentation errors</strong> in addition to submitting code fixes</li>
2525
</ul>
2626
<p>Looking at the available tools for authoring docs, none proved satisfactory for all these needs. This is why addons deserve their own solution.</p>
27-
<p>Finish...</p>
28-
</section>
2927

30-
<section class='docs-section'>
31-
<h2>Boilerplate</h2>
32-
<p>The site you're viewing right now is an example of an Ember app made using Ember CLI Addon Docs.<a href="">check out the repo</a> for all the details.</p>
33-
<p>If you want to get going quickly,</p>
34-
<ul>
35-
<li>Copy the docs routes</li>
36-
<li>Copy the application template</li>
37-
<li>Copy the docs index template</li>
38-
</ul>
28+
<div class="docs-dummy__btn-area">
29+
{{#link-to 'docs' class='docs-dummy__btn'}}
30+
Get started
31+
{{/link-to}}
32+
</div>
3933
</section>
34+
4035
</div>

0 commit comments

Comments
 (0)