21 lines
683 B
TypeScript
21 lines
683 B
TypeScript
import {Router} from 'lib/routes/router'
|
|
|
|
export const router = new Router({
|
|
Home: '/',
|
|
Search: '/search',
|
|
Notifications: '/notifications',
|
|
Settings: '/settings',
|
|
Profile: '/profile/:name',
|
|
ProfileFollowers: '/profile/:name/followers',
|
|
ProfileFollows: '/profile/:name/follows',
|
|
PostThread: '/profile/:name/post/:rkey',
|
|
PostLikedBy: '/profile/:name/post/:rkey/liked-by',
|
|
PostRepostedBy: '/profile/:name/post/:rkey/reposted-by',
|
|
Debug: '/sys/debug',
|
|
Log: '/sys/log',
|
|
Support: '/support',
|
|
PrivacyPolicy: '/support/privacy',
|
|
TermsOfService: '/support/tos',
|
|
CommunityGuidelines: '/support/community-guidelines',
|
|
CopyrightPolicy: '/support/copyright',
|
|
})
|