1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00
vault-frontend/src/constants/urls.ts
2019-12-03 17:18:18 +07:00

31 lines
599 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: `/profile`,
};
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',
};