Files
community-rule/app/components/ContentLockup.js
T
2025-08-19 16:59:17 -06:00

44 lines
1.4 KiB
JavaScript

"use client";
import Button from "./Button";
const ContentLockup = ({ title, subtitle, description, ctaText, ctaHref }) => {
return (
<div className="flex flex-col gap-[var(--spacing-scale-006)] sm:gap-[var(--spacing-scale-012)] relative z-10">
{/* Text content container */}
<div className="flex flex-col">
{/* Title container */}
<div className="flex gap-[var(--spacing-scale-008)] items-center">
<h1 className="font-bricolage-grotesque font-medium text-[32px] leading-[32px] sm:text-[52px] sm:leading-[52px] text-[var(--color-content-inverse-primary)]">
{title}
</h1>
<img
src="/assets/Shapes_1.svg"
alt="Decorative shapes"
className="w-[27.2px] h-[27.2px]"
/>
</div>
{/* Subtitle */}
<h2 className="font-bricolage-grotesque font-medium text-[32px] leading-[32px] sm:text-[52px] sm:leading-[52px] text-[var(--color-content-inverse-primary)]">
{subtitle}
</h2>
{/* Description */}
<p className="font-inter font-[400] text-[18px] leading-[130%] text-[var(--color-content-inverse-primary)] pr-[var(--spacing-scale-032)]">
{description}
</p>
</div>
{/* CTA Button */}
<div className="flex justify-start">
<Button variant="primary" size="small">
{ctaText}
</Button>
</div>
</div>
);
};
export default ContentLockup;