mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
31 lines
633 B
TypeScript
31 lines
633 B
TypeScript
export const URLS = {
|
|
BASE: '/',
|
|
BORIS: '/boris',
|
|
AUTH: {
|
|
LOGIN: '/auth/login',
|
|
},
|
|
EXAMPLES: {
|
|
EDITOR: '/examples/edit',
|
|
IMAGE: '/examples/image',
|
|
},
|
|
ERRORS: {
|
|
NOT_FOUND: '/lost',
|
|
BACKEND_DOWN: '/oopsie',
|
|
},
|
|
NODE_URL: (id: number | string) => `/post${id}`,
|
|
PROFILE: (username: string) => `/~${username}`,
|
|
PROFILE_PAGE: (username: string) => `/profile/${username}`,
|
|
};
|
|
|
|
export const PRESETS = {
|
|
'1600': '1600',
|
|
'900': '900',
|
|
'600': '600',
|
|
'300': '300',
|
|
'100': '100',
|
|
placeholder: 'placeholder',
|
|
cover: 'cover',
|
|
hero: 'hero',
|
|
small_hero: 'small_hero',
|
|
avatar: 'avatar',
|
|
};
|