mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
feat: updates
This commit is contained in:
parent
ffcc60b793
commit
dd5361b8c4
106 changed files with 11989 additions and 4143 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { state } from '@/web/store'
|
||||
import { changeAccentColor } from '@/web/utils/theme'
|
||||
import { useSnapshot } from 'valtio'
|
||||
import cx from 'classnames'
|
||||
import { cx } from '@emotion/css'
|
||||
|
||||
const AccentColor = () => {
|
||||
const colors = {
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
import Avatar from '@/web/components/Avatar'
|
||||
import SvgIcon from '@/web/components/SvgIcon'
|
||||
import useUser from '@/web/hooks/useUser'
|
||||
import Icon from '@/web/components/Icon'
|
||||
import useUser from '@/web/api/hooks/useUser'
|
||||
import Appearance from './Appearance'
|
||||
import UnblockNeteaseMusic from './UnblockNeteaseMusic'
|
||||
import cx from 'classnames'
|
||||
import { cx } from '@emotion/css'
|
||||
import { useState } from 'react'
|
||||
import toast from 'react-hot-toast'
|
||||
|
||||
|
|
@ -38,7 +38,7 @@ const UserCard = () => {
|
|||
className='btn-pressed-animation btn-hover-animation flex items-center px-4 py-3 text-lg font-medium text-gray-600 after:rounded-xl after:bg-black/[.06] dark:text-gray-300 dark:after:bg-white/5'
|
||||
>
|
||||
{/* TODO: 画登入登出图标 */}
|
||||
<SvgIcon name='x' className='mr-1 h-6 w-6' />
|
||||
<Icon name='x' className='mr-1 h-6 w-6' />
|
||||
{user?.profile ? '登出' : '登录'}
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue