From d977f8a37384b4405b94dcaa3eae414e39ce33d7 Mon Sep 17 00:00:00 2001 From: Allan Lasser Date: Mon, 4 Mar 2024 18:30:25 -0500 Subject: [PATCH] Links to add-ons page --- src/routes/app/+layout.js | 2 +- src/routes/app/+page.svelte | 4 +++- src/routes/app/add-ons/+page.svelte | 5 +++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/routes/app/+layout.js b/src/routes/app/+layout.js index 75c1c01d4..b5360db2d 100644 --- a/src/routes/app/+layout.js +++ b/src/routes/app/+layout.js @@ -1,5 +1,5 @@ import { search } from "$lib/api/documents.js"; -import { getPinnedAddons } from "@/lib/api/addons.js"; +import { getPinnedAddons } from "@/lib/api/addons"; export async function load({ url, fetch }) { const query = url.searchParams.get("q") || ""; diff --git a/src/routes/app/+page.svelte b/src/routes/app/+page.svelte index ca30ddc9f..01ec3bfa5 100644 --- a/src/routes/app/+page.svelte +++ b/src/routes/app/+page.svelte @@ -158,7 +158,9 @@ Add-Ons - Explore + + Explore + {#await pinnedAddons} Loading… diff --git a/src/routes/app/add-ons/+page.svelte b/src/routes/app/add-ons/+page.svelte index e69de29bb..b7daf89b5 100644 --- a/src/routes/app/add-ons/+page.svelte +++ b/src/routes/app/add-ons/+page.svelte @@ -0,0 +1,5 @@ + + +