mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-05-14 10:05:42 +00:00
Feat: Discover page (#108)
* Add discover page components with category showcase * Add section page component for browsing discover categories * Add icons for discover page categories (spotlights, theater, compass, calendar, star) * Add discover icon (compass navigation) for main navigation * Update navigation to use IconDiscover for discover route * Add discover and section page routes with interfaces * Update home page and components to integrate with discover navigation * Remove deprecated ListPage component
This commit is contained in:
277
src/components/DiscoverMinimal.vue
Normal file
277
src/components/DiscoverMinimal.vue
Normal file
@@ -0,0 +1,277 @@
|
||||
<template>
|
||||
<section class="discover-minimal">
|
||||
<div class="discover-minimal-header">
|
||||
<div class="header-content">
|
||||
<h2 class="discover-title">Explore Collections</h2>
|
||||
<p class="discover-description">
|
||||
Curated selections organized by genre, mood, and decade
|
||||
</p>
|
||||
</div>
|
||||
<router-link to="/discover" class="view-all-link">
|
||||
<span class="desktop-only">View All Categories →</span>
|
||||
<span class="mobile-only">View All →</span>
|
||||
</router-link>
|
||||
</div>
|
||||
|
||||
<DiscoverShowcase @select="navigateToDiscover" />
|
||||
|
||||
<div class="featured-collections-wrapper">
|
||||
<div class="featured-collections-header">
|
||||
<div class="header-decorator"></div>
|
||||
<h3 class="featured-title">Featured Picks</h3>
|
||||
<div class="header-decorator"></div>
|
||||
</div>
|
||||
<div class="featured-collections">
|
||||
<ResultsSection
|
||||
v-for="list in featuredLists"
|
||||
:key="list.id"
|
||||
:api-function="list.apiFunction"
|
||||
:title="list.title"
|
||||
:short-list="true"
|
||||
section-type="discover"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useRouter } from "vue-router";
|
||||
import ResultsSection from "@/components/ResultsSection.vue";
|
||||
import DiscoverShowcase from "@/components/DiscoverShowcase.vue";
|
||||
import { getTmdbMovieDiscoverByName } from "../api";
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
const featuredLists = [
|
||||
{
|
||||
id: "feel_good",
|
||||
title: "Feel Good",
|
||||
apiFunction: () => getTmdbMovieDiscoverByName("feel_good")
|
||||
},
|
||||
{
|
||||
id: "2000s_classics",
|
||||
title: "2000s Classics",
|
||||
apiFunction: () => getTmdbMovieDiscoverByName("2000s_classics")
|
||||
},
|
||||
{
|
||||
id: "horror_hits",
|
||||
title: "Horror Hits",
|
||||
apiFunction: () => getTmdbMovieDiscoverByName("horror_hits")
|
||||
}
|
||||
];
|
||||
|
||||
function navigateToDiscover(categoryId?: string) {
|
||||
router.push(`/discover${categoryId ? `?category=${categoryId}` : ""}`);
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "scss/variables";
|
||||
@import "scss/media-queries";
|
||||
|
||||
.discover-minimal {
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
rgba(255, 255, 255, 0.01) 0%,
|
||||
rgba(255, 255, 255, 0.03) 50%,
|
||||
rgba(255, 255, 255, 0.01) 100%
|
||||
);
|
||||
padding: 3rem 0;
|
||||
position: relative;
|
||||
margin: 2rem 0;
|
||||
width: 100%;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 90%;
|
||||
height: 1px;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
transparent 0%,
|
||||
rgba(255, 255, 255, 0.2) 50%,
|
||||
transparent 100%
|
||||
);
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 90%;
|
||||
height: 1px;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
transparent 0%,
|
||||
rgba(255, 255, 255, 0.15) 50%,
|
||||
transparent 100%
|
||||
);
|
||||
}
|
||||
|
||||
@include mobile {
|
||||
padding: 1rem 0 0.5rem;
|
||||
margin: 0;
|
||||
background: transparent;
|
||||
|
||||
&::before,
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.discover-minimal-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0 1.5rem 2rem;
|
||||
gap: 1rem;
|
||||
|
||||
@include mobile {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 0 1rem 0.6rem;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.header-content {
|
||||
flex: 1;
|
||||
|
||||
@include mobile {
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.discover-title {
|
||||
margin: 0 0 0.5rem;
|
||||
font-size: 2rem;
|
||||
font-weight: 600;
|
||||
color: var(--text-color);
|
||||
letter-spacing: -0.5px;
|
||||
|
||||
@include mobile {
|
||||
font-size: 1.75rem;
|
||||
margin: 0 0 0.15rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
|
||||
.discover-description {
|
||||
margin: 0;
|
||||
font-size: 0.95rem;
|
||||
color: $text-color-70;
|
||||
font-weight: 300;
|
||||
|
||||
@include mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.view-all-link {
|
||||
padding: 0.75rem 1.5rem;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 25px;
|
||||
color: $text-color-70;
|
||||
font-size: 0.9rem;
|
||||
font-weight: 400;
|
||||
text-decoration: none;
|
||||
transition: all 0.3s ease;
|
||||
white-space: nowrap;
|
||||
|
||||
@include mobile {
|
||||
padding: 0.45rem 0.85rem;
|
||||
font-size: 0.75rem;
|
||||
border-radius: 20px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
border-color: rgba(255, 255, 255, 0.2);
|
||||
color: var(--text-color);
|
||||
transform: translateX(2px);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.featured-collections-wrapper {
|
||||
padding-top: 2rem;
|
||||
position: relative;
|
||||
|
||||
@include mobile {
|
||||
margin-top: 0;
|
||||
padding-top: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.featured-collections-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.5rem;
|
||||
padding: 0 1.5rem 1.5rem;
|
||||
max-width: 1400px;
|
||||
margin: 0 auto;
|
||||
|
||||
@include mobile {
|
||||
padding: 0 1rem 0.4rem;
|
||||
gap: 0.4rem;
|
||||
}
|
||||
|
||||
.header-decorator {
|
||||
flex: 1;
|
||||
height: 1px;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
transparent 0%,
|
||||
rgba(255, 255, 255, 0.3) 50%,
|
||||
rgba(255, 255, 255, 0.3) 100%
|
||||
);
|
||||
|
||||
&:last-child {
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
rgba(255, 255, 255, 0.3) 0%,
|
||||
rgba(255, 255, 255, 0.3) 50%,
|
||||
transparent 100%
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
.featured-title {
|
||||
margin: 0;
|
||||
font-size: 1.4rem;
|
||||
font-weight: 500;
|
||||
color: var(--text-color);
|
||||
letter-spacing: 0.5px;
|
||||
white-space: nowrap;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.9rem;
|
||||
color: $text-color-70;
|
||||
|
||||
@include mobile {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.featured-collections {
|
||||
background: rgba(0, 0, 0, 0.15);
|
||||
border-radius: 20px;
|
||||
max-width: calc(100% - 4rem);
|
||||
margin: 0 auto;
|
||||
|
||||
@include mobile {
|
||||
border-radius: 12px;
|
||||
padding: 0.25rem 0;
|
||||
max-width: calc(100% - 2rem);
|
||||
}
|
||||
}
|
||||
</style>
|
||||
360
src/components/DiscoverShowcase.vue
Normal file
360
src/components/DiscoverShowcase.vue
Normal file
@@ -0,0 +1,360 @@
|
||||
<template>
|
||||
<div class="category-showcase">
|
||||
<div class="categories-grid">
|
||||
<button
|
||||
v-for="category in categories"
|
||||
:key="category.id"
|
||||
class="category-card"
|
||||
:class="[
|
||||
`category-${category.id}`,
|
||||
{ active: activeCategory === category.id }
|
||||
]"
|
||||
@click="$emit('select', category.id)"
|
||||
>
|
||||
<component :is="category.icon" class="category-icon" />
|
||||
<div class="category-info">
|
||||
<h3 class="category-name">{{ category.label }}</h3>
|
||||
<p class="category-count">
|
||||
<span class="desktop-only">{{ category.count }} collections</span>
|
||||
<span class="mobile-only">{{ category.count }}</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="category-arrow">→</div>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useRouter } from "vue-router";
|
||||
import IconPopular from "@/icons/IconPopular.vue";
|
||||
import IconSpotlights from "@/icons/IconSpotlights.vue";
|
||||
import IconTheater from "@/icons/IconTheater.vue";
|
||||
import IconCalendar from "@/icons/IconCalendar.vue";
|
||||
import IconStar from "@/icons/IconStar.vue";
|
||||
|
||||
interface Props {
|
||||
activeCategory?: string;
|
||||
}
|
||||
|
||||
withDefaults(defineProps<Props>(), {
|
||||
activeCategory: ""
|
||||
});
|
||||
|
||||
defineEmits<{
|
||||
select: [categoryId: string];
|
||||
}>();
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
const categories = [
|
||||
{ id: "popular", label: "Popular", icon: IconPopular, count: 5 },
|
||||
{ id: "genres", label: "Genres", icon: IconSpotlights, count: 13 },
|
||||
{ id: "moods", label: "Moods & Themes", icon: IconTheater, count: 7 },
|
||||
{ id: "decades", label: "By Decade", icon: IconCalendar, count: 4 },
|
||||
{ id: "special", label: "Special Collections", icon: IconStar, count: 11 }
|
||||
];
|
||||
|
||||
function navigateToDiscover(categoryId?: string) {
|
||||
router.push(`/discover${categoryId ? `?category=${categoryId}` : ""}`);
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "scss/variables";
|
||||
@import "scss/media-queries";
|
||||
|
||||
.category-showcase {
|
||||
padding: 1.5rem;
|
||||
padding-top: 0;
|
||||
|
||||
@include mobile {
|
||||
padding: 0 1rem 0.6rem;
|
||||
}
|
||||
}
|
||||
|
||||
.categories-grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.75rem;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
justify-content: center;
|
||||
|
||||
@include mobile {
|
||||
gap: 0.45rem;
|
||||
}
|
||||
}
|
||||
|
||||
.category-card {
|
||||
display: inline-flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 0.9rem;
|
||||
padding: 1rem 1.5rem;
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 50px;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
@include mobile {
|
||||
padding: 0.45rem 0.7rem;
|
||||
gap: 0.4rem;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
&.category-popular {
|
||||
background: rgba(255, 80, 80, 0.15);
|
||||
border-color: rgba(255, 80, 80, 0.3);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(255, 120, 120, 0.9);
|
||||
}
|
||||
}
|
||||
|
||||
&.category-genres {
|
||||
background: rgba(80, 140, 255, 0.15);
|
||||
border-color: rgba(80, 140, 255, 0.3);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(120, 170, 255, 0.9);
|
||||
}
|
||||
}
|
||||
|
||||
&.category-moods {
|
||||
background: rgba(160, 80, 255, 0.15);
|
||||
border-color: rgba(160, 80, 255, 0.3);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(180, 120, 255, 0.9);
|
||||
}
|
||||
}
|
||||
|
||||
&.category-decades {
|
||||
background: rgba(80, 200, 200, 0.15);
|
||||
border-color: rgba(80, 200, 200, 0.3);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(100, 220, 220, 0.9);
|
||||
}
|
||||
}
|
||||
|
||||
&.category-special {
|
||||
background: rgba(255, 180, 80, 0.15);
|
||||
border-color: rgba(255, 180, 80, 0.3);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(255, 200, 120, 0.9);
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
transform: translateY(-3px) scale(1.03);
|
||||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
|
||||
|
||||
&::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.category-icon {
|
||||
transform: rotate(5deg) scale(1.15);
|
||||
}
|
||||
|
||||
.category-arrow {
|
||||
opacity: 1;
|
||||
transform: translateX(4px);
|
||||
}
|
||||
|
||||
&.category-popular {
|
||||
background: rgba(255, 80, 80, 0.3);
|
||||
border-color: rgba(255, 80, 80, 0.6);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(255, 160, 160, 1);
|
||||
}
|
||||
}
|
||||
|
||||
&.category-genres {
|
||||
background: rgba(80, 140, 255, 0.3);
|
||||
border-color: rgba(80, 140, 255, 0.6);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(160, 210, 255, 1);
|
||||
}
|
||||
}
|
||||
|
||||
&.category-moods {
|
||||
background: rgba(160, 80, 255, 0.3);
|
||||
border-color: rgba(160, 80, 255, 0.6);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(220, 160, 255, 1);
|
||||
}
|
||||
}
|
||||
|
||||
&.category-decades {
|
||||
background: rgba(80, 200, 200, 0.3);
|
||||
border-color: rgba(80, 200, 200, 0.6);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(140, 255, 255, 1);
|
||||
}
|
||||
}
|
||||
|
||||
&.category-special {
|
||||
background: rgba(255, 180, 80, 0.3);
|
||||
border-color: rgba(255, 180, 80, 0.6);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(255, 230, 160, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
rgba(255, 255, 255, 0.15) 0%,
|
||||
transparent 100%
|
||||
);
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-3px) scale(1.03);
|
||||
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
|
||||
|
||||
&.category-popular {
|
||||
background: rgba(255, 80, 80, 0.25);
|
||||
border-color: rgba(255, 80, 80, 0.5);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(255, 140, 140, 1);
|
||||
}
|
||||
}
|
||||
|
||||
&.category-genres {
|
||||
background: rgba(80, 140, 255, 0.25);
|
||||
border-color: rgba(80, 140, 255, 0.5);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(140, 190, 255, 1);
|
||||
}
|
||||
}
|
||||
|
||||
&.category-moods {
|
||||
background: rgba(160, 80, 255, 0.25);
|
||||
border-color: rgba(160, 80, 255, 0.5);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(200, 140, 255, 1);
|
||||
}
|
||||
}
|
||||
|
||||
&.category-decades {
|
||||
background: rgba(80, 200, 200, 0.25);
|
||||
border-color: rgba(80, 200, 200, 0.5);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(120, 240, 240, 1);
|
||||
}
|
||||
}
|
||||
|
||||
&.category-special {
|
||||
background: rgba(255, 180, 80, 0.25);
|
||||
border-color: rgba(255, 180, 80, 0.5);
|
||||
|
||||
.category-icon {
|
||||
fill: rgba(255, 220, 140, 1);
|
||||
}
|
||||
}
|
||||
|
||||
&::before {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.category-icon {
|
||||
transform: rotate(5deg) scale(1.15);
|
||||
}
|
||||
|
||||
.category-arrow {
|
||||
opacity: 1;
|
||||
transform: translateX(4px);
|
||||
}
|
||||
}
|
||||
|
||||
.category-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
fill: var(--text-color);
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
flex-shrink: 0;
|
||||
|
||||
@include mobile {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.category-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.6rem;
|
||||
line-height: 1;
|
||||
|
||||
@include mobile {
|
||||
gap: 0.4rem;
|
||||
}
|
||||
}
|
||||
|
||||
.category-name {
|
||||
margin: 0;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 500;
|
||||
color: white;
|
||||
white-space: nowrap;
|
||||
|
||||
@include mobile {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
}
|
||||
|
||||
.category-count {
|
||||
margin: 0;
|
||||
font-size: 0.8rem;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
font-weight: 500;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
padding: 0.2rem 0.6rem;
|
||||
border-radius: 12px;
|
||||
white-space: nowrap;
|
||||
|
||||
@include mobile {
|
||||
font-size: 0.65rem;
|
||||
padding: 0.15rem 0.4rem;
|
||||
}
|
||||
}
|
||||
|
||||
.category-arrow {
|
||||
font-size: 1.1rem;
|
||||
color: white;
|
||||
opacity: 0;
|
||||
transition: all 0.3s ease;
|
||||
margin-left: 0.25rem;
|
||||
|
||||
@include mobile {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -31,12 +31,22 @@
|
||||
info?: string | Array<string>;
|
||||
link?: string;
|
||||
shortList?: boolean;
|
||||
sectionType?: "list" | "discover";
|
||||
}
|
||||
|
||||
const props = defineProps<Props>();
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
sectionType: "list"
|
||||
});
|
||||
|
||||
const urlify = computed(() => {
|
||||
return `/list/${props.title.toLowerCase().replace(" ", "_")}`;
|
||||
const normalizedTitle = props.title
|
||||
.toLowerCase()
|
||||
.replace(/'s\b/g, "") // Remove possessive 's
|
||||
.replace(/[^\w\d\s-]/g, "") // Remove special characters (keep word chars, dashes, digits, spaces)
|
||||
.replace(/\s+/g, "_") // Replace spaces with underscores
|
||||
.replace(/-/g, "_") // Replace dash with underscore
|
||||
.replace(/_+/g, "_"); // Replace multiple underscores with single underscore
|
||||
return `/${props.sectionType}/${normalizedTitle}`;
|
||||
});
|
||||
|
||||
const prettify = computed(() => {
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
<template>
|
||||
<div ref="resultSection" class="resultSection">
|
||||
<page-header v-bind="{ title, info, shortList }" />
|
||||
<page-header
|
||||
v-bind="{ title, info, shortList, sectionType: props.sectionType }"
|
||||
/>
|
||||
|
||||
<div
|
||||
v-if="!loadedPages.includes(1) && loading == false"
|
||||
@@ -40,9 +42,12 @@
|
||||
title: string;
|
||||
apiFunction: (page: number) => Promise<IList>;
|
||||
shortList?: boolean;
|
||||
sectionType?: "list" | "discover";
|
||||
}
|
||||
|
||||
const props = defineProps<Props>();
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
sectionType: "list"
|
||||
});
|
||||
|
||||
const results: Ref<ListResults> = ref([]);
|
||||
const page: Ref<number> = ref(1);
|
||||
|
||||
@@ -15,13 +15,14 @@
|
||||
import { ref, watch } from "vue";
|
||||
import { useRoute } from "vue-router";
|
||||
import NavigationIcon from "@/components/header/NavigationIcon.vue";
|
||||
import IconInbox from "@/icons/IconInbox.vue";
|
||||
import IconMailboxFull from "@/icons/IconMailboxFull.vue";
|
||||
import IconNowPlaying from "@/icons/IconNowPlaying.vue";
|
||||
import IconPopular from "@/icons/IconPopular.vue";
|
||||
import IconUpcoming from "@/icons/IconUpcoming.vue";
|
||||
import IconSettings from "@/icons/IconSettings.vue";
|
||||
import IconActivity from "@/icons/IconActivity.vue";
|
||||
import IconBinoculars from "@/icons/IconBinoculars.vue";
|
||||
import IconHelm from "@/icons/IconHelm.vue";
|
||||
import IconDiscover from "@/icons/IconDiscover.vue";
|
||||
import type INavigationIcon from "../../interfaces/INavigationIcon";
|
||||
|
||||
const route = useRoute();
|
||||
@@ -30,13 +31,18 @@
|
||||
{
|
||||
title: "Requests",
|
||||
route: "/list/requests",
|
||||
icon: IconInbox
|
||||
icon: IconMailboxFull
|
||||
},
|
||||
{
|
||||
title: "Now Playing",
|
||||
route: "/list/now_playing",
|
||||
icon: IconNowPlaying
|
||||
},
|
||||
{
|
||||
title: "Discover",
|
||||
route: "/discover",
|
||||
icon: IconDiscover
|
||||
},
|
||||
{
|
||||
title: "Popular",
|
||||
route: "/list/popular",
|
||||
@@ -58,7 +64,7 @@
|
||||
title: "Torrents",
|
||||
route: "/torrents",
|
||||
requiresAuth: true,
|
||||
icon: IconBinoculars
|
||||
icon: IconHelm
|
||||
},
|
||||
{
|
||||
title: "Settings",
|
||||
|
||||
Reference in New Issue
Block a user