Remove features de-planned for beta
This commit is contained in:
@@ -1,15 +1,7 @@
|
||||
import { useAuthStore } from '@/stores/authStore.js';
|
||||
import CTA01 from '@/views/CTA01.vue';
|
||||
import PaymentFailed from '@/views/PaymentFailed.vue';
|
||||
import CreatorList from '@/views/browser/CreatorList.vue';
|
||||
import ContentEditorPage from '@/views/contents/ContentEditorPage.vue';
|
||||
import ContentPage from '@/views/contents/ContentPage.vue';
|
||||
import PostContent from '@/views/contents/PostContent.vue';
|
||||
import CreatorContent from '@/views/creators/CreatorContent.vue';
|
||||
import CreatorHome from '@/views/creators/CreatorHome.vue';
|
||||
import CreatorLayout from '@/views/creators/CreatorLayout.vue';
|
||||
import ExclusiveContentCard from '@/views/creators/ExclusiveContentCard.vue';
|
||||
import SubscriptionMenu from '@/views/creators/SubscriptionMenu.vue';
|
||||
import About from '@/views/documentation/About.vue';
|
||||
import ContentPolicy from '@/views/documentation/ContentPolicy.vue';
|
||||
import CreatorGuide from '@/views/documentation/CreatorGuide.vue';
|
||||
@@ -23,37 +15,19 @@ import ProfilePage from '@/views/profile/ProfilePage.vue';
|
||||
import { createRouter, createWebHistory } from 'vue-router';
|
||||
import LoginView from '../views/LoginView.vue';
|
||||
import PaymentCompleted from '../views/PaymentCompleted.vue';
|
||||
import Home from '../views/main/Home.vue';
|
||||
import Wallet from '../views/main/Wallet.vue';
|
||||
import Landing from '../views/main/Landing.vue';
|
||||
import CreateCreator from "@/views/creators/CreateCreator.vue";
|
||||
|
||||
const routes = [
|
||||
{
|
||||
path: '/cta01',
|
||||
component: CTA01,
|
||||
},
|
||||
{
|
||||
path: '/landing',
|
||||
name: 'landing',
|
||||
component: Home,
|
||||
component: Landing,
|
||||
},
|
||||
{
|
||||
path: '/',
|
||||
redirect: { name: 'landing' },
|
||||
},
|
||||
{
|
||||
path: '/browse',
|
||||
component: CreatorList,
|
||||
redirect: { name: 'landing' }, // TODO remove this line when the page is ready
|
||||
},
|
||||
{
|
||||
path: '/content/editor',
|
||||
component: ContentEditorPage,
|
||||
},
|
||||
{
|
||||
path: '/content/:contentId',
|
||||
component: ContentPage,
|
||||
},
|
||||
{
|
||||
path: '/@:creator',
|
||||
component: CreatorLayout,
|
||||
@@ -62,20 +36,7 @@ const routes = [
|
||||
{
|
||||
path: '',
|
||||
component: CreatorHome,
|
||||
},
|
||||
{
|
||||
path: 'content',
|
||||
component: CreatorContent,
|
||||
},
|
||||
{
|
||||
path: 'subscription',
|
||||
component: SubscriptionMenu,
|
||||
redirect: { name: 'creator' }, // TODO remove this line when the page is ready
|
||||
},
|
||||
{
|
||||
path: 'exclusivecontentcard',
|
||||
component: ExclusiveContentCard,
|
||||
},
|
||||
}
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -124,11 +85,6 @@ const routes = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/content/post',
|
||||
component: PostContent,
|
||||
redirect: { name: 'landing' }, // TODO remove this line when the page is ready
|
||||
},
|
||||
{
|
||||
path: '/login',
|
||||
name: 'login',
|
||||
@@ -145,12 +101,6 @@ const routes = [
|
||||
name: 'PaymentFailed',
|
||||
component: PaymentFailed,
|
||||
},
|
||||
{
|
||||
path: '/wallet',
|
||||
name: 'wallet',
|
||||
component: Wallet,
|
||||
meta: { requiresAuth: true },
|
||||
},
|
||||
{
|
||||
path: '/profile',
|
||||
name: 'profile',
|
||||
|
||||
Reference in New Issue
Block a user