Event overview panel

This commit is contained in:
Roman Krček
2025-06-25 14:16:45 +02:00
parent 52c3b9c871
commit 906f0376d2
6 changed files with 145 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
export async function load({ locals }) {
const { data: events, error } = await locals.supabase
.from('events')
.select('*')
.order('date', { ascending: false });
console.log('events', events);
return { events };
}