diff --git a/apps/web/src/app/(main)/(landing)/layout.tsx b/apps/web/src/app/(main)/(landing)/layout.tsx index 1ca3e60..4abe661 100644 --- a/apps/web/src/app/(main)/(landing)/layout.tsx +++ b/apps/web/src/app/(main)/(landing)/layout.tsx @@ -1,8 +1,9 @@ import React from 'react' - +import Navbar from '@/components/landing-sections/navbar' const Layout = ({ children }: { children: React.ReactNode }) => { return (
+ {children}
) diff --git a/apps/web/src/app/(main)/(landing)/pricing/page.tsx b/apps/web/src/app/(main)/(landing)/pricing/page.tsx index b53e989..2549303 100644 --- a/apps/web/src/app/(main)/(landing)/pricing/page.tsx +++ b/apps/web/src/app/(main)/(landing)/pricing/page.tsx @@ -424,9 +424,8 @@ const SecondaryPricingCard = ({ callbackUrl }: { callbackUrl: string }) => { planName="Opensox Pro" description="Annual Subscription" buttonText={planIdOk ? "Invest" : "Unavailable"} - buttonClassName={`w-full max-w-[500px] mx-auto font-semibold ${ - planIdOk ? "" : "opacity-60 cursor-not-allowed" - }`} + buttonClassName={`w-full max-w-[500px] mx-auto font-semibold ${planIdOk ? "" : "opacity-60 cursor-not-allowed" + }`} callbackUrl={callbackUrl} />
diff --git a/apps/web/src/components/landing-sections/navbar.tsx b/apps/web/src/components/landing-sections/navbar.tsx index 8ae34f3..6c62985 100644 --- a/apps/web/src/components/landing-sections/navbar.tsx +++ b/apps/web/src/components/landing-sections/navbar.tsx @@ -48,12 +48,7 @@ const Navbar = () => { initial={{ opacity: 0 }} animate={showNavbar ? { opacity: 1 } : { opacity: 0, display: "none" }} transition={{ duration: 0.3 }} - className={cn( - " z-40 flex items-center justify-between px-4 py-3 bg-neutral-900/5 backdrop-blur-xl border-white/10", - isPricingPage - ? "relative h-max md:w-full top-0 border-b" - : "fixed rounded-3xl top-4 border w-[94%] md:w-[80%] mx-auto left-1/2 -translate-x-1/2" - )} + className="z-40 flex items-center justify-between px-4 py-3 bg-neutral-900/5 backdrop-blur-xl border-white/10 fixed rounded-3xl top-4 border w-[94%] md:w-[80%] mx-auto left-1/2 -translate-x-1/2" >