aboutsummaryrefslogtreecommitdiffstats
path: root/webapp/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/routes')
-rw-r--r--webapp/src/routes/+layout.svelte9
-rw-r--r--webapp/src/routes/+page.svelte2
-rw-r--r--webapp/src/routes/layout.css3
3 files changed, 14 insertions, 0 deletions
diff --git a/webapp/src/routes/+layout.svelte b/webapp/src/routes/+layout.svelte
new file mode 100644
index 0000000..e801ec7
--- /dev/null
+++ b/webapp/src/routes/+layout.svelte
@@ -0,0 +1,9 @@
+<script lang="ts">
+ import './layout.css';
+ import favicon from '$lib/assets/favicon.svg';
+
+ let { children } = $props();
+</script>
+
+<svelte:head><link rel="icon" href={favicon} /></svelte:head>
+{@render children()}
diff --git a/webapp/src/routes/+page.svelte b/webapp/src/routes/+page.svelte
new file mode 100644
index 0000000..cc88df0
--- /dev/null
+++ b/webapp/src/routes/+page.svelte
@@ -0,0 +1,2 @@
+<h1>Welcome to SvelteKit</h1>
+<p>Visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the documentation</p>
diff --git a/webapp/src/routes/layout.css b/webapp/src/routes/layout.css
new file mode 100644
index 0000000..cd67023
--- /dev/null
+++ b/webapp/src/routes/layout.css
@@ -0,0 +1,3 @@
+@import 'tailwindcss';
+@plugin '@tailwindcss/forms';
+@plugin '@tailwindcss/typography';