diff options
| author | Arslaan Pathan <[email protected]> | 2026-08-31 17:00:12 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-08-31 17:00:12 +1200 |
| commit | 5936aedd3d853514a31ebece23175255fb2415c3 (patch) | |
| tree | 829560cffbbb4fde805319c08f984667e498eaf5 /components/section.tsx | |
| download | the-agentic-cloud-5936aedd3d853514a31ebece23175255fb2415c3.tar.xz the-agentic-cloud-5936aedd3d853514a31ebece23175255fb2415c3.zip | |
Initial commit
Diffstat (limited to 'components/section.tsx')
| -rw-r--r-- | components/section.tsx | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/components/section.tsx b/components/section.tsx new file mode 100644 index 0000000..59120bf --- /dev/null +++ b/components/section.tsx @@ -0,0 +1,40 @@ +import { cn } from "@/lib/utils"; + +export function Section({ + children, + className, + innerClassName, + id, +}: { + children: React.ReactNode; + className?: string; + innerClassName?: string; + id?: string; +}) { + return ( + <section id={id} className={cn("px-5 py-20 sm:px-8 md:py-28", className)}> + <div className={cn("mx-auto w-full max-w-6xl", innerClassName)}> + {children} + </div> + </section> + ); +} + +export function Eyebrow({ + children, + className, +}: { + children: React.ReactNode; + className?: string; +}) { + return ( + <p + className={cn( + "inline-flex items-center rounded-full border border-violet-400/25 bg-violet-500/10 px-3 py-1 font-mono text-[11px] font-medium uppercase tracking-[0.22em] text-violet-200", + className + )} + > + {children} + </p> + ); +} |
