jedmund-svelte/src/routes/photos/+page.svelte
Justin Edmund 77a0e7cdd5 Add photos page
just to see how we like it
2025-05-26 16:59:16 -07:00

16 lines
No EOL
311 B
Svelte

<script lang="ts">
import PhotoGrid from '$components/PhotoGrid.svelte'
import type { PageData } from './$types'
const { data }: { data: PageData } = $props()
const photoItems = $derived(data.photoItems)
</script>
<PhotoGrid {photoItems} />
<style lang="scss">
:global(main) {
padding: 0;
}
</style>