From e7f0c62076c159c1cd0c93a643d20858809bf57d Mon Sep 17 00:00:00 2001 From: Alexander Goussas Date: Sun, 22 Sep 2024 14:45:17 -0500 Subject: [PATCH] feature: Update Heading component to use a slot --- src/lib/components/layout/Heading.svelte | 25 +++++------------------- src/routes/events/+page.svelte | 5 +++-- src/routes/projects/+page.svelte | 2 +- src/routes/projects/[id]/+page.svelte | 9 +++++++++ 4 files changed, 18 insertions(+), 23 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} 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