diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..01dfce8 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +set -e +docker build -t aloussase/kokoa-site . +docker push aloussase/kokoa-site diff --git a/src/lib/components/Project.svelte b/src/lib/components/Project.svelte index 84fd2ab..25e9e53 100644 --- a/src/lib/components/Project.svelte +++ b/src/lib/components/Project.svelte @@ -15,7 +15,7 @@ authors: Author[]; }; - let { id, term, name, categories, description, authors }: Props = $props(); + let { id, term, name, categories, description /* authors */ }: Props = $props(); diff --git a/src/routes/projects/[id]/+page.server.ts b/src/routes/projects/[id]/+page.server.ts index 5d37e4e..6976b27 100644 --- a/src/routes/projects/[id]/+page.server.ts +++ b/src/routes/projects/[id]/+page.server.ts @@ -6,7 +6,7 @@ export const load: PageServerLoad = async ({ params }) => { const project = data.projects.find((p) => p.id === id)!; return { title: `${project?.name} | KOKOA`, - description: project?.description!, + description: project!.description, project, }; };