diff --git a/src/routes/search/+page.svelte b/src/routes/search/+page.svelte index 497b7a4..31dc43b 100644 --- a/src/routes/search/+page.svelte +++ b/src/routes/search/+page.svelte @@ -2,12 +2,13 @@ import { page } from '$app/stores'; import { browser } from '$app/environment'; - import { Container, Hero, Index, SearchCard } from '@damillora/plachta'; + import { Container, Hero, Index, Post, PostCard } from '@damillora/plachta'; import { onMount } from 'svelte'; import { search } from '$lib/content/searchApi'; import { afterNavigate } from '$app/navigation'; import { searchPost } from '$lib/content/contentApi.js'; + import dayjs from 'dayjs'; let { data } = $props(); let posts: any[] = $state([]); @@ -64,9 +65,20 @@ + +

Search results for: {url.searchParams.get('q')}

+
{#each posts as post} - + {/each}