Ajout des pages informatives ainsi que les liens
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
import ProjectRoadmap from '@/views/main/ProjectRoadmap.vue'
|
||||
import AmbassadorProgram from '@/views/tos/AmbassadorProgram.vue'
|
||||
import AntiExploitation from '@/views/tos/AntiExploitation.vue'
|
||||
import ConditionsOfUse from '@/views/tos/ConditionsOfUse.vue'
|
||||
import ContentPolicy from '@/views/tos/ContentPolicy.vue'
|
||||
import HelpAndContact from '@/views/tos/HelpAndContact.vue'
|
||||
import TermsAndConditions from '@/views/tos/TermsAndConditions.vue'
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import LoginView from '../views/LoginView.vue'
|
||||
import SignupView from '../views/SignupView.vue'
|
||||
@@ -50,6 +56,36 @@ const router = createRouter({
|
||||
name: 'home',
|
||||
component: HomeView
|
||||
},
|
||||
{
|
||||
path: '/helpandcontact',
|
||||
name: 'helpandcontact',
|
||||
component: HelpAndContact
|
||||
},
|
||||
{
|
||||
path: '/termsandconditions',
|
||||
name: 'termsandconditions',
|
||||
component: TermsAndConditions
|
||||
},
|
||||
{
|
||||
path: '/contentpolicy',
|
||||
name: 'contentpolicy',
|
||||
component: ContentPolicy
|
||||
},
|
||||
{
|
||||
path: '/ambassadorprogram',
|
||||
name: 'ambassadorprogram',
|
||||
component: AmbassadorProgram
|
||||
},
|
||||
{
|
||||
path: '/conditionofuse',
|
||||
name: 'conditionofuse',
|
||||
component: ConditionsOfUse
|
||||
},
|
||||
{
|
||||
path: '/antiexploitation',
|
||||
name: 'antiexploitation',
|
||||
component: AntiExploitation
|
||||
},
|
||||
],
|
||||
scrollBehavior(to, from, savedPosition) {
|
||||
return { top: 0 };
|
||||
|
||||
Reference in New Issue
Block a user