diff --git a/src/contentScripts/views/Home/Home.vue b/src/contentScripts/views/Home/Home.vue index 95ac92a1..521d101b 100644 --- a/src/contentScripts/views/Home/Home.vue +++ b/src/contentScripts/views/Home/Home.vue @@ -4,6 +4,7 @@ import ForYou from './components/ForYou.vue' import Following from './components/Following.vue' import Trending from './components/Trending.vue' import Ranking from './components/Ranking.vue' +import Pgc from './components/Pgc.vue' import type { HomeTab } from './types' import { HomeSubPage } from './types' import emitter from '~/utils/mitt' @@ -15,7 +16,7 @@ const handleBackToTop = inject('handleBackToTop') as (targetScrollTop: number) = const recommendContentKey = ref(`recommendContent${Number(new Date())}`) const activatedPage = ref(HomeSubPage.ForYou) -const pages = { ForYou, Following, Trending, Ranking } +const pages = { ForYou, Following, Pgc, Trending, Ranking } const showSearchPageMode = ref(false) const shouldMoveTabsUp = ref(false) @@ -29,6 +30,10 @@ const tabs = computed((): HomeTab[] => { label: t('home.following'), value: HomeSubPage.Following, }, + { + label: 'Following Anime, Shows & Movies', + value: HomeSubPage.Pgc, + }, { label: t('home.trending'), value: HomeSubPage.Trending, diff --git a/src/contentScripts/views/Home/components/Pgc.vue b/src/contentScripts/views/Home/components/Pgc.vue new file mode 100644 index 00000000..19e304b4 --- /dev/null +++ b/src/contentScripts/views/Home/components/Pgc.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/src/contentScripts/views/Home/types.ts b/src/contentScripts/views/Home/types.ts index 6f014bc9..536f37d5 100644 --- a/src/contentScripts/views/Home/types.ts +++ b/src/contentScripts/views/Home/types.ts @@ -6,6 +6,7 @@ export interface HomeTab { export enum HomeSubPage { ForYou = 'ForYou', Following = 'Following', + Pgc = 'Pgc', Trending = 'Trending', Ranking = 'Ranking', }