diff --git a/app/components/code-snippet.css b/app/components/code-snippet.css deleted file mode 100644 index 2736db9..0000000 --- a/app/components/code-snippet.css +++ /dev/null @@ -1,3 +0,0 @@ -.button { - float: right; -} diff --git a/app/components/code-snippet.hbs b/app/components/code-snippet.hbs index 921e8a8..db96a06 100644 --- a/app/components/code-snippet.hbs +++ b/app/components/code-snippet.hbs @@ -1,4 +1,4 @@ - + {{#if this.show}} {{#let (get-code-snippet @name) as |snippet|}} diff --git a/app/components/day.css b/app/components/day.css deleted file mode 100644 index 2c63cb0..0000000 --- a/app/components/day.css +++ /dev/null @@ -1,21 +0,0 @@ -.container { - display: flex; - justify-content: space-between; -} - -.solution1, .solution2, .description { - width: 30vw; -} - -.description h2 { - margin-top: 0px; -} - -@media (max-width: 900px) { - .container { - flex-direction: column; - } - .solution1, .solution2, .description { - width: 100%; - } -} diff --git a/app/components/day.hbs b/app/components/day.hbs index 32e7f87..dcdc092 100644 --- a/app/components/day.hbs +++ b/app/components/day.hbs @@ -1,4 +1,4 @@ -
+

Day {{@number}}

The puzzle can be found here.
The puzzle always has example input and a personalised input.
@@ -6,16 +6,16 @@

-
-
+
+
Solution 1 is {{if this.input @solution1 @example1}}
-
+
Solution 2 is {{if this.input @solution2 @example2}}
-
+
{{yield}}
\ No newline at end of file diff --git a/app/components/inputtoggle.css b/app/components/inputtoggle.css deleted file mode 100644 index 48c7010..0000000 --- a/app/components/inputtoggle.css +++ /dev/null @@ -1,46 +0,0 @@ -.container { - display: flex; -} - -.container input[type="checkbox"] { - position: absolute; - opacity: 0; - width: 250px; - height: 25px; - cursor: pointer; -} - -.switch { - margin: 0px 5px; - display: flex; - align-items: center; - width: 40px; -} - -.circle.right { - transform: translateX(24px) -} - - -.bar { - width: 40px; - height: 5px; - border-radius: 5px; - background-color: var(--base0); - position: absolute; -} - -.circle { - height: 16px; - width: 16px; - border-radius: 50%; - background-color: var(--theme-color); - z-index: 1; - transition: transform .8s; -} - -.circle.focused { - box-shadow: 0 0 8px var(--blue); -} - - diff --git a/app/components/inputtoggle.hbs b/app/components/inputtoggle.hbs index 4a7bfce..5f6bf84 100644 --- a/app/components/inputtoggle.hbs +++ b/app/components/inputtoggle.hbs @@ -1,8 +1,8 @@ -