UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: update landing page
Dillion Verma2564b65cae13
diff --git a/components/landing/cta-section.tsx b/components/landing/cta-section.tsxindex cdb51a98..db99e076 100644--- a/components/landing/cta-section.tsx+++ b/components/landing/cta-section.tsx@@ -6,32 +6,30 @@ export default function CTASection() {return (<section id="cta"><div className="py-14">- <div className="container flex w-full flex-col items-center justify-center p-4">- <div className="relative flex w-full max-w-[1000px] flex-col items-center justify-center overflow-hidden rounded-[2rem] border p-10 py-14">- <div className="z-10 mx-auto size-24 rounded-[2rem] border bg-white/10 p-3 shadow-2xl backdrop-blur-md dark:bg-black/10 lg:size-32">- <HeartHandshake className="mx-auto size-16 text-black dark:text-white lg:size-24" />- </div>- <div className="z-10 mt-4 flex flex-col items-center text-center text-black dark:text-white">- <h1 className="text-3xl font-bold lg:text-4xl">- Looking for templates instead?- </h1>- <p className="mt-2">Check out Magic UI Pro</p>- <a- href="https://pro.magicui.design/"- className={cn(- buttonVariants({- size: "lg",- variant: "outline",- }),- "group mt-4 rounded-[2rem] px-6",- )}- >- Get Magic UI Pro- <ChevronRight className="ml-1 size-4 transition-all duration-300 ease-out group-hover:translate-x-1" />- </a>- </div>- <div className="absolute inset-x-0 bottom-0 h-full bg-gradient-to-b from-transparent to-white to-70% dark:to-black" />+ <div className="relative flex w-full flex-col items-center justify-center overflow-hidden border-y p-14">+ <div className="z-10 mx-auto size-24 rounded-[2rem] border bg-white/10 p-3 shadow-2xl backdrop-blur-md dark:bg-black/10 lg:size-32">+ <HeartHandshake className="mx-auto size-16 text-black dark:text-white lg:size-24" /></div>+ <div className="z-10 mt-4 flex flex-col items-center text-center text-black dark:text-white">+ <h1 className="text-3xl font-bold lg:text-4xl">+ Looking for templates instead?+ </h1>+ <p className="mt-2">Check out Magic UI Pro</p>+ <a+ href="https://pro.magicui.design/"+ className={cn(+ buttonVariants({+ size: "lg",+ variant: "outline",+ }),+ "group mt-4 rounded-[2rem] px-6",+ )}+ >+ Get Magic UI Pro+ <ChevronRight className="ml-1 size-4 transition-all duration-300 ease-out group-hover:translate-x-1" />+ </a>+ </div>+ <div className="absolute inset-x-0 bottom-0 h-full bg-gradient-to-b from-transparent to-white to-70% dark:to-black" /></div></div></section>diff --git a/components/landing/hero-client.tsx b/components/landing/hero-client.tsxindex adcbfc55..fbcc994b 100644--- a/components/landing/hero-client.tsx+++ b/components/landing/hero-client.tsx@@ -47,7 +47,7 @@ export default function HeroClient({ post }: { post: Doc }) {</AnimatedGradientText></Link><div className="relative flex flex-col gap-4 md:items-center lg:flex-row">- <h1 className="relative mx-0 max-w-[43.5rem] text-balance pt-5 text-left text-5xl font-extrabold tracking-tight text-black dark:text-white sm:text-7xl md:mx-auto md:px-4 md:py-2 md:text-center md:text-7xl lg:text-7xl">+ <h1 className="relative mx-0 max-w-[43.5rem] text-balance bg-gradient-to-br from-black from-50% to-neutral-200/60 bg-clip-text pt-5 text-left text-5xl font-semibold tracking-tighter text-transparent dark:text-white sm:text-7xl md:mx-auto md:px-4 md:py-2 md:text-center md:text-7xl lg:text-7xl">UI library for Design Engineers</h1><span className="text-neutral-90 absolute -top-3.5 left-0 z-10 rotate-3 whitespace-nowrap rounded-full bg-neutral-800 px-2.5 py-1 text-[11px] font-semibold uppercase leading-5 tracking-wide text-white md:top-12 md:-rotate-12">diff --git a/components/site-banner.tsx b/components/site-banner.tsxindex 8b51ba45..43f71933 100644--- a/components/site-banner.tsx+++ b/components/site-banner.tsx@@ -6,13 +6,13 @@ import posthog from "posthog-js";export function SiteBanner() {return (- <div className="relative top-0 bg-indigo-600 py-3 text-white hover:bg-indigo-600/90 md:py-0">+ <div className="group relative top-0 bg-indigo-600 py-3 text-white transition-all duration-300 md:py-0"><div className="container flex flex-col items-center justify-center gap-4 md:h-12 md:flex-row"><Linkhref="https://pro.magicui.design"onClick={() => posthog.capture("banner_cta_clicked")}target="_blank"- className="group inline-flex text-xs leading-normal md:text-sm"+ className="inline-flex text-xs leading-normal md:text-sm">✨{" "}<span className="ml-1 font-[580] dark:font-[550]">