Files
yourpart3/frontend/src/router/marketingRoutes.js
Torsten Schulz (local) c5b8860605
All checks were successful
Deploy to production / deploy (push) Successful in 2m46s
feat(seo): enhance multilingual support and SEO handling
- Added support for multiple languages in the frontend, including English, Spanish, and Cebuano, improving accessibility for a broader audience.
- Implemented hreflang links for better SEO performance, ensuring search engines can correctly index language-specific content.
- Updated SEO metadata handling to utilize internationalization keys, enhancing the clarity and relevance of page titles and descriptions.
- Refactored SEO utility functions to streamline the management of OpenGraph and hreflang attributes, improving maintainability and performance.
2026-04-07 15:43:16 +02:00

42 lines
931 B
JavaScript

const FalukantLandingView = () => import('../views/public/FalukantLandingView.vue');
const MinigamesLandingView = () => import('../views/public/MinigamesLandingView.vue');
const VocabLandingView = () => import('../views/public/VocabLandingView.vue');
const marketingRoutes = [
{
path: '/falukant',
name: 'FalukantLanding',
component: FalukantLandingView,
meta: {
seo: {
i18nKey: 'falukant',
canonicalPath: '/falukant',
},
},
},
{
path: '/minigames',
name: 'MinigamesLanding',
component: MinigamesLandingView,
meta: {
seo: {
i18nKey: 'minigames',
canonicalPath: '/minigames',
},
},
},
{
path: '/vokabeltrainer',
name: 'VocabLanding',
component: VocabLandingView,
meta: {
seo: {
i18nKey: 'vocab',
canonicalPath: '/vokabeltrainer',
},
},
},
];
export default marketingRoutes;