Skip to content

Commit 9c72642

Browse files
author
mrmrs
committed
Renaming the collections to cards.
1 parent ddb025f commit 9c72642

File tree

6 files changed

+91
-0
lines changed

6 files changed

+91
-0
lines changed

src/components/cards/album-left.html

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{{{
2+
"bodyClass" : "bg-white pt5"
3+
}}}
4+
5+
<a class="dib mw5 black link dim"
6+
title="Frank Ocean's Blonde on Apple Music"
7+
href="https://geo.itunes.apple.com/us/album/blonde/id1146195596?at=1l3vqFJ&mt=1&app=music">
8+
9+
<img class="db ba b--black-10"/
10+
alt="Frank Ocean Blonde Album Cover"
11+
src="https://s3-us-west-1.amazonaws.com/tachyonsio/img/Blonde-Frank_Ocean.jpeg"
12+
>
13+
14+
<dl class="mt2 f6 lh-copy">
15+
<dt class="clip">Title</dt>
16+
<dd class="ml0 fw9">Blonde</dd>
17+
<dt class="clip">Artist</dt>
18+
<dd class="ml0 gray">Frank Ocean</dd>
19+
</dl>
20+
</a>

src/components/cards/news-card.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{{{
2+
"bodyClass" : "bg-near-white"
3+
}}}
4+
<article class="bg-white center mw5 ba b--black-10 mv4">
5+
<div class="pv2 ph3">
6+
<h1 class="f6 ttu tracked">Daily News Co.</h1>
7+
</div>
8+
<img src="/img/cat-720.jpg" class="w-100 db" alt="Cat yawning">
9+
<div class="pa3">
10+
<a href="#" class="link dim lh-title">15 things every cat owner should know</a>
11+
<small class="gray db pv2">AMP - <time>6 hours ago</time></small>
12+
</div>
13+
</article>
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{{{
2+
"bodyClass" : "bg-white"
3+
}}}
4+
<article class="br2 ba dark-gray b--black-10 mv4 w-100 w-50-m w-25-l mw5 center">
5+
<img src="http://placekitten.com/g/600/300" class="db w-100 br2 br--top" alt="kitty">
6+
<div class="pa2 ph3-ns pb3-ns">
7+
<div class="dt w-100 mt1">
8+
<div class="dtc">
9+
<h1 class="f5 f4-ns mv0">Cat</h1>
10+
</div>
11+
<div class="dtc tr">
12+
<h2 class="f5 mv0">$1,000</h2>
13+
</div>
14+
</div>
15+
<p class="f6 lh-copy measure mt2 mid-gray">
16+
If it fits, i sits burrow under covers. Destroy couch leave hair everywhere,
17+
and touch water with paw then recoil in horror.
18+
</p>
19+
</div>
20+
</article>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{{{
2+
"bodyClass" : "bg-near-white"
3+
}}}
4+
<article class="mw5 center bg-white br3 pa3 pa4-ns mv3 ba b--black-10">
5+
<div class="tc">
6+
<img src="/img/avatar_1.jpg" class="br-100 h4 w4 dib ba b--black-05 pa2" title="Kitty staring at you">
7+
<h1 class="f3 mb2">Mimi W.</h1>
8+
<h2 class="f5 fw4 gray mt0">CCO (Chief Cat Officer)</h2>
9+
</div>
10+
</article>
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{{{
2+
"bodyClass" : "bg-near-white"
3+
}}}
4+
<article class="mw5 center bg-white br3 pa3 pa4-ns mv3 ba b--black-10">
5+
<div class="tc">
6+
<img src="/img/avatar_1.jpg" class="br-100 h3 w3 dib" title="Kitty staring at you">
7+
<h1 class="f4">Mimi Whitehouse</h1>
8+
<hr class="mw3 bb bw1 b--black-10">
9+
</div>
10+
<p class="lh-copy measure center f6 black-70">
11+
Quite affectionate and outgoing.
12+
She loves to get chin scratches and will
13+
roll around on the floor waiting for you give her more of them.
14+
</p>
15+
</article>

src/components/cards/text-card.html

+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 br3 hidden ba b--black-10 mv4">
5+
<h1 class="f4 bg-near-white br3 br--top black-60 mv0 pv2 ph3">Title of card</h1>
6+
<div class="pa3 bt b--black-10">
7+
<p class="f6 f5-ns lh-copy measure">
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>

0 commit comments

Comments
 (0)