固定 nav 在最上面
This commit is contained in:
@@ -49,7 +49,7 @@ export default function HomePage() {
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-gradient-to-b from-slate-900 via-blue-900 to-indigo-900 relative overflow-hidden flex flex-col">
|
||||
<div className="min-h-screen bg-gradient-to-b from-slate-900 via-blue-900 to-indigo-900 relative flex flex-col">
|
||||
{/* 星空背景 */}
|
||||
<div className="absolute inset-0 overflow-hidden pointer-events-none">
|
||||
{/* 星星 */}
|
||||
@@ -75,7 +75,7 @@ export default function HomePage() {
|
||||
</div>
|
||||
|
||||
{/* Header - 手機版優化,修復跑版問題 */}
|
||||
<header className="border-b border-blue-800/50 bg-slate-900/80 backdrop-blur-sm sticky top-0 z-50 flex-shrink-0">
|
||||
<header className="border-b border-blue-800/50 bg-slate-900/95 backdrop-blur-md sticky top-0 z-[9999] flex-shrink-0 shadow-lg shadow-slate-900/50">
|
||||
<div className="container mx-auto px-3 sm:px-4 py-3 md:py-4">
|
||||
<div className="flex items-center justify-between gap-2">
|
||||
{/* Logo 區域 - 防止文字換行 */}
|
||||
|
Reference in New Issue
Block a user