blob: 59120bfca955b40a85a9c5a0682ad0eeea792911 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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>
);
}
|