-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[web] add url to solutions in header
- Loading branch information
1 parent
389c123
commit 5852199
Showing
1 changed file
with
42 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,48 @@ | ||
import Link from "next/link"; | ||
import { IoEarth } from "react-icons/io5"; | ||
import { siteConfig } from "@repo/config"; | ||
import {IoEarth} from "react-icons/io5"; | ||
import {siteConfig} from "@repo/config"; | ||
|
||
import InteractiveHeaderComponents from "./index.client"; | ||
|
||
export default function Header() { | ||
return ( | ||
<header className="flex mt-5 mb-6"> | ||
<div className="container flex flex-row"> | ||
<Link href="/" className="flex items-center justify-center" > | ||
<div className="flex flex-row items-center"> | ||
<IoEarth size={30} /> | ||
<div className="font-semibold leading-3 ml-1"> | ||
{siteConfig.name.split(" ")[0]} | ||
<br /> | ||
<div className="h-1 w-1"></div> | ||
{siteConfig.name.split(" ")[1]} | ||
return ( | ||
<header className="flex mt-5 mb-6"> | ||
<div className="container flex flex-row"> | ||
<Link href="/" className="flex items-center justify-center"> | ||
<div className="flex flex-row items-center"> | ||
<IoEarth size={30}/> | ||
<div className="font-semibold leading-3 ml-1"> | ||
{siteConfig.name.split(" ")[0]} | ||
<br/> | ||
<div className="h-1 w-1"></div> | ||
{siteConfig.name.split(" ")[1]} | ||
</div> | ||
</div> | ||
</Link> | ||
<nav className="ml-6 hidden md:flex items-center justify-center flex-row gap-4"> | ||
<Link | ||
href="/tracks" | ||
className="font-semibold hover:text-gray-400 transition-all duration-100" | ||
> | ||
Tracks | ||
</Link> | ||
<Link | ||
href="/solutions" | ||
className="font-semibold hover:text-gray-400 transition-all duration-100" | ||
> | ||
Solutions | ||
</Link> | ||
<Link | ||
href="/pricing" | ||
className="font-semibold hover:text-gray-400 transition-all duration-100" | ||
> | ||
Pricing | ||
</Link> | ||
</nav> | ||
<div className="flex flex-row ml-auto"> | ||
<InteractiveHeaderComponents/> | ||
</div> | ||
</div> | ||
</div> | ||
</Link> | ||
<nav className="ml-6 hidden md:flex items-center justify-center flex-row gap-4"> | ||
<Link | ||
href="/tracks" | ||
className="font-semibold hover:text-gray-400 transition-all duration-100" | ||
> | ||
Explore | ||
</Link> | ||
<Link | ||
href="/pricing" | ||
className="font-semibold hover:text-gray-400 transition-all duration-100" | ||
> | ||
Pricing | ||
</Link> | ||
</nav> | ||
<div className="flex flex-row ml-auto"> | ||
<InteractiveHeaderComponents /> | ||
</div> | ||
</div> | ||
</header> | ||
); | ||
</header> | ||
); | ||
} |