MainPage dynamique (profile)

This commit is contained in:
PascalMarchesseault
2024-06-08 12:01:36 -04:00
parent 6e3d467acb
commit e1e5dd04a5
3 changed files with 94 additions and 46 deletions

View File

@@ -8,7 +8,7 @@ import HelpAndContact from '@/views/tos/HelpAndContact.vue'
import TermsAndConditions from '@/views/tos/TermsAndConditions.vue'
import Transactions from '@/views/tos/Transactions.vue'
import { createRouter, createWebHistory } from 'vue-router'
import UserProfile from '../layouts/UserProfile.vue'
import MainPage from '../layouts/MainPage.vue'
import LoginView from '../views/LoginView.vue'
import PaymentCompleted from '../views/PayementCompleted.vue'
import SignupView from '../views/SignupView.vue'
@@ -136,7 +136,7 @@ const routes = [
{
path: '/:username',
name: 'user-profile',
component: UserProfile
component: MainPage
},
{
@@ -152,6 +152,7 @@ const router = createRouter({
scrollBehavior(to, from, savedPosition) {
return { top: 0 };
}
})
export default router