projs
This commit is contained in:
parent
68311ecd7c
commit
8905f4233d
|
@ -12,11 +12,12 @@ export const projects: Project[] = [
|
||||||
{
|
{
|
||||||
id: 'seedling', // HTML ID
|
id: 'seedling', // HTML ID
|
||||||
name: 'Seedling', // project Name
|
name: 'Seedling', // project Name
|
||||||
tags: ['Svelte', 'TypeScript'], // tag
|
tags: ['IoT', 'ESP32', 'sensors', 'C++', 'Swift (iOS app)'],
|
||||||
// description
|
// description
|
||||||
description: '🌸 Sweet, Powerful, IndieWeb-Compatible SvelteKit Blog Starter. [δ](Delta)',
|
description: 'A smart IoT plant-care system.',
|
||||||
feature: 'Svelte', // feature
|
feature: 'IoT', // feature
|
||||||
img: 'https://github.com/importantimport/urara/raw/main/urara/hello-world/urara.webp',
|
img: 'https://mattmor.in/projects/seedling/feature.jpg',
|
||||||
link: 'https://github.com/importantimport/urara'
|
link: 'https://mattmor.in/projects/seedling'
|
||||||
}
|
},
|
||||||
|
{}
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import type { LayoutLoad } from './$types'
|
import type { LayoutLoad } from './$types'
|
||||||
export const prerender = true
|
export const prerender = false
|
||||||
export const trailingSlash = 'always'
|
export const trailingSlash = 'always'
|
||||||
export const load: LayoutLoad = async ({ url, fetch }) => ({
|
export const load: LayoutLoad = async ({ url, fetch }) => ({
|
||||||
path: url.pathname,
|
path: url.pathname,
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
<script lang="ts">
|
||||||
|
import { projects as allProjects } from '$lib/config/projects'
|
||||||
|
import Head from '$lib/components/main/head.svelte'
|
||||||
|
import ProjectComponent from '$lib/components/extra/projects.svelte'
|
||||||
|
|
||||||
|
let items: { id: string }[] = [...(allProjects as { id: string }[]), { id: 'footer' }]
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<Head />
|
||||||
|
|
||||||
|
{#each items as item}
|
||||||
|
<ProjectComponent {item} />
|
||||||
|
{/each}
|
Loading…
Reference in New Issue