This is the template project that's checked out and configured when you run the bando-up command from ljsthw-bandolier. This is where the code really lives.
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.
 
 
 
 
bandolier-template/commands/templates/client/routes.js

32 lines
1.1 KiB

/*
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,
}