This is the code that runs https://bandolier.learnjsthehardway.com/ for you to review. It uses the https://git.learnjsthehardway.com/learn-javascript-the-hard-way/bandolier-template to create the documentation for the project.
https://bandolier.learnjsthehardway.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.1 KiB
33 lines
1.1 KiB
2 years ago
|
/*
|
||
|
The routes for the [svelte-spa-router](https://github.com/ItalyPaleAle/svelte-spa-router)
|
||
|
used for multiple "pages". It's easy to use. Just import the `.svelte` file directly
|
||
|
then place it in the default export listing.
|
||
|
*/
|
||
|
import Register from "./pages/Register.svelte";
|
||
|
import Payment from "./pages/Payment.svelte";
|
||
|
import Login from "./pages/Login.svelte";
|
||
|
import UserProfile from "./pages/UserProfile.svelte";
|
||
|
import ResetPassword from "./pages/ResetPassword.svelte";
|
||
|
import Unsubscribe from "./pages/Unsubscribe.svelte";
|
||
|
import Home from "./pages/Home.svelte";
|
||
|
import NotFound from "./pages/NotFound.svelte";
|
||
|
import TOS from "./pages/TOS.svelte";
|
||
|
import Discord from "./pages/Discord.svelte";
|
||
|
import Live from "./pages/Live.svelte";
|
||
|
import LiveIndex from "./pages/LiveIndex.svelte";
|
||
|
|
||
|
export default {
|
||
|
"/register/": Register,
|
||
|
"/payment/:status?": Payment,
|
||
|
"/login/": Login,
|
||
|
"/forgot/": ResetPassword,
|
||
|
"/profile/": UserProfile,
|
||
|
"/tos/": TOS,
|
||
|
"/discord/": Discord,
|
||
|
"/live/:livestream_id/": Live,
|
||
|
"/live/": LiveIndex,
|
||
|
"/email/unsubscribe/:unsubkey/": Unsubscribe,
|
||
|
"/": Home,
|
||
|
"*": NotFound,
|
||
|
}
|