diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-12-19 14:21:33 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-12-19 14:21:33 +0100 |
| commit | 5d9f7190bd118fe4d44594d7a9584de98b527467 (patch) | |
| tree | c323938b4626290a227a652380af769d7f4c4518 /templates | |
| parent | 29f687276d9e9ef01ce70ebd210a01386ca581ae (diff) | |
Port to svelte
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.eta | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/templates/index.eta b/templates/index.eta deleted file mode 100644 index 1fced66..0000000 --- a/templates/index.eta +++ /dev/null @@ -1,84 +0,0 @@ -<!DOCTYPE HTML> - -<html lang="en"> - <head> - <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <meta name="author" content="Rubén Beltrán del Río"> - <meta name="description" content="New corona regulations for Berlin"> - - <meta name="theme-color" content="#db5945"> - - <style> - body { - background: linear-gradient(270deg, #fff 0%, #ccc 100%); - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; - padding: 2em; - } - - h1 { - background: linear-gradient(104deg, rgba(229,19,34,1) 95%, rgba(229,19,34,0) 95%); - color: #fff; - padding: 0.5em 1em; - text-transform: uppercase; - } - -ul { - list-style: none; -} - -li { - margin: 1em; -} - -li h2 { - font-size: 1.4em; - margin: 0; - background: linear-gradient(104deg, rgba(229,19,34,1) 95%, rgba(229,19,34,0) 95%); - color: #fff; - padding: 0.2em 1em 0.2em 0.5em; - width: max-content; -} - -li p { - margin: 0; -} - -li span { - display: inline-block; -} - -li .emoji { - position: absolute; - font-size: 4em; - margin-left: -1.1em; -} - -li .text { - font-size: 2em; - padding: 0.5em 1em; - margin-left: 0.5em; - background: #fff; -} - </style> - - <title>New Corona Regulations for Berlin</title> - </head> - <body> - <h1> - New Corona Regulations Berlin - </h1> - <ul> - <% for (const rule of it.rules) { %> - <li> - <h2>Starting <%= rule.time %></h2> - <p> - <span class="emoji"><%= rule.rule.emoji %></span> - <span class="text"><%= rule.rule.text %></span> - </p> - </li> - <% } %> - </ul> - </body> -</html> - |