From b45fd126e9ad4c4e88661120d5f364c15cc8f2ce Mon Sep 17 00:00:00 2001 From: Alexander Goussas <84427521+aloussase@users.noreply.github.com> Date: Sun, 22 Sep 2024 14:48:34 -0500 Subject: [PATCH] Update Heading component to use slot instead of prop (#61) * ci: Configure for deployment on premise * feature: Add projects page * fix: Fix linter warnings * fix: Revert to using adapter-cloudflare for main integration * feature: Update Heading component to use a slot --------- Co-authored-by: Alexander Goussas --- src/lib/components/layout/Heading.svelte | 25 +++++------------------- src/routes/events/+page.svelte | 5 +++-- src/routes/projects/+page.svelte | 3 +-- src/routes/projects/[id]/+page.svelte | 9 +++++++++ 4 files changed, 18 insertions(+), 24 deletions(-) diff --git a/src/lib/components/layout/Heading.svelte b/src/lib/components/layout/Heading.svelte index 4236784..341f213 100644 --- a/src/lib/components/layout/Heading.svelte +++ b/src/lib/components/layout/Heading.svelte @@ -1,29 +1,14 @@ - - -
+
-

{title}

+

+ +

diff --git a/src/routes/events/+page.svelte b/src/routes/events/+page.svelte index 5b82d06..296f13d 100644 --- a/src/routes/events/+page.svelte +++ b/src/routes/events/+page.svelte @@ -5,8 +5,9 @@ let { data } = $props(); - -
+EVENTOS + +
{#each data.events as event} import Heading from "$lib/components/layout/Heading.svelte"; import Project from "$lib/components/Project.svelte"; - let { data } = $props(); @@ -9,7 +8,7 @@ Proyectos | KOKOA - +PROYECTOS

diff --git a/src/routes/projects/[id]/+page.svelte b/src/routes/projects/[id]/+page.svelte index a4c2fa2..d72b9d8 100644 --- a/src/routes/projects/[id]/+page.svelte +++ b/src/routes/projects/[id]/+page.svelte @@ -2,10 +2,19 @@ import MemberAvatar from "$lib/components/MemberAvatar.svelte"; import Tag from "$lib/components/Tag.svelte"; import { Dot, Github, Smartphone, Globe } from "lucide-svelte"; + import Heading from "$lib/components/layout/Heading.svelte"; export let data; + + PROYECTOS + + {">"} + + {data.project.name} + +

Autores