removed the need for # in the url, redirect # url to a normal /, there's now a 'page not found' page if the link is broken, profile page added with user being able to see his own blocked content #98

Merged
freakoverse merged 15 commits from staging into master 2024-10-24 12:07:46 +00:00
Showing only changes of commit 7393940027 - Show all commits

View File

@ -13,7 +13,7 @@ import { GamePage } from 'pages/game'
export const appRoutes = { export const appRoutes = {
index: '/', index: '/',
home: '/home', home: '/',
games: '/games', games: '/games',
game: '/game/:name', game: '/game/:name',
mods: '/mods', mods: '/mods',
@ -28,7 +28,7 @@ export const appRoutes = {
settingsRelays: '/settings-relays', settingsRelays: '/settings-relays',
settingsPreferences: '/settings-preferences', settingsPreferences: '/settings-preferences',
settingsAdmin: '/settings-admin', settingsAdmin: '/settings-admin',
profile: '/profile/:nprofile' profile: '/profile/:nprofile?'
} }
export const getGamePageRoute = (name: string) => export const getGamePageRoute = (name: string) =>