mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 13:48:02 +00:00
feat: 增加歌手页面
This commit is contained in:
parent
7d20e6c5de
commit
36603dc3a0
16 changed files with 247 additions and 28 deletions
|
|
@ -7,7 +7,7 @@ import { prefetchPlaylist } from '@/hooks/usePlaylist'
|
|||
|
||||
interface Tab {
|
||||
name: string
|
||||
icon?: string
|
||||
icon: string
|
||||
route: string
|
||||
}
|
||||
interface PrimaryTab extends Tab {
|
||||
|
|
@ -41,7 +41,7 @@ const PrimaryTabs = () => {
|
|||
onClick={() => scrollToTop()}
|
||||
key={tab.route}
|
||||
to={tab.route}
|
||||
className={({ isActive }: { isActive: boolean }) =>
|
||||
className={({ isActive }) =>
|
||||
classNames(
|
||||
'btn-hover-animation mx-3 flex cursor-default items-center rounded-lg px-3 py-2 transition-colors duration-200 after:scale-[0.97] after:bg-black/[.06] dark:after:bg-white/20',
|
||||
!isActive && 'text-gray-700 dark:text-white',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue