Add WIP for content and creators

This commit is contained in:
Jonathan Bourdon
2024-07-02 04:30:46 -04:00
parent cb02cce5b4
commit 473cc072c8
6 changed files with 191 additions and 95 deletions

View File

@@ -1,5 +1,4 @@
import {createRouter, createWebHistory} from 'vue-router'
import ARPS from '@/views/manualusers/ARPS.vue'
import GuillaumeAime from '@/views/manualusers/GuillaumeAime.vue'
import About from '@/views/documentation/About.vue'
import ContentPolicy from '@/views/documentation/ContentPolicy.vue'
@@ -19,8 +18,8 @@ import ChloeBeaugrand from '../views/manualusers/ChloeProfile.vue'
import Leffet from '../views/manualusers/LeffetProfile.vue'
import MathieuCaron from '../views/manualusers/MathieuCaron.vue'
import CreatorList from '../views/creators/CreatorList.vue'
import Creator from "@/views/creators/Creator.vue";
import Content from "@/views/contents/Content.vue";
import CreatorPage from "@/views/creators/CreatorPage.vue";
import ContentPage from "@/views/contents/ContentPage.vue";
import PostContent from "@/views/contents/PostContent.vue";
const routes = [
@@ -35,11 +34,11 @@ const routes = [
},
{
path: '/content/:contentId',
component: Content
component: ContentPage
},
{
path: '/@:creator',
component: Creator
component: CreatorPage
},
{
path: '/creators/@:creator',
@@ -66,11 +65,7 @@ const routes = [
path: '/@mathieucaron',
component: MathieuCaron
},
{
path: '/@arps',
component: ARPS
},
{
path: '/helpandcontact',
component: HelpAndContact,