plano/www/src/components/UnlockPotentialSection.tsx

41 lines
1.2 KiB
TypeScript
Raw Normal View History

import React from "react";
import { Button } from "./ui/button";
interface UnlockPotentialSectionProps {
variant?: "transparent" | "black";
className?: string;
}
2025-11-21 11:18:35 -08:00
export function UnlockPotentialSection({
variant = "transparent",
className = "",
}: UnlockPotentialSectionProps) {
const backgroundClass = variant === "black" ? "bg-[#1a1a1a]" : "";
const textColor = variant === "black" ? "text-white" : "text-black";
return (
2025-11-21 11:18:35 -08:00
<section
className={`relative py-24 px-6 lg:px-[102px] ${backgroundClass} ${className}`}
>
<div className="max-w-[81rem] mx-auto">
<div className="max-w-4xl">
2025-11-21 11:18:35 -08:00
<h2
className={`font-sans font-normal text-[1.8rem] lg:text-4xl tracking-[-2.55px]! ${textColor} leading-[1.4] mb-8`}
>
Focus on prompting, not plumbing.
<br />
Build with{" "}
<strong className="font-medium text-primary">plano</strong>, get
started in less than a minute.
</h2>
2025-11-21 11:18:35 -08:00
<div className="flex flex-col sm:flex-row gap-5">
2025-11-21 11:18:35 -08:00
<Button>Deploy today</Button>
<Button variant="secondaryDark">Documentation</Button>
</div>
</div>
</div>
</section>
);
}