Skip to content

Commit 0be1f4b

Browse files
author
mrmrs
committed
Update docs and homepage. Move descriptive text to homepage.
1 parent 2d887e2 commit 0be1f4b

File tree

4 files changed

+52
-46
lines changed

4 files changed

+52
-46
lines changed

docs/index.html

+23-31
Original file line numberDiff line numberDiff line change
@@ -20,52 +20,34 @@
2020
<header class="w-100 pa3 ph5-ns bg-near-white">
2121
<div class="dt w-100">
2222
<div class="dtc v-mid tl w-50">
23-
<a href="/" class="dib f5 f4-ns fw6 mt0 mb1 link black-50 dim" title="Home">
23+
<a href="/" class="dib f5 f4-ns fw6 mt0 mb1 link black-70 dim" title="Home">
2424
Tachyons
2525
<div class="dib">
26-
<small class="nowrap f6 mt2 mt3-ns pr2 black-50 fw2">v4.0.0-beta.7</small>
26+
<small class="nowrap f6 mt2 mt3-ns pr2 black-70 fw2">v4.0.0-beta.12</small>
2727
</div>
2828
</a>
2929
</div>
3030
<div class="db dtc v-mid w-100 tr">
3131

3232
<a title="Documentation" href="/docs/"
33-
class="f6 b dim link black-50 mr1 mr3-m mr4-l dib">
33+
class="f6 fw6 dim link black-70 mr1 mr3-m mr4-l dib">
3434
Docs
3535
</a>
3636
<a title="Components" href="/components/"
37-
class="f6 b dim link black-50 mr1 mr3-m mr4-l dib">
37+
class="f6 fw6 dim link black-70 mr1 mr3-m mr4-l dib">
3838
Components
3939
</a>
4040
<a title="Tachyons on GitHub" href="http://github.com/mrmrs/tachyons/"
41-
class="f6 b dim link black-50 mr1 mr3-m mr4-l dib">
41+
class="f6 fw6 dim link black-70 mr1 mr3-m mr4-l dn dib-ns">
4242
GitHub
4343
</a>
44-
<a title="Tachyons Npm Modules" href="/#npm"
45-
class="f6 b link black-50 dim dib">
46-
Npm
47-
</a>
4844
</div>
4945
</div>
5046
</header>
5147

5248
<main>
53-
<div class="ph3 ph5-ns pb3 pt4">
54-
<h1 class="f4 f3-ns lh-title measure">
55-
Tachyons was built for designing.
56-
</h1>
57-
<p class="f5 f4-ns b measure lh-copy">Create fast loading, highly readable, and
58-
100% responsive interfaces with as little css as possible.</p>
59-
<p class="measure f5 f4-ns lh-copy">
60-
Modules can be altered, extended, or changed to meet your design needs.
61-
You shouldn't need to write css everything you want to build a new
62-
ui component. By learning the composable building blocks in tachyons, you can quickly start to build out interfaces while writing little to no css.
63-
</p>
64-
<p class="measure f5 f4=ns lh-copy">
65-
Coming soon: component and example docs.
66-
</p>
67-
</div>
68-
<div class="ph3 ph5-ns pt3 pb5">
49+
<h1>Docs</h1>
50+
<div class="ph3 ph5-ns pt3 pb5">
6951
<section>
7052
<h2 class="f6 fw7 ttu tracked">Elements</h2>
7153
<a class="f5 fw4 dim link blue db pv1" href="/docs/elements/images/" title="Images">Images</a>
@@ -121,22 +103,32 @@ <h2 class="f6 fw7 ttu tracked">Theming</h2>
121103
</svg>
122104
<span class="dib v-mid white fw6" style="font-size: 12px;">Tweet</span>
123105
</a>
106+
<div class="mb4">
107+
<a class="black-70 link dim b dib mr3" href="/" title="Home">
108+
Home
109+
</a>
110+
<a class="black-70 link dim b dib mr3" href="/docs" title="Docs">
111+
Docs
112+
</a>
113+
<a class="black-70 link dim b dib mr3" href="/components/" title="Components">
114+
Components
115+
</a>
116+
</div>
124117
<article>
125118
<iframe src="https://ghbtns.com/github-btn.html?user=tachyons-css&repo=tachyons&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
126119
<iframe src="https://ghbtns.com/github-btn.html?user=tachyons-css&repo=tachyons&type=fork&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
127120
</article>
128-
129-
<p>
130-
<a class="black-70 link dim b dib mr3" href="http://tachyons-slack-invite.herokuapp.com" title="Join our Slack Channel">
121+
<div class="mt4">
122+
<a class="black-70 link dim b dib mr3 pv2" href="http://tachyons-slack-invite.herokuapp.com" title="Join our Slack Channel">
131123
Join our Slack Channel
132124
</a>
133-
<a class="black-70 link dim b dib mr3" href="https://github.com/tachyons-css/tachyons/issues" title="File a bug, request a feature, ask a question!">
125+
<a class="black-70 link dim b dib mr3 pv2" href="https://github.com/tachyons-css/tachyons/issues" title="File a bug, request a feature, ask a question!">
134126
Open an Issue
135127
</a>
136-
<a class="black-70 link dim b dib mr3" href="https://github.com/tachyons-css" title="Tachyons-css on GitHub">
128+
<a class="black-70 link dim b dib mr3 pv2" href="https://github.com/tachyons-css" title="Tachyons-css on GitHub">
137129
GitHub
138130
</a>
139-
</p>
131+
</div>
140132
<p class="measure copy lh-copy">
141133
Have a question? Need help? Feel free to open an issue on GitHub or ask a
142134
question in our slack channel. We're here to try and help make designing in

