Spaces:
Paused
Paused
Update components/GlassDock.js
Browse files- components/GlassDock.js +25 -29
components/GlassDock.js
CHANGED
|
@@ -1,38 +1,34 @@
|
|
| 1 |
-
// components/GlassDock.js
|
| 2 |
import Link from 'next/link';
|
| 3 |
|
| 4 |
export default function GlassDock({ activeTab }) {
|
| 5 |
return (
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
-
{/* Profile Icon (The User Icon you just uploaded) */}
|
| 28 |
-
<Link href="/profile" className="relative group">
|
| 29 |
-
<img
|
| 30 |
-
src="/assets/user_icon_blue.png"
|
| 31 |
-
className="w-10 h-10 transition-transform active:scale-90"
|
| 32 |
-
/>
|
| 33 |
-
</Link>
|
| 34 |
-
|
| 35 |
-
</div>
|
| 36 |
</div>
|
| 37 |
);
|
| 38 |
}
|
|
|
|
|
|
|
| 1 |
import Link from 'next/link';
|
| 2 |
|
| 3 |
export default function GlassDock({ activeTab }) {
|
| 4 |
return (
|
| 5 |
+
// Transparent container, positioned at bottom
|
| 6 |
+
<div className="fixed bottom-6 left-0 right-0 z-50 flex justify-center items-center gap-12 pointer-events-none mb-safe">
|
| 7 |
+
|
| 8 |
+
{/* 1. Home Icon */}
|
| 9 |
+
<Link href="/" className="pointer-events-auto active:scale-90 transition-transform">
|
| 10 |
+
<img
|
| 11 |
+
src="/assets/home_icon_blue.png"
|
| 12 |
+
className="w-14 h-14 drop-shadow-lg" // Fixed size for consistency
|
| 13 |
+
/>
|
| 14 |
+
</Link>
|
| 15 |
|
| 16 |
+
{/* 2. Upload Icon (No white circle, same size as Home) */}
|
| 17 |
+
<Link href="/create" className="pointer-events-auto active:scale-90 transition-transform">
|
| 18 |
+
<img
|
| 19 |
+
src="/assets/upload_button_blue.png"
|
| 20 |
+
className="w-14 h-14 drop-shadow-lg"
|
| 21 |
+
/>
|
| 22 |
+
</Link>
|
| 23 |
+
|
| 24 |
+
{/* 3. User Icon (Same size) */}
|
| 25 |
+
<Link href="/profile" className="pointer-events-auto active:scale-90 transition-transform">
|
| 26 |
+
<img
|
| 27 |
+
src="/assets/user_icon_blue.png"
|
| 28 |
+
className="w-14 h-14 drop-shadow-lg"
|
| 29 |
+
/>
|
| 30 |
+
</Link>
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
</div>
|
| 33 |
);
|
| 34 |
}
|