Skip to content

Commit

Permalink
feat (component): membership card (#46)
Browse files Browse the repository at this point in the history
* build(config): new layouts

* build(templates): completed templates

* fix(components): move to new directory

* feat(layout): new

* feat(templates): new njk build

* chore(components): remove

* build(templates): add build files
  • Loading branch information
PaleBluDot authored Sep 13, 2023
1 parent 06b275d commit 6b0554f
Show file tree
Hide file tree
Showing 29 changed files with 2,645 additions and 2,905 deletions.
2 changes: 2 additions & 0 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addLayoutAlias("blank", "layouts/blank.njk");
eleventyConfig.addLayoutAlias("index", "layouts/index.njk");
eleventyConfig.addLayoutAlias("base", "layouts/base.njk");
eleventyConfig.addLayoutAlias("newsletter", "layouts/newsletter.njk");
eleventyConfig.addLayoutAlias("component", "layouts/component.njk");

return {
htmlTemplateEngine: "njk",
Expand Down
11 changes: 9 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,18 @@
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/github",
{
"assets": [
{ "path": "dist/templates/**", "label": "Email Templates" }
]
}
],
[
"@semantic-release/git",
{
"assets": ["package.json", "package-lock.json", "CHANGELOG.md", "dist/"],
"assets": ["package.json", "package-lock.json", "CHANGELOG.md"],
"message": "chore(release): v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
Expand Down
5 changes: 3 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="author" content="ACLU" />
<meta name="generator" content="1.1.3" />
<meta name="generator" content="1.2.0" />
<meta name="description" content="A website for the ACLU emails." />

<meta property="og:site_name" content="ACLU Email" />
Expand Down Expand Up @@ -121,6 +121,7 @@
</div>
</header>
<main class="body">

<h1>ACLU Custom Email Template Builder</h1>

<p>Welcome to the ACLU custom email template repo. This was created to help us iterate thought different templates much faster than we could before. All of the components used have been tested through Litmus to ensure consistency across email clients.</p>
Expand All @@ -133,7 +134,7 @@ <h3>Component</h3>
<ol></ol>

<h2>Newsletter Templates</h2>
<ol><li style="margin-bottom:10px;"><a href="/templates/newsletters/blank-example.html"><strong>Blank-example</strong></a></li><li style="margin-bottom:10px;"><a href="/templates/newsletters/newsletter.html"><strong>Newsletter</strong></a></li></ol>
<ol><li style="margin-bottom:10px;"><a href="/templates/newsletters/blank-example.html"><strong>Blank-example</strong></a></li><li style="margin-bottom:10px;"><a href="/templates/newsletters/newsletter.html"><strong>Newsletter</strong></a></li><li style="margin-bottom:10px;"><a href="/templates/newsletters/component-playground.html"><strong>Component-playground</strong></a></li></ol>

</main>
</body>
Expand Down
Loading

0 comments on commit 6b0554f

Please sign in to comment.