Update startup.sh, +page.server.ts, FeaturedAdventureCard.svelte, and Navbar.svelte

This commit is contained in:
Sean Morley
2024-04-02 18:04:27 +00:00
parent f86151ee5e
commit 4b2306f812
7 changed files with 143 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ import type { Adventure } from '$lib/utils/types';
export const load = (async () => {
const result = await db.select().from(featuredAdventures)
const result = await db.select().from(featuredAdventures).orderBy(featuredAdventures.id);
return {
result : result as Adventure[]
};