Skip to content

Commit 0b6aa43

Browse files
author
mrmrs
committed
Update thesrc files for components
1 parent 0f23bed commit 0b6aa43

File tree

6 files changed

+68
-2
lines changed

6 files changed

+68
-2
lines changed

src/components/banners/info.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
<title>info icon</title>
77
<path d="M16 0 A16 16 0 0 1 16 32 A16 16 0 0 1 16 0 M19 15 L13 15 L13 26 L19 26 z M16 6 A3 3 0 0 0 16 12 A3 3 0 0 0 16 6"></path>
88
</svg>
9-
<span class="ml3">Some info that you want to call attention to.</span>
9+
<span class="lh-title ml3">Some info that you want to call attention to.</span>
1010
</div>
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{{{
2+
"bodyClass" : "bg-white"
3+
}}}
4+
<article class="center mw5 mw6-ns hidden ba mv4">
5+
<h1 class="f4 bg-near-black white mv0 pv2 ph3">Title of card</h1>
6+
<div class="pa3 bt">
7+
<p class="f6 f5-ns lh-copy measure mv0">
8+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
9+
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At
10+
vero eos et accusam et justo duo dolores et ea rebum.
11+
</p>
12+
</div>
13+
</article>
+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{{{
2+
"bodyClass" : "bg-white"
3+
}}}
4+
<form class="pa4">
5+
<fieldset id="favorite_movies" class="bn">
6+
<legend class="fw7 mb2">Favorite Movies</legend>
7+
<div class="flex items-center mb2">
8+
<input class="mr2" type="checkbox" value="spacejam">
9+
<label class="lh-copy">Space Jam</label>
10+
</div>
11+
<div class="flex items-center mb2">
12+
<input class="mr2" type="checkbox" value="airbud">
13+
<label class="lh-copy">Air Bud</label>
14+
</div>
15+
<div class="flex items-center mb2">
16+
<input class="mr2" type="checkbox" value="hocuspocus">
17+
<label class="lh-copy">Hocus Pocus</label>
18+
</div>
19+
<div class="flex items-center mb2">
20+
<input class="mr2" type="checkbox" value="diehard">
21+
<label class="lh-copy">Die Hard</label>
22+
</div>
23+
<div class="flex items-center mb2">
24+
<input class="mr2" type="checkbox" value="primer">
25+
<label class="lh-copy">Primer</label>
26+
</div>
27+
<div class="flex items-center mb2">
28+
<input class="mr2" type="checkbox" value="proxy">
29+
<label class="lh-copy">Hudsucker Proxy</label>
30+
</div>
31+
<div class="flex items-center mb2">
32+
<input class="mr2" type="checkbox" value="homealone">
33+
<label class="lh-copy">Home Alone</label>
34+
</div>
35+
</fieldset>
36+
</form>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{{{
2+
"bodyClass" : "bg-white"
3+
}}}
4+
<header class="tc ph4">
5+
<h1 class="f3 f2-m f1-l fw2 black-90 mv3">
6+
This is the title
7+
</h1>
8+
<h2 class="f5 f4-m f3-l fw2 black-50 mt0 lh-copy">
9+
This is the subtitle where additional information can go if you really need it.
10+
</h2>
11+
</header>

src/templates/components-nav.html

+6
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ <h2 class="f6 fw6 mb2 ttc black-70">cards</h2>
9595

9696
<a class="f6 f5-ns fw4 dib mr3 mb2 black-70 link hover-blue dim" href="/components/cards/album-left/index.html">Album Left</a>
9797

98+
<a class="f6 f5-ns fw4 dib mr3 mb2 black-70 link hover-blue dim" href="/components/cards/basic-text-card/index.html">Basic Text Card</a>
99+
98100
<a class="f6 f5-ns fw4 dib mr3 mb2 black-70 link hover-blue dim" href="/components/cards/news-card/index.html">News Card</a>
99101

100102
<a class="f6 f5-ns fw4 dib mr3 mb2 black-70 link hover-blue dim" href="/components/cards/product-card/index.html">Product Card</a>
@@ -168,6 +170,8 @@ <h2 class="f6 fw6 mb2 ttc black-70">footers</h2>
168170
<div>
169171
<h2 class="f6 fw6 mb2 ttc black-70">forms</h2>
170172

173+
<a class="f6 f5-ns fw4 dib mr3 mb2 black-70 link hover-blue dim" href="/components/forms/checkbox-list/index.html">Checkbox List</a>
174+
171175
<a class="f6 f5-ns fw4 dib mr3 mb2 black-70 link hover-blue dim" href="/components/forms/input-text-label/index.html">Input Text Label</a>
172176

173177
<a class="f6 f5-ns fw4 dib mr3 mb2 black-70 link hover-blue dim" href="/components/forms/newsletter-subscription/index.html">Newsletter Subscription</a>
@@ -384,6 +388,8 @@ <h2 class="f6 fw6 mb2 ttc black-70">text</h2>
384388

385389
<a class="f6 f5-ns fw4 dib mr3 mb2 black-70 link hover-blue dim" href="/components/text/small-paragraph/index.html">Small Paragraph</a>
386390

391+
<a class="f6 f5-ns fw4 dib mr3 mb2 black-70 link hover-blue dim" href="/components/text/title-subtitle-centered/index.html">Title Subtitle Centered</a>
392+
387393
<a class="f6 f5-ns fw4 dib mr3 mb2 black-70 link hover-blue dim" href="/components/text/wide-paragraph/index.html">Wide Paragraph</a>
388394

389395
</div>

src/templates/components.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ <h1 class="f6 b ttu">Other Components</h1>
6363
<div>
6464
<h2 class="f6 fw6 mb2 ttc black-70"><%= category %></h2>
6565
<% componentsForNav[category].map(function(componentForNav) { %>
66-
<a class="f6 f5-ns fw4 dib mr3 mb2 black-70 link hover-blue dim" href="<%= componentForNav.href %>"><%= componentForNav.name %></a>
66+
<a class="f6 f5-ns fw4 dib mr3 mb2 black-70 link hover-blue" href="<%= componentForNav.href %>"><%= componentForNav.name %></a>
6767
<% }) %>
6868
</div>
6969
<% }) %>

0 commit comments

Comments
 (0)