From 6168f3075f399d388c848c4da45b923fadd9dec0 Mon Sep 17 00:00:00 2001 From: Clement Date: Thu, 2 Jul 2020 10:43:02 +0200 Subject: [PATCH] :sparkles: Rend le projet modulaire --- .gitignore | 1 + src/layouts/default.html | 11 +++++- src/pages/index.html | 22 ++++------- src/pages/readlater.html | 81 ++++++++++++++++------------------------ src/partials/footer.html | 16 ++++++++ src/partials/header.html | 13 +++++++ 6 files changed, 80 insertions(+), 64 deletions(-) create mode 100644 src/partials/footer.html create mode 100644 src/partials/header.html diff --git a/.gitignore b/.gitignore index 2710699..8eb6219 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ dist .sass-cache .awspublish* config.json +.idea diff --git a/src/layouts/default.html b/src/layouts/default.html index 2912ce5..46d591d 100644 --- a/src/layouts/default.html +++ b/src/layouts/default.html @@ -17,8 +17,15 @@
- {{!-- Pages you create in the src/pages/ folder are inserted here when the flattened emails are created. --}} - {{> body}} + {{> header}} + + + + + {{> body}} + {{> footer}} + +
diff --git a/src/pages/index.html b/src/pages/index.html index 93bb243..e29d2e4 100644 --- a/src/pages/index.html +++ b/src/pages/index.html @@ -1,6 +1,6 @@ --- layout: index-layout -subject: My Email Templates +subject: Les templates de read later --- @@ -12,31 +12,25 @@ subject: My Email Templates -

Hi there!

-

Thanks for downloading Foundation for Emails! Your days of coding up painful HTML emails are officially over. You’ll soon be cranking out some slick, responsive emails in no time! To help get you up and running, we've put together 11 templates for the most common email use cases including newsletters, transactional emails, and marketing blasts. Feel free to customize them to your hearts content.

- +

Hey !

+

Pour la doc : Foundation for Emails!

+

La liste des templates pour ce projet :

- Basic Template - Drip Template - Hero Template + Envoi du lien Marketing Template Newsletter Template - Newsletter 2 Template - Order Template Password Template - Sidebar Template - Sidebar Hero Template Welcome Template
-

Happy Coding,

-

The Foundation Team

+

A+,

+

Shikiryu

@@ -48,7 +42,7 @@ subject: My Email Templates
- Keep on keepin' on. <3 ZURB + Pour en savoir plus : <3 repo git
diff --git a/src/pages/readlater.html b/src/pages/readlater.html index 75ba7d5..6697024 100644 --- a/src/pages/readlater.html +++ b/src/pages/readlater.html @@ -1,56 +1,41 @@ --- -subject: ReadLaterByEmail link +subject: "ReadLaterByEmail link" +LOGO: "{{ asset('images/logo.png') }}" +IMAGE: "{{ $link->image }}" +IMAGE_VAR: "$link->image" +TITLE: "{{ $link->title }}" +EXCERPT: "@if(!empty($link->excerpt)) {!! $link->excerpt !!} @else {{ $link->description }} @endif" +URL: "{{ $link->url }}" --- - - - - - - - - - - - - - - - - -
Responsive Emails
+ + +
{{{ TITLE }}}
+
+ @if(!empty({{{ IMAGE_VAR }}})) + +
+ +
- - - -
+ @endif +
+ +
+ + + + +

+ {{{ EXCERPT }}} +

+ +
+ +
+
+
-
- - -

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras egestas ullamcorper tristique. Aenean pharetra, ipsum eu varius elementum, odio ex malesuada neque, eget tempus ipsum neque ut ante. Vivamus volutpat faucibus metus quis ultrices. Fusce hendrerit purus in elit tincidunt sollicitudin. Duis ultrices odio id faucibus sagittis. Sed nulla leo, gravida non massa vitae, bibendum interdum sapien. Pellentesque rutrum sem bibendum tellus volutpat congue.

-
- -
-
-
- +
+ + \ No newline at end of file