Skip to content

Commit

Permalink
WIP: entries slug routing
Browse files Browse the repository at this point in the history
  • Loading branch information
ironkayman committed Jan 24, 2024
1 parent 1d30bea commit 7e95cc1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 69 deletions.
10 changes: 10 additions & 0 deletions src/routes/(mawanet)/mawanet/[[entry]]/+page.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,13 @@ export async function load({ params }) {
error: entryProperties.error,
};
}

/** @type {import('./$types').EntryGenerator} */
export function entries() {
return [
{ entry: 'maelstrom_encyclopedia' },
{ entry: 'conceptual_configuration' }
];
}

export const prerender = true;
10 changes: 0 additions & 10 deletions src/routes/(mawanet)/mawanet/maelstrom_encyclopedia/+page.js

This file was deleted.

59 changes: 0 additions & 59 deletions src/routes/(mawanet)/mawanet/maelstrom_encyclopedia/+page.svelte

This file was deleted.

0 comments on commit 7e95cc1

Please sign in to comment.