feat: small screen (#8)

This commit is contained in:
Cody Tseng 2024-12-02 23:43:08 +08:00 committed by GitHub
parent 11d035f719
commit 8e0b91888f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 372 additions and 127 deletions

View file

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