From 5ac4b61deadd56b44b420caa8d7beb2d61ae52a0 Mon Sep 17 00:00:00 2001 From: ironkayman Date: Sun, 17 Mar 2024 09:37:56 +0400 Subject: [PATCH] Profile static routes reservation --- src/routes/(profile)/[[tab]]/+page.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/routes/(profile)/[[tab]]/+page.js b/src/routes/(profile)/[[tab]]/+page.js index 974e3ef..7bf1701 100644 --- a/src/routes/(profile)/[[tab]]/+page.js +++ b/src/routes/(profile)/[[tab]]/+page.js @@ -8,4 +8,14 @@ export const load = ({ params }) => { } } + /** @type {import('./$types').EntryGenerator} */ + export function entries() { + return [ + { tab: 'links' }, + { tab: 'about' }, + { tab: 'projects' }, + { tab: 'gateway' }, + ]; +} + export const prerender = true;