Add content creation

This commit is contained in:
Jonathan Bourdon
2024-07-01 23:32:53 -04:00
parent 308e96c26b
commit d2d9366700
19 changed files with 530 additions and 360 deletions

View File

@@ -13,14 +13,15 @@ import PaymentCompleted from '../views/PayementCompleted.vue'
import SignupView from '../views/SignupView.vue'
import Join from '../views/main/Join.vue'
import Home from '../views/main/Home.vue'
import Browse from '../views/main/Browse.vue'
import Wallet from '../views/main/Wallet.vue'
import Profile from '../views/main/Profile.vue'
import ChloeBeaugrand from '../views/manualusers/ChloeProfile.vue'
import Leffet from '../views/manualusers/LeffetProfile.vue'
import MathieuCaron from '../views/manualusers/MathieuCaron.vue'
import Creator from "@/views/main/Creator.vue"
import Feed from '../views/main/Feed.vue';
import CreatorList from '../views/creators/CreatorList.vue'
import Creator from "@/views/creators/Creator.vue";
import Content from "@/views/contents/Content.vue";
import PostContent from "@/views/contents/PostContent.vue";
const routes = [
{
@@ -30,9 +31,25 @@ const routes = [
},
{
path: '/browse',
component: Browse
component: CreatorList
},
{
path: '/content/:contentId',
component: Content
},
{
path: '/@:creator',
component: Creator
},
{
path: '/creators/@:creator',
component: Profile
},
{
path: '/content/post',
component: PostContent,
},
{
path: '/@leffet',
component: Leffet
@@ -53,11 +70,6 @@ const routes = [
path: '/@arps',
component: ARPS
},
{
path: '/@:creator',
component: Creator
},
{
path: '/helpandcontact',
@@ -131,15 +143,7 @@ const routes = [
path: '/wallet',
name: 'wallet',
component: Wallet
},
{
path: '/feed',
name: 'feed',
component: Feed
},
}
]
const router = createRouter({