Skip to content

Commit 2f35dec

Browse files
made the dock translucent!
1 parent 779dc7b commit 2f35dec

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

client/src/components/ui/search-dock.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { Filter, Search } from "lucide-react";
22

3+
import { cn } from "@/lib/utils";
4+
35
import { Button } from "./button";
46

57
export default function SearchDock() {
@@ -9,7 +11,7 @@ export default function SearchDock() {
911
<div className="rounded-full px-3 py-1.5">
1012
<input
1113
placeholder="Search events"
12-
className="w-full bg-transparent text-base outline-none"
14+
className={cn("w-full bg-transparent text-base outline-none")}
1315
/>
1416
</div>
1517
</div>

client/src/pages/layouts/docklayout.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import Link from "next/link";
44
// this layout takes a children prop and bottomoverlay
55
// whichever page uses DockLayout can **OPTIONALLY** declare an element to sit above the NAV bar
66

7+
// PHILLIPS EXTRA NOTE: the dock is set to 80% opacity with a blur! try to keep it consistent
8+
79
type DockLayoutProps = {
810
children: React.ReactNode;
911
bottomOverlay?: React.ReactNode;
@@ -25,7 +27,7 @@ export default function DockLayout({
2527

2628
<nav className="fixed bottom-0 left-0 right-0 z-50">
2729
<div className="mx-auto max-w-md px-4 pb-3">
28-
<div className="flex items-center justify-around rounded-full bg-[#000912] px-6 py-4 shadow-lg">
30+
<div className="flex items-center justify-around rounded-full bg-[#000912]/85 px-6 py-4 shadow-lg backdrop-blur-md">
2931
<Link href="/home" className="text-gray-300 hover:text-white">
3032
<Home className="h-6 w-6" />
3133
</Link>

0 commit comments

Comments
 (0)