Shinhati2023 commited on
Commit
343ff0d
·
verified ·
1 Parent(s): ac7cbc6

Update components/GlassDock.js

Browse files
Files changed (1) hide show
  1. 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
- <div className="fixed bottom-0 left-0 right-0 z-50 px-6 pb-6 pt-2 mb-safe pointer-events-none">
7
- <div className="pointer-events-auto flex justify-between items-center bg-white/40 backdrop-blur-xl border border-white/50 rounded-3xl shadow-lg px-8 py-4 mx-auto max-w-sm">
8
-
9
- {/* Home Icon */}
10
- <Link href="/" className="relative group">
11
- <img
12
- src="/assets/home_icon_blue.png"
13
- className="w-10 h-10 transition-transform active:scale-90"
14
- />
15
- </Link>
16
 
17
- {/* Upload Button (The Plus Icon you just uploaded) */}
18
- <Link href="/create" className="-mt-12">
19
- <div className="bg-white/20 p-2 rounded-full backdrop-blur-md border border-white/60 shadow-xl">
20
- <img
21
- src="/assets/upload_button_blue.png"
22
- className="w-16 h-16 transition-transform active:scale-95"
23
- />
24
- </div>
25
- </Link>
 
 
 
 
 
 
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
  }