Tos et footer
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
import ProjectRoadmap from '@/views/main/ProjectRoadmap.vue'
|
||||
import About from '@/views/tos/About.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 FAQ from '@/views/tos/FAQ.vue'
|
||||
import GuideForCreators from '@/views/tos/GuideForCreators.vue'
|
||||
import HelpAndContact from '@/views/tos/HelpAndContact.vue'
|
||||
import TermsAndConditions from '@/views/tos/TermsAndConditions.vue'
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
@@ -13,6 +16,7 @@ import CreatorFolio from '../views/main/CreatorFolio.vue'
|
||||
import HomeView from '../views/main/HomeView.vue'
|
||||
import YourProfile from '../views/main/YourProfile.vue'
|
||||
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(import.meta.env.BASE_URL),
|
||||
routes: [
|
||||
@@ -86,6 +90,24 @@ const router = createRouter({
|
||||
name: 'antiexploitation',
|
||||
component: AntiExploitation
|
||||
},
|
||||
|
||||
{
|
||||
path: '/faq',
|
||||
name: 'FAQ',
|
||||
component: FAQ
|
||||
},
|
||||
|
||||
{
|
||||
path: '/guideforcreators',
|
||||
name: 'guideforcreators',
|
||||
component: GuideForCreators
|
||||
},
|
||||
|
||||
{
|
||||
path: '/about',
|
||||
name: 'about',
|
||||
component: About
|
||||
},
|
||||
],
|
||||
scrollBehavior(to, from, savedPosition) {
|
||||
return { top: 0 };
|
||||
|
||||
Reference in New Issue
Block a user