web/about: about page routing & navigation
This commit is contained in:
@@ -10,6 +10,17 @@ const defaultSettingsPage = () => {
|
||||
return "/settings/appearance";
|
||||
}
|
||||
|
||||
const defaultAboutPage = () => {
|
||||
if (browser) {
|
||||
if (window.innerWidth <= 750) {
|
||||
return "/about";
|
||||
}
|
||||
}
|
||||
|
||||
return "/about/general";
|
||||
}
|
||||
|
||||
export {
|
||||
defaultSettingsPage,
|
||||
defaultAboutPage
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user