mirror of https://github.com/hykilpikonna/AquaDX
[+] Home page
parent
73ab9efdb4
commit
0b8384fc3b
|
@ -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>
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
<main>
|
||||
TODO
|
||||
</main>
|
|
@ -91,7 +91,8 @@
|
|||
}
|
||||
})
|
||||
|
||||
// TODO: Redirect to portal page
|
||||
// Redirect to portal page /home
|
||||
window.location.href = "/home"
|
||||
}
|
||||
|
||||
submitting = false
|
||||
|
|
Loading…
Reference in New Issue