diff --git a/src/app.html b/src/app.html index 1966776..eecc1c1 100644 --- a/src/app.html +++ b/src/app.html @@ -3,6 +3,12 @@ + %sveltekit.head% diff --git a/src/lib/assets/camera.svg b/src/lib/assets/camera.svg new file mode 100644 index 0000000..5ae8cc9 --- /dev/null +++ b/src/lib/assets/camera.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/src/lib/assets/cross.svg b/src/lib/assets/cross.svg new file mode 100644 index 0000000..3e3d65b --- /dev/null +++ b/src/lib/assets/cross.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/lib/components/Button.svelte b/src/lib/components/Button.svelte new file mode 100644 index 0000000..573e087 --- /dev/null +++ b/src/lib/components/Button.svelte @@ -0,0 +1,30 @@ + + + + + diff --git a/src/lib/components/Navbar.svelte b/src/lib/components/Navbar.svelte new file mode 100644 index 0000000..baed206 --- /dev/null +++ b/src/lib/components/Navbar.svelte @@ -0,0 +1,45 @@ + + + + + diff --git a/src/lib/components/SpaceCard.svelte b/src/lib/components/SpaceCard.svelte index f599a4a..ac4b5f5 100644 --- a/src/lib/components/SpaceCard.svelte +++ b/src/lib/components/SpaceCard.svelte @@ -5,17 +5,18 @@ alt: string; imgSrc: string; description?: Snippet; + href?: string; } - const { alt, imgSrc, description }: Props = $props(); + const { alt, imgSrc, description, href }: Props = $props(); -
+
{@render description?.()}
-
+ diff --git a/src/lib/components/inputs/Text.svelte b/src/lib/components/inputs/Text.svelte new file mode 100644 index 0000000..494a68d --- /dev/null +++ b/src/lib/components/inputs/Text.svelte @@ -0,0 +1,29 @@ + + + + + diff --git a/src/lib/components/inputs/Textarea.svelte b/src/lib/components/inputs/Textarea.svelte new file mode 100644 index 0000000..11efe53 --- /dev/null +++ b/src/lib/components/inputs/Textarea.svelte @@ -0,0 +1,32 @@ + + + + + diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 33a1c7e..bea97c6 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -13,7 +13,22 @@ diff --git a/src/routes/space/+page.svelte b/src/routes/space/+page.svelte new file mode 100644 index 0000000..2ae03fd --- /dev/null +++ b/src/routes/space/+page.svelte @@ -0,0 +1,118 @@ + + + + + close + + + +
{ + event.preventDefault(); + await uploadStudySpace(); + }} +> + + + + + + +