Beautiful map components. 100% Free, Zero config, one command setup.
TypeScript
homepage hero update
Anmol48b8f8762d61
diff --git a/src/app/(main)/(home)/_components/hero-install-command.tsx b/src/app/(main)/(home)/_components/hero-install-command.tsxindex 105afd7..1a8145e 100644--- a/src/app/(main)/(home)/_components/hero-install-command.tsx+++ b/src/app/(main)/(home)/_components/hero-install-command.tsx@@ -24,7 +24,7 @@ export function HeroInstallCommand({ className }: { className?: string }) {onClick={copyCommand}title="Copy install command"className={cn(- "group bg-surface ring-foreground/10 focus-visible:ring-ring/50 hover:bg-muted dark:hover:bg-muted/70 inline-flex h-10 min-w-0 items-center gap-2 rounded-md px-4 font-mono text-[13px] ring-1 transition-colors outline-none focus-visible:ring-[3px]",+ "group bg-surface ring-foreground/10 focus-visible:ring-ring/50 hover:bg-muted dark:hover:bg-muted/70 inline-flex h-10 min-w-0 items-center gap-2 rounded-lg px-4 font-mono text-[13px] ring-1 transition-colors outline-none focus-visible:ring-[3px]",className,)}>diff --git a/src/app/(main)/(home)/page.tsx b/src/app/(main)/(home)/page.tsxindex 23fcfdf..2b213f2 100644--- a/src/app/(main)/(home)/page.tsx+++ b/src/app/(main)/(home)/page.tsx@@ -18,7 +18,7 @@ export default function Page() {return (<><div className="flex-1">- <PageHeader animated className="pt-7 md:pt-12 lg:pt-18 lg:pb-16">+ <PageHeader animated className="pt-7 md:pt-12 lg:pt-18"><BadgeasChildvariant="secondary"@@ -38,7 +38,7 @@ export default function Page() {</PageHeaderDescription><PageActions><HeroInstallCommand className="max-w-full" />- <Button asChild size="lg" className="min-w-36 justify-center">+ <Button asChild size="lg" className="rounded-lg"><Link href="/docs">Get Started</Link></Button></PageActions>diff --git a/src/components/page-header.tsx b/src/components/page-header.tsxindex f72f70a..6717863 100644--- a/src/components/page-header.tsx+++ b/src/components/page-header.tsx@@ -45,7 +45,7 @@ function PageHeader({"container mx-auto flex w-full max-w-6xl flex-col",size === "sm"? "gap-3 py-14 md:py-18"- : "gap-4 py-16 md:gap-5 md:py-20 lg:py-24 lg:pb-20",+ : "gap-4 py-16 md:gap-5 md:py-20",align === "center"? "items-center text-center": "items-start text-left",@@ -78,7 +78,7 @@ function PageHeaderHeading({animated && "animate-fade-up animate-stagger",size === "sm"? "text-4xl font-semibold md:text-5xl"- : "text-4xl sm:text-5xl md:text-6xl",+ : "text-4xl md:text-6xl",align === "center" ? "text-center" : "text-left",className,)}@@ -109,7 +109,7 @@ function PageHeaderDescription({return (<pclassName={cn(- "text-foreground/80 max-w-2xl leading-relaxed text-pretty",+ "text-foreground/80 max-w-2xl leading-relaxed text-balance",animated && "animate-fade-up animate-stagger",size === "sm"? "text-muted-foreground text-base sm:text-lg"@@ -141,7 +141,7 @@ function PageActions({ children, className }: PageActionsProps) {return (<divclassName={cn(- "mt-6 flex flex-wrap items-center gap-4 max-sm:w-full max-sm:flex-col",+ "mt-3 flex flex-wrap items-center gap-4 max-sm:w-full max-sm:flex-col",animated && "animate-fade-up animate-stagger",align === "center" ? "justify-center" : "justify-start",className,