高级推荐
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
'use client';
|
||||
|
||||
import { Cat, Clover, Film, FolderOpen, Globe, Home, Menu, Search, Star, Tv, TvMinimalPlay, Users } from 'lucide-react';
|
||||
import { Blend, Cat, Clover, Container, Film, Globe, Home, Menu, Search, Star, Tv, TvMinimalPlay, Users } from 'lucide-react';
|
||||
import Link from 'next/link';
|
||||
import { usePathname, useSearchParams } from 'next/navigation';
|
||||
import {
|
||||
@@ -198,12 +198,20 @@ const Sidebar = ({ onToggle, activePath = '/' }: SidebarProps) => {
|
||||
// 如果配置了 OpenList 或 Emby,添加私人影库入口
|
||||
if (runtimeConfig?.PRIVATE_LIBRARY_ENABLED) {
|
||||
items.push({
|
||||
icon: FolderOpen,
|
||||
icon: Container,
|
||||
label: '私人影库',
|
||||
href: '/private-library',
|
||||
});
|
||||
}
|
||||
|
||||
if (runtimeConfig?.ADVANCED_RECOMMENDATION_ENABLED) {
|
||||
items.push({
|
||||
icon: Blend,
|
||||
label: '高级推荐',
|
||||
href: '/advanced-recommendation',
|
||||
});
|
||||
}
|
||||
|
||||
// 如果启用观影室,添加观影室入口
|
||||
if (watchRoomContext?.isEnabled) {
|
||||
items.push({
|
||||
|
||||
Reference in New Issue
Block a user