diff --git a/src/routes/(private)/dashboard/+page.server.ts b/src/routes/(private)/dashboard/+page.server.ts index 0881df4..0097faa 100644 --- a/src/routes/(private)/dashboard/+page.server.ts +++ b/src/routes/(private)/dashboard/+page.server.ts @@ -1,6 +1,5 @@ import { error, fail, redirect } from '@sveltejs/kit'; import type { PageServerLoad } from './$types'; -import { invalidate } from '$app/navigation'; export const load: PageServerLoad = async ({ locals }) => { const { supabase } = locals; @@ -34,7 +33,7 @@ export const load: PageServerLoad = async ({ locals }) => { // console.log(projectData); - return { projects: projectData }; + return { projects: projectData.reverse() }; }; export const actions = { diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 91f5f58..3e00f1c 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -27,6 +27,16 @@ ]; +
+
+ +
+ +