manual save(2026-01-27 16:39)
This commit is contained in:
@@ -10,11 +10,11 @@ export const Header: React.FC = () => {
|
||||
<div className="relative">
|
||||
<div
|
||||
className={
|
||||
(isShelf ? 'bg-transparent' : 'bg-white') +
|
||||
' border-b border-white/10'
|
||||
(isShelf ? 'bg-transparent' : 'bg-transparent') +
|
||||
' border-b border-black/5'
|
||||
}
|
||||
style={{
|
||||
backdropFilter: 'blur(10px)',
|
||||
backdropFilter: 'blur(14px)',
|
||||
}}
|
||||
>
|
||||
<div className="container mx-auto px-4 py-4">
|
||||
@@ -22,13 +22,13 @@ export const Header: React.FC = () => {
|
||||
<Link
|
||||
to="/"
|
||||
className={
|
||||
(isShelf ? 'text-white' : 'text-gray-900') +
|
||||
(isShelf ? 'text-[color:var(--text)]' : 'text-[color:var(--text)]') +
|
||||
' text-xl sm:text-2xl font-bold tracking-tight'
|
||||
}
|
||||
aria-label="返回书架"
|
||||
>
|
||||
<span className="font-display">书架</span>
|
||||
<span className={(isShelf ? 'text-white/70' : 'text-gray-500') + ' ml-2 text-sm font-semibold'}>
|
||||
<span className={'text-[color:var(--muted)] ml-2 text-sm font-semibold'}>
|
||||
Library
|
||||
</span>
|
||||
</Link>
|
||||
@@ -37,8 +37,10 @@ export const Header: React.FC = () => {
|
||||
<Link
|
||||
to="/"
|
||||
className={
|
||||
(isShelf ? 'text-white/80 hover:text-white' : 'text-gray-700 hover:text-gray-900') +
|
||||
' text-sm font-semibold'
|
||||
(isShelf
|
||||
? 'text-[color:var(--muted)] hover:text-[color:var(--text)]'
|
||||
: 'text-[color:var(--muted)] hover:text-[color:var(--text)]') +
|
||||
' text-sm font-semibold transition-colors'
|
||||
}
|
||||
>
|
||||
书架
|
||||
@@ -46,8 +48,10 @@ export const Header: React.FC = () => {
|
||||
<Link
|
||||
to="/categories"
|
||||
className={
|
||||
(isShelf ? 'text-white/80 hover:text-white' : 'text-gray-700 hover:text-gray-900') +
|
||||
' text-sm font-semibold'
|
||||
(isShelf
|
||||
? 'text-[color:var(--muted)] hover:text-[color:var(--text)]'
|
||||
: 'text-[color:var(--muted)] hover:text-[color:var(--text)]') +
|
||||
' text-sm font-semibold transition-colors'
|
||||
}
|
||||
>
|
||||
分类
|
||||
|
||||
Reference in New Issue
Block a user