This commit is contained in:
@@ -79,7 +79,7 @@ export default function Header() {
|
||||
|
||||
return (
|
||||
<div className="pb-24">
|
||||
<header className="w-full fixed top-0 left-0 right-0 bg-white/80 dark:bg-black/80 py-3 z-50 backdrop-blur-md border-b border-transparent dark:border-gray-800 transition-colors duration-300">
|
||||
<header className="w-full fixed top-0 left-0 right-0 shadow bg-white/80 dark:bg-black/80 py-3 z-50 backdrop-blur-md border-b border-transparent dark:border-gray-800 transition-colors duration-300">
|
||||
<nav className="mx-auto max-w-7xl flex justify-between items-center px-4 md:px-6">
|
||||
<div className="flex items-center min-w-0">
|
||||
<Link href="/" className="truncate">
|
||||
@@ -122,7 +122,7 @@ export default function Header() {
|
||||
|
||||
{/* 移动端侧边菜单 */}
|
||||
<motion.div
|
||||
className="md:hidden fixed top-[57px] right-0 bottom-0 w-full max-w-xs bg-white/80 dark:bg-black/80 backdrop-blur-md border-l border-gray-200 dark:border-gray-800 shadow-2xl z-40"
|
||||
className="md:hidden fixed top-[57px] right-0 bottom-0 w-full max-w-xs bg-white/80 dark:bg-black/80 backdrop-blur-md border-l border-gray-200 dark:border-gray-800 z-40"
|
||||
initial="closed"
|
||||
animate={isMenuOpen ? "open" : "closed"}
|
||||
variants={sidebarVariants}
|
||||
|
||||
Reference in New Issue
Block a user