diff options
Diffstat (limited to 'templates/layouts/index.html')
| -rw-r--r-- | templates/layouts/index.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/templates/layouts/index.html b/templates/layouts/index.html new file mode 100644 index 0000000..144d1ed --- /dev/null +++ b/templates/layouts/index.html | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | <header class="c-hero u-hidden@sm-down" role="presentation"> | ||
| 2 | $-- ' | ' ' ' ' ' | | | ' ' | ||
| 3 | $-- | ' ' ' //\_ ' | ' . | ' ' | ||
| 4 | $-- .| ' ____,...,______..,_~`` -`.., ' | ' | ' ' | ||
| 5 | $-- | _,~´"' , . ,~--´ ' _| | . |~~.__ ' ' | ||
| 6 | $-- | | ,-" _.-|~/ |..,____,) ,/,,"' '_( | ' |) ) ' ' | ||
| 7 | $-- '| \__,~"´ /:) / |:\ \ ,~( ) . | | ) `, ' _,--. | ||
| 8 | $-- ___\___.___:____(:/\_-,______\:.\_-,____.__\_.\______.__:___\__.___)_.___,/_____ | ||
| 9 | $-- ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | ||
| 10 | |||
| 11 | <pre class="c-hero__pre c-page__prefixed c-page__prefixed--pre u-mt0 u-hidden@sm-down"> | ||
| 12 | ' | ' ' ' ' ' | | | ' ' | ||
| 13 | | ' ' ' <strong>//\_</strong> ' | ' . | ' ' | ||
| 14 | .| ' <strong>____,...,______..,_~`` -`..,</strong> ' | ' | ' ' | ||
| 15 | | <strong>_,~´"' , . ,~--´</strong> ' _| | . |~~.__ ' ' | ||
| 16 | | | <strong>,-" _.-|~/ |..,____,) ,/,,"'</strong> '_( | ' |) ) ' ' | ||
| 17 | '| <strong>\__,~"´ /:) / |:\ \</strong> ,~( ) . | | ) `, ' _,--. | ||
| 18 | \ . : <strong>(:/\_-, \:.\_-,</strong> . \ .\ . : \ . ) . ' ,/ </pre> | ||
| 19 | |||
| 20 | </header> | ||
| 21 | |||
| 22 | $body$ | ||
| 23 | |||
| 24 | <template id="header-sm"> | ||
| 25 | $-- .| //\__ ' .' | . | ' . ' | ||
| 26 | $-- | _.~-"""-----~`` ,-´ ' ' |' | ' ' | ||
| 27 | $-- '| .´ ,~'\ ).,__,)/,," ' . ' | | | ' .' | ||
| 28 | $-- |_ `~´ (/\\, (/\\, _' '_ _| ' |_ _' '_ | ||
| 29 | |||
| 30 | <pre class="c-hero__pre c-page__prefixed c-page__prefixed--pre u-mt0 $if(section.is_index)$u-hidden@sm-up$endif$"> | ||
| 31 | .| <strong> //\__</strong> ' .' | . | ' . ' | ||
| 32 | | <strong> _.~-"""-----~`` ,-´</strong> ' ' |' | ' ' | ||
| 33 | '| <strong>.´ ,~'\ ).,__,)/,," </strong> ' . ' | | | ' .' | ||
| 34 | |_ <strong>`~´ (/\\, (/\\, </strong> _' '_ _| ' |_ _' '_</pre> | ||
| 35 | </template> | ||
| 36 | |||
| 37 | <script> | ||
| 38 | var headerEl = document.querySelector(".c-hero"); | ||
| 39 | var headerTemplateEl = document.getElementById("header-sm"); | ||
| 40 | var headerSmEl = headerTemplateEl.content.cloneNode("true"); | ||
| 41 | |||
| 42 | headerEl.classList.remove("u-hidden@sm-down"); | ||
| 43 | headerEl.appendChild(headerSmEl); | ||
| 44 | </script> | ||
