forked from Cookies_Github_mirror/AquaDX
[+] Home page
This commit is contained in:
@@ -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>
|
||||
|
||||
3
AquaNet/src/pages/Home.svelte
Normal file
3
AquaNet/src/pages/Home.svelte
Normal file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user