-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec331a3
commit a3e9c6b
Showing
5 changed files
with
138 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,10 @@ | ||
import Link from "next/link"; | ||
import { Search, TrendingUp } from "lucide-react"; | ||
import { Input } from "@/components/ui/input"; | ||
import { NavMenu } from "@/app/components/NavMenu"; | ||
import { UnreleasedFeature } from "@/components/UnreleasedFeature"; | ||
import { MobileNavMenu } from "@/app/components/MobileNavMenu"; | ||
import { DesktopNavMenu, MobileNavMenu } from "@/app/components/NavMenu"; | ||
|
||
export const Header = () => { | ||
return ( | ||
<header className="border-b-2 bg-white"> | ||
<MobileNavMenu /> | ||
<div className="container hidden items-center justify-between p-4 lg:flex"> | ||
<nav className="flex items-center gap-x-4"> | ||
<Link href="/" className="flex items-center gap-x-2"> | ||
<TrendingUp className="h-4 w-4 text-blue-600 lg:h-8 lg:w-8" /> | ||
<span className="text-sm font-bold lg:text-xl"> | ||
<span className="text-black">SGCars</span> | ||
<span className="text-blue-600">Trends</span> | ||
</span> | ||
</Link> | ||
<NavMenu /> | ||
</nav> | ||
<UnreleasedFeature> | ||
<div className="flex items-center gap-x-4"> | ||
<div className="relative"> | ||
<Input | ||
type="search" | ||
placeholder="Search..." | ||
className="border border-gray-300 pl-10 focus:border-transparent focus:outline-none focus:ring-2 focus:ring-blue-500" | ||
/> | ||
<div className="pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3"> | ||
<Search className="h-4 w-4 text-gray-400" /> | ||
</div> | ||
</div> | ||
</div> | ||
</UnreleasedFeature> | ||
</div> | ||
<DesktopNavMenu /> | ||
</header> | ||
); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { TrendingUp } from "lucide-react"; | ||
|
||
export const BrandLogo = () => ( | ||
<div className="flex items-center gap-x-2"> | ||
<TrendingUp className="h-4 w-4 text-blue-600 lg:h-8 lg:w-8" /> | ||
<span className="text-sm font-bold lg:text-xl"> | ||
<span className="text-black">SGCars</span> | ||
<span className="text-blue-600">Trends</span> | ||
</span> | ||
</div> | ||
); |