Shinhati2023 commited on
Commit
db619e4
·
verified ·
1 Parent(s): 7679192

Update components/GlassDock.js

Browse files
Files changed (1) hide show
  1. components/GlassDock.js +20 -10
components/GlassDock.js CHANGED
@@ -1,27 +1,37 @@
 
1
  import Link from 'next/link';
2
 
3
  export default function GlassDock({ activeTab }) {
4
- // Ensure these images exist in public/assets/
5
- const icons = {
6
- home: "/assets/home_icon_blue.png",
7
- create: "/assets/upload_button_blue.png",
8
- profile: "/assets/user_icon_blue.png",
9
- };
10
-
11
  return (
12
  <div className="fixed bottom-0 left-0 right-0 z-50 px-6 pb-6 pt-2 mb-safe pointer-events-none">
13
  <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">
 
 
14
  <Link href="/" className="relative group">
15
- <img src={icons.home} className="w-10 h-10 transition-transform active:scale-90" />
 
 
 
16
  </Link>
 
 
17
  <Link href="/create" className="-mt-12">
18
  <div className="bg-white/20 p-2 rounded-full backdrop-blur-md border border-white/60 shadow-xl">
19
- <img src={icons.create} className="w-16 h-16 transition-transform active:scale-95" />
 
 
 
20
  </div>
21
  </Link>
 
 
22
  <Link href="/profile" className="relative group">
23
- <img src={icons.profile} className="w-10 h-10 transition-transform active:scale-90" />
 
 
 
24
  </Link>
 
25
  </div>
26
  </div>
27
  );
 
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
  );