index.html

+13
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,19 @@
5151
<iframe src="https://ghbtns.com/github-btn.html?user=tachyons-css&repo=tachyons&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
5252
<iframe src="https://ghbtns.com/github-btn.html?user=tachyons-css&repo=tachyons&type=fork&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
5353
</article>
54+
<div class="ph3 ph5-ns pb3 pt4">
55+
<h1 class="f4 f3-ns lh-title measure">
56+
Tachyons was built for designing.
57+
</h1>
58+
<p class="f5 f4-ns b measure lh-copy">Create fast loading, highly readable, and
59+
100% responsive interfaces with as little css as possible.</p>
60+
<p class="measure f5 f4-ns lh-copy">
61+
Modules can be altered, extended, or changed to meet your design needs.
62+
You shouldn't need to write css everytime you want to build a new
63+
ui component. By learning the composable building blocks in tachyons, you
64+
can quickly start to build out interfaces while writing little to no css.
65+
</p>
66+
</div>
5467
<article class="ph3 ph5-ns mb4 mb5-ns">
5568
<h1>Getting Started</h1>
5669
<p class="measure lh-copy">

src/templates/docs/index.html

+3-15
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,10 @@
1010
<body class="w-100 sans-serif">
1111
<%= siteHeader %>
1212
<main>
13-
<div class="ph3 ph5-ns pb3 pt4">
14-
<h1 class="f4 f3-ns lh-title measure">
15-
Tachyons was built for designing.
16-
</h1>
17-
<p class="f5 f4-ns b measure lh-copy">Create fast loading, highly readable, and
18-
100% responsive interfaces with as little css as possible.</p>
19-
<p class="measure f5 f4-ns lh-copy">
20-
Modules can be altered, extended, or changed to meet your design needs.
21-
You shouldn't need to write css everything you want to build a new
22-
ui component. By learning the composable building blocks in tachyons, you can quickly start to build out interfaces while writing little to no css.
23-
</p>
24-
<p class="measure f5 f4=ns lh-copy">
25-
Coming soon: component and example docs.
26-
</p>
13+
<div class="ph3 ph5-ns">
14+
<h1 class="f4">Docs</h1>
2715
</div>
28-
<%= navDocs %>
16+
<%= navDocs %>
2917
</main>
3018
<%= siteFooter %>
3119

src/templates/index.html

+13
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@
1515
<iframe src="https://ghbtns.com/github-btn.html?user=tachyons-css&repo=tachyons&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
1616
<iframe src="https://ghbtns.com/github-btn.html?user=tachyons-css&repo=tachyons&type=fork&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>
1717
</article>
18+
<div class="ph3 ph5-ns pb3 pt4">
19+
<h1 class="f4 f3-ns lh-title measure">
20+
Tachyons was built for designing.
21+
</h1>
22+
<p class="f5 f4-ns b measure lh-copy">Create fast loading, highly readable, and
23+
100% responsive interfaces with as little css as possible.</p>
24+
<p class="measure f5 f4-ns lh-copy">
25+
Modules can be altered, extended, or changed to meet your design needs.
26+
You shouldn't need to write css everytime you want to build a new
27+
ui component. By learning the composable building blocks in tachyons, you
28+
can quickly start to build out interfaces while writing little to no css.
29+
</p>
30+
</div>
1831
<article class="ph3 ph5-ns mb4 mb5-ns">
1932
<h1>Getting Started</h1>
2033
<p class="measure lh-copy">

0 commit comments

Comments
 (0)