From 84c61e2f72134ccd275f05e43ec4f0ed8ef0bcba Mon Sep 17 00:00:00 2001 From: bytedream Date: Fri, 11 Aug 2023 22:36:09 +0200 Subject: [PATCH] add basic index site --- src/app.css | 21 ++++++- src/lib/components/Countdown/Countdown.svelte | 16 ++--- src/routes/+layout.svelte | 23 +------ src/routes/+page.svelte | 58 ++++++++++++++++++ static/fonts/Roboto-Black.ttf | Bin 0 -> 168060 bytes static/fonts/Roboto-Bold.ttf | Bin 0 -> 167336 bytes static/fonts/Roboto-Medium.ttf | Bin 0 -> 168644 bytes static/img/craftattack.webp | Bin 0 -> 8260 bytes static/img/netherrack.webp | Bin 0 -> 4948 bytes static/vid/background.mp4 | Bin 0 -> 692023 bytes 10 files changed, 87 insertions(+), 31 deletions(-) create mode 100644 static/fonts/Roboto-Black.ttf create mode 100644 static/fonts/Roboto-Bold.ttf create mode 100644 static/fonts/Roboto-Medium.ttf create mode 100644 static/img/craftattack.webp create mode 100644 static/img/netherrack.webp create mode 100644 static/vid/background.mp4 diff --git a/src/app.css b/src/app.css index 1829fbd..bb48005 100644 --- a/src/app.css +++ b/src/app.css @@ -11,10 +11,29 @@ @font-face { font-family: 'Roboto'; src: url('/fonts/Roboto-Regular.ttf') format('truetype'); + font-weight: normal; + } + + @font-face { + font-family: 'Roboto'; + src: url('/fonts/Roboto-Medium.ttf') format('truetype'); + font-weight: normal; + } + + @font-face { + font-family: 'Roboto'; + src: url('/fonts/Roboto-Bold.ttf') format('truetype'); + font-weight: bold; + } + + @font-face { + font-family: 'Roboto'; + src: url('/fonts/Roboto-Black.ttf') format('truetype'); + font-weight: 900; } html { - @apply font-roboto; + @apply font-roboto scroll-smooth; } h1, diff --git a/src/lib/components/Countdown/Countdown.svelte b/src/lib/components/Countdown/Countdown.svelte index d9639fa..e71df60 100644 --- a/src/lib/components/Countdown/Countdown.svelte +++ b/src/lib/components/Countdown/Countdown.svelte @@ -27,26 +27,26 @@
-
- +
+ Tage
-
- +
+ Stunden
-
- +
+ Minuten
-
- +
+ Sekunden diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index db41641..f87b35e 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,26 +1,5 @@ - - -
- -
+ diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 79d13b6..f8779da 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,6 +1,7 @@ @@ -10,3 +11,60 @@
+ +
+ +