diff --git a/src/App.svelte b/src/App.svelte
index 5cc0084..e322aa4 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -2,7 +2,7 @@
import { date, time, start, quote, county } from "$lib/data";
import { images } from "$lib/images";
- import DateInput from "$lib/components/DateInput.svelte";
+ import Date from "$lib/components/Date.svelte";
import County from "$lib/components/County.svelte";
import Quote from "$lib/components/Quote.svelte";
@@ -25,7 +25,7 @@
{#await images.back() then}
@@ -37,9 +37,7 @@
{/if}
{#await quote.load() then}
- {#if $quote}
-
- {/if}
+
{/await}
@@ -56,12 +54,12 @@
header {
justify-content: center;
}
- footer h2 {
- margin: 0;
- }
main {
padding: 1em;
display: grid;
place-content: center;
}
+ footer h2 {
+ margin: 0;
+ }
diff --git a/src/lib/components/Button.svelte b/src/lib/components/Button.svelte
new file mode 100644
index 0000000..26270b1
--- /dev/null
+++ b/src/lib/components/Button.svelte
@@ -0,0 +1,21 @@
+
+
+
+
+
diff --git a/src/lib/components/County.svelte b/src/lib/components/County.svelte
index 6145b30..116eb6e 100644
--- a/src/lib/components/County.svelte
+++ b/src/lib/components/County.svelte
@@ -1,11 +1,49 @@
+
+
- - {county.years}
- - {county.months}
- - {county.days}
+ {#if type === "months"}
+ -
+
+
+ {:else if type === "days"}
+ -
+
+
+ {:else if type === "hours"}
+ -
+
+
+ {:else}
+ -
+
+
+ -
+
+
+ -
+
+
+ {/if}