feat: notifications

This commit is contained in:
codytseng 2024-12-12 16:58:37 +08:00
parent 57aa3be645
commit 94b9272042
17 changed files with 447 additions and 30 deletions

View file

@ -4,6 +4,7 @@ import FollowingListPage from './pages/secondary/FollowingListPage'
import HomePage from './pages/secondary/HomePage'
import NoteListPage from './pages/secondary/NoteListPage'
import NotePage from './pages/secondary/NotePage'
import NotificationListPage from './pages/secondary/NotificationListPage'
import ProfileListPage from './pages/secondary/ProfileListPage'
import ProfilePage from './pages/secondary/ProfilePage'
import RelaySettingsPage from './pages/secondary/RelaySettingsPage'
@ -15,7 +16,8 @@ const ROUTES = [
{ path: '/users', element: <ProfileListPage /> },
{ path: '/users/:id', element: <ProfilePage /> },
{ path: '/users/:id/following', element: <FollowingListPage /> },
{ path: '/relay-settings', element: <RelaySettingsPage /> }
{ path: '/relay-settings', element: <RelaySettingsPage /> },
{ path: '/notifications', element: <NotificationListPage /> }
]
export const routes = ROUTES.map(({ path, element }) => ({