From aa8b6903658a317a5296e4c0f266cd6455f76c99 Mon Sep 17 00:00:00 2001 From: Adrian Delgado Date: Sun, 4 Aug 2024 20:22:52 -0500 Subject: [PATCH] Handle comments --- .../components/{ProjectCard.svelte => CommonCard.svelte} | 5 +++-- src/lib/components/MoreButton.svelte | 3 --- src/routes/projects/+page.svelte | 7 +++---- src/routes/projects/+page.ts | 3 +++ 4 files changed, 9 insertions(+), 9 deletions(-) rename src/lib/components/{ProjectCard.svelte => CommonCard.svelte} (89%) delete mode 100644 src/lib/components/MoreButton.svelte diff --git a/src/lib/components/ProjectCard.svelte b/src/lib/components/CommonCard.svelte similarity index 89% rename from src/lib/components/ProjectCard.svelte rename to src/lib/components/CommonCard.svelte index 2e628c0..4c7e6c0 100644 --- a/src/lib/components/ProjectCard.svelte +++ b/src/lib/components/CommonCard.svelte @@ -1,6 +1,5 @@

{data.description}

- {#each projects as project} - { return { title: "Proyectos", // TODO: change this to a real description description: "Aquí ponemos los proyectos que nos enorgullecen... y lo que hay ¯\\_(ツ)_/¯", + // TODO: fetch from API + projects, }; }) satisfies PageLoad;