Skip to content

Commit 74dfde6

Browse files
committed
feat(components): create a membership card component
ISSUES CLOSED: #12
1 parent e28cba0 commit 74dfde6

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"layout": "base",
3+
"tags": ["components"],
4+
"permalink": "./templates/components/{{component | slug}}.html"
5+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
component: Members Card
3+
---
4+
5+
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Provident facilis esse possimus harum in! Quis qui suscipit rerum aut, dolore itaque deserunt ipsa voluptatibus corrupti maiores mollitia eius. Quas, sequi.</p>
6+
7+
<table role="presentation" align="center" border="0" cellpadding="0" cellspacing="0" class="emailwrapto100pc" width="{{theme.width}}" style="margin-bottom: 15px;">
8+
<tbody>
9+
<tr>
10+
<td style="
11+
color: {{theme.light.color}};
12+
font-family: {{theme.text.fontFamily}};
13+
font-size: {{theme.text.fontSize}};
14+
line-height: {{theme.text.lineHeight}};
15+
padding: {{theme.padding}};" valign="top">
16+
<h2 style="text-align: center;">Membership Card</h2>
17+
<table role="presentation" align="center" border="0" cellpadding="0" cellspacing="0" width="35%" style="background: #000000;">
18+
<tbody>
19+
<tr width="100px">
20+
<td style="
21+
color: {{theme.light.color}};
22+
font-family: {{theme.text.fontFamily}};
23+
font-size: {{theme.text.fontSize}};
24+
line-height: {{theme.text.lineHeight}};
25+
padding: 10px;text-align: center;" valign="top">
26+
<img src="{{affiliates.can.logo}}" alt="ACLU Logo" /></td>
27+
</tr>
28+
<tr>
29+
<td style="
30+
color: {{theme.light.color}};
31+
font-family: {{theme.text.fontFamily}};
32+
font-size: {{theme.text.fontSize}};
33+
line-height: {{theme.text.lineHeight}};
34+
padding: 10px;text-align: center;" valign="top">
35+
<p style="margin-bottom: 5px;">Member Name: Pavel</p>
36+
<p style="margin-bottom: 5px;">Membership ID: 8675309</p>
37+
<p style="margin-bottom: 0;">Member Since: 1920</p>
38+
</td>
39+
</tr>
40+
</tbody>
41+
</table>
42+
</td>
43+
</tr>
44+
</tbody>
45+
</table>
46+
47+
<p>Excepturi explicabo perspiciatis nostrum dolores libero mollitia dolore suscipit repellendus! Perspiciatis veniam aliquam officiis beatae illum quae architecto ad nulla quidem totam, pariatur consequatur, saepe quos placeat sed nemo repellat!</p>
48+
49+
<p>Quam inventore magni impedit in et incidunt ad dolorem praesentium cupiditate quasi repudiandae, nulla eligendi est aspernatur? Aliquam laboriosam, adipisci omnis, distinctio quisquam nemo veritatis saepe minima deleniti, nam et.</p>

0 commit comments

Comments
 (0)