[+] Home page

pull/14/head
Azalea 2024-02-21 00:42:04 -05:00
parent 73ab9efdb4
commit 0b8384fc3b
3 changed files with 7 additions and 1 deletions

View File

@ -4,6 +4,7 @@
import MaimaiRating from "./pages/MaimaiRating.svelte";
import UserHome from "./pages/UserHome.svelte";
import Icon from '@iconify/svelte';
import Home from "./pages/Home.svelte";
export let url = "";
</script>
@ -17,6 +18,7 @@
<Router {url}>
<Route path="/" component={Welcome} />
<Route path="/home" component={Home} />
<Route path="/u/:userId" component={UserHome} />
<Route path="/u/:userId/mai/rating" component={MaimaiRating} />
</Router>

View File

@ -0,0 +1,3 @@
<main>
TODO
</main>

View File

@ -91,7 +91,8 @@
}
})
// TODO: Redirect to portal page
// Redirect to portal page /home
window.location.href = "/home"
}
submitting = false