From a27e8d30ef98256488be43eeb72baae59ceb4c25 Mon Sep 17 00:00:00 2001 From: shinya Date: Tue, 24 Jun 2025 20:39:26 +0800 Subject: [PATCH] feat: add show to sidebar --- src/components/MobileBottomNav.tsx | 6 ++++++ src/components/Sidebar.tsx | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/components/MobileBottomNav.tsx b/src/components/MobileBottomNav.tsx index 30ae031..189af17 100644 --- a/src/components/MobileBottomNav.tsx +++ b/src/components/MobileBottomNav.tsx @@ -1,6 +1,7 @@ 'use client'; import { + Clover, Film, Home, MessageCircleHeart, @@ -45,6 +46,11 @@ const MobileBottomNav = ({ activePath }: MobileBottomNavProps) => { label: '豆瓣 Top250', href: '/douban?type=movie&tag=top250&title=豆瓣 Top250', }, + { + icon: Clover, + label: '综艺', + href: '/douban?type=tv&tag=综艺&title=综艺', + }, { icon: Swords, label: '美剧', href: '/douban?type=tv&tag=美剧' }, { icon: MessageCircleHeart, diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 7e67fd6..fbb4dcb 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -1,4 +1,5 @@ import { + Clover, Film, Home, Menu, @@ -142,6 +143,11 @@ const Sidebar = ({ onToggle, activePath = '/' }: SidebarProps) => { label: '豆瓣 Top250', href: '/douban?type=movie&tag=top250&title=豆瓣 Top250', }, + { + icon: Clover, + label: '综艺', + href: '/douban?type=tv&tag=综艺&title=综艺', + }, { icon: Swords, label: '美剧', href: '/douban?type=tv&tag=美剧' }, { icon: MessageCircleHeart,