Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Links to Navbar #28

Merged
merged 1 commit into from
Sep 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ function PricingPart() {
return (
<div className="relative flex flex-col items-center justify-center md:w-[850px]">
<div className="DivSectionHeader inline-flex flex-col items-center justify-start gap-2.5">
<div className="gradientbg flex h-7 w-24 items-center justify-center rounded-3xl bg-gradient-to-r text-center">
<div
className="gradientbg flex h-7 w-24 items-center justify-center rounded-3xl bg-gradient-to-r text-center"
id="pricing"
>
<div className=" text-sm font-medium leading-none text-stone-900 text-opacity-40">
Get access
</div>
Expand Down
44 changes: 26 additions & 18 deletions src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import { VectorRight } from "../../public/svgs/VectorRight";
import Link from "next/link";

const internalLinks = [
{ name: "Products" },
{ name: "Customers" },
{ name: "Enterprise" },
{ name: "Pricing" },
{ name: "Resources" },
{ name: "Contact us" },
{ name: "Products", link: "" },
{ name: "Customers", link: "" },
{ name: "Enterprise", link: "https://tally.so/r/w2aQEL" },
{ name: "Pricing", link: "#pricing" },
{ name: "Resources", link: "https://docs.trustauthx.com/" },
{ name: "Contact us", link: "https://tally.so/r/wMNB8p" },
];

const externalLinks = [
Expand All @@ -26,24 +26,27 @@ const externalLinks = [

const ExternalLinks = () => (
<>
<Link href="https://github.com/One-Click-Auth/Landing-Next-TrustAuthx" target="_blank">
<div className="flex items-center justify-start gap-1.5">
<GithubLogo />
<div className="font-semibold">Github</div>
</div>
<Link
href="https://github.com/One-Click-Auth/Landing-Next-TrustAuthx"
target="_blank"
>
<div className="flex items-center justify-start gap-1.5">
<GithubLogo />
<div className="font-semibold">Github</div>
</div>
</Link>
<Link href="https://docs.trustauthx.com/" target="_blank">
<div className="font-semibold">Docs</div>
<div className="font-semibold">Docs</div>
</Link>
<Link href="https://app.trustauthx.com/" target="_blank">
<div className="font-semibold">Sign in</div>
<div className="font-semibold">Sign in</div>
</Link>

<div className="flex items-center justify-center gap-1 rounded-full border border-neutral-800 bg-white px-5 py-2.5">
<Link href="https://app.trustauthx.com/" target="_blank">
<div className="text-center font-semibold leading-normal text-white mix-blend-exclusion">
Let’s Get Started
</div>
<div className="text-center font-semibold leading-normal text-white mix-blend-exclusion">
Let’s Get Started
</div>
</Link>
<div className="flex h-5 w-5 items-center justify-start gap-2 py-1.5 pr-2" />
<VectorRight />
Expand All @@ -62,9 +65,14 @@ function Navbar() {
<TrustAuthXLogo />
<div className="hidden items-start justify-center gap-7 md:flex md:flex-wrap">
{internalLinks.map((link) => (
<div key={link.name} className="font-medium mix-blend-exclusion">
<Link
target={link.name === "Pricing" ? "" : "_blank"}
href={link.link}
key={link.name}
className="font-medium mix-blend-exclusion"
>
{link.name}
</div>
</Link>
))}
</div>
</div>
Expand Down