Skip to content

Commit feb2b01

Browse files
author
mrmrs
committed
Update homepage to fix link
1 parent 2ab70af commit feb2b01

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
class="pb2-ns f6 fw6 dim link black-70 mr1 mr3-m mr4-l dib">
7070
Features
7171
</a>
72-
<a title="Testimonials" href="#style"
72+
<a title="Style Guide" href="#style"
7373
class="pb2-ns f6 fw6 dim link black-70 mr1 mr3-m mr4-l dib">
7474
Style Guide
7575
</a>
@@ -330,9 +330,9 @@ <h3 class="f5 fw6 ttu tracked black-70 mb4">Start using Tachyons</h3>
330330
</div>
331331
</section>
332332
<section>
333-
<div class="ph3 ph5-ns pt5">
333+
<div class="ph3 ph5-ns pt5" id="style">
334334
<div class="mw9 center overflow-auto">
335-
<h3 class="f5 fw6 ttu tracked">Tachyons Styleguide</h3>
335+
<h3 class="f5 fw6 ttu tracked">Style Guide</h3>
336336
<p class="lh-copy measure">
337337
This is a quick introduction to some of the building blocks that Tachyons makes available. For a more in-depth look at design principles and how each module works, be sure to check out the <a class="link blue underline hover-navy" href="/docs" title="Tachyons docs">docs</a>
338338
</p>

src/templates/components-index.html

+6-1
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,14 @@
1111
<body class="w-100 sans-serif">
1212
<%= header %>
1313
<main class="bg-white black-70 bt b--black-10">
14+
<header class="ph3 ph5-ns pv2">
15+
<% Object.keys(componentsForNav).map(function(category) { %>
16+
<a class="f6 b dib mr3 mb3 pb1 link bb hover-blue black-70 capitalize" href="#<%= category%>"><%= category %></a>
17+
<% }) %>
18+
</header>
1419
<section class="pa4-ns">
1520
<% Object.keys(componentsForNav).map(function(category) { %>
16-
<div class="ph3 ph4-ns">
21+
<div class="ph3 ph4-ns" id="<%= category %>">
1722
<h1 class="f6 b ttu tracked pb2 bb"><%= category %></h1>
1823
</div>
1924
<div class="ph3-ns cf mb4">

src/templates/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
class="pb2-ns f6 fw6 dim link black-70 mr1 mr3-m mr4-l dib">
2727
Features
2828
</a>
29-
<a title="Testimonials" href="#style"
29+
<a title="Style Guide" href="#style"
3030
class="pb2-ns f6 fw6 dim link black-70 mr1 mr3-m mr4-l dib">
3131
Style Guide
3232
</a>
@@ -287,9 +287,9 @@ <h3 class="f5 fw6 ttu tracked black-70 mb4">Start using Tachyons</h3>
287287
</div>
288288
</section>
289289
<section>
290-
<div class="ph3 ph5-ns pt5">
290+
<div class="ph3 ph5-ns pt5" id="style">
291291
<div class="mw9 center overflow-auto">
292-
<h3 class="f5 fw6 ttu tracked">Tachyons Styleguide</h3>
292+
<h3 class="f5 fw6 ttu tracked">Style Guide</h3>
293293
<p class="lh-copy measure">
294294
This is a quick introduction to some of the building blocks that Tachyons makes available. For a more in-depth look at design principles and how each module works, be sure to check out the <a class="link blue underline hover-navy" href="/docs" title="Tachyons docs">docs</a>
295295
</p>

0 commit comments

Comments
 (0)