diff --git a/src/lib/extra-icons/globe.svg b/src/lib/extra-icons/globe.svg new file mode 100644 index 0000000..c2af6c6 --- /dev/null +++ b/src/lib/extra-icons/globe.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index c0e66d9..f8ca62c 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -73,7 +73,7 @@ />
-
+
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 666b51f..827897c 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -73,12 +73,12 @@

Über uns

- Wir sind ein kleines Team von Minecraft-Enthusiasten, das bereits im 6. Jahr in Folge - Minecraft CraftAttack organisiert. Jahr für Jahr arbeiten wir daran, das Spielerlebnis zu - verbessern und steigeren die Teilnehmerzahl. + Wir sind ein kleines Team von Minecraft-Enthusiasten, + das bereits im 6. Jahr in Folge Minecraft CraftAttack organisiert. Jahr für Jahr arbeiten wir + daran, das Spielerlebnis zu verbessern und steigeren die Teilnehmerzahl.

- Unser Ziel bei diesem ab dem {new Date(env.PUBLIC_START_DATE).toLocaleString('de-DE', { day: '2-digit', month: 'numeric', diff --git a/src/routes/faq/+layout.svelte b/src/routes/faq/+layout.svelte new file mode 100644 index 0000000..8f75643 --- /dev/null +++ b/src/routes/faq/+layout.svelte @@ -0,0 +1,3 @@ +

+ +
diff --git a/src/routes/faq/+page.svelte b/src/routes/faq/+page.svelte new file mode 100644 index 0000000..29f4d2a --- /dev/null +++ b/src/routes/faq/+page.svelte @@ -0,0 +1,16 @@ + + +{#each questions as question} +
+ +
{question.title}
+
{@html question.content}
+
+{/each} diff --git a/src/routes/team/+layout.svelte b/src/routes/team/+layout.svelte new file mode 100644 index 0000000..66498a0 --- /dev/null +++ b/src/routes/team/+layout.svelte @@ -0,0 +1,3 @@ +
+ +
diff --git a/src/routes/team/+page.svelte b/src/routes/team/+page.svelte new file mode 100644 index 0000000..192d111 --- /dev/null +++ b/src/routes/team/+page.svelte @@ -0,0 +1,81 @@ + + + + Team + + +

Das Team

+
+ {#each team as member} +
+
+
+
+
+ {member.name.at(0).toUpperCase()} +
+
+

{member.name} · {member.nickname}

+

{member.roles.join(' · ')}

+ {#if member.links} +
+
+
+ {#each member.links as link} + + {link.name} + + {/each} +
+
+ {/if} +
+
+
+ {/each} +
+ + diff --git a/svelte.config.js b/svelte.config.js index 3e9ded0..95259f7 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,16 +1,11 @@ import adapter from '@sveltejs/adapter-node'; -import preprocess from 'svelte-preprocess'; +import { sveltePreprocess } from 'svelte-preprocess'; /** @type {import('@sveltejs/kit').Config} */ const config = { - // Consult https://kit.svelte.dev/docs/integrations#preprocessors - // for more information about preprocessors - preprocess: preprocess(), + preprocess: sveltePreprocess(), kit: { - // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. - // If your environment is not supported or you settled on a specific environment, switch out the adapter. - // See https://kit.svelte.dev/docs/adapters for more information about adapters. adapter: adapter(), csrf: { checkOrigin: false diff --git a/tailwind.config.js b/tailwind.config.js index 4fd46db..76e77a5 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,3 +1,5 @@ +import daisyui from 'daisyui'; + /** @type {import('tailwindcss').Config} */ export default { content: ['./src/**/*.{html,js,svelte,ts}'], @@ -9,7 +11,7 @@ export default { roboto: ['Roboto'] } }, - plugins: [require('daisyui')], + plugins: [daisyui], daisyui: { logs: false