create landing page for boursemes

This commit is contained in:
2026-08-01 10:11:28 +03:30
commit 4cc5ca6b5c
150 changed files with 18714 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
import {createRouter, createWebHistory} from 'vue-router'
import { getLoginAppUrl, getLoginInstallPwaUrl } from '@/utils/config'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'landing',
component: () => import('@/views/base/aboutUs/index.vue')
},
{
path: '/aboutUs',
name: 'aboutUs',
redirect: { name: 'landing' },
},
{
path: '/login',
name: 'login',
beforeEnter(to) {
window.location.href =
to.query.installPwa === 'true' ? getLoginInstallPwaUrl() : getLoginAppUrl()
return false
},
component: { render: () => null },
},
]
})
export default router