diff options
Diffstat (limited to 'src/utils/constants.ts')
| -rw-r--r-- | src/utils/constants.ts | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/utils/constants.ts b/src/utils/constants.ts new file mode 100644 index 0000000..e642af9 --- /dev/null +++ b/src/utils/constants.ts @@ -0,0 +1,32 @@ +export const PERSONAL_LINKS = { + GITHUB: 'https://github.com/ArmandPhilippot', + GITLAB: 'https://gitlab.com/ArmandPhilippot', + LINKEDIN: 'https://www.linkedin.com/in/armandphilippot', + SHAARLI: 'https://shaarli.armandphilippot.com/', +} as const; + +/** + * App routes. + * + * All static routes should be configured here to avoid 404 if a route changes. + */ +export const ROUTES = { + ARTICLE: '/article', + BLOG: '/blog', + CONTACT: '/contact', + CV: '/cv', + LEGAL_NOTICE: '/mentions-legales', + NOT_FOUND: '/404', + PROJECTS: '/projets', + RSS: '/feed', + SEARCH: '/recherche', + THEMATICS: { + INDEX: '/thematique', + FREE: '/thematique/libre', + LINUX: '/thematique/linux', + WEB_DEV: '/thematique/developpement-web', + }, + TOPICS: '/sujet', +} as const; + +// cSpell:ignore legales thematique developpement |
