mirror of
https://github.com/katanemo/plano.git
synced 2026-06-29 15:49:40 +02:00
This change brings Turborepo monorepo to independently handle the marketing website, the docs website and any other future use cases for mutli-platform support. They are using internal @katanemo package handlers for the design system and logic.
40 lines
1.3 KiB
TypeScript
40 lines
1.3 KiB
TypeScript
import React from "react";
|
|
import { Button } from "./ui/button";
|
|
|
|
interface UnlockPotentialSectionProps {
|
|
variant?: "transparent" | "black";
|
|
className?: string;
|
|
}
|
|
|
|
export function UnlockPotentialSection({
|
|
variant = "transparent",
|
|
className = "",
|
|
}: UnlockPotentialSectionProps) {
|
|
const backgroundClass = variant === "black" ? "bg-[#1a1a1a]" : "";
|
|
const textColor = variant === "black" ? "text-white" : "text-black";
|
|
|
|
return (
|
|
<section
|
|
className={`relative py-24 px-6 lg:px-[102px]`} style={{ background: "linear-gradient(to top right, #ffffff, #dcdfff)" }}
|
|
>
|
|
<div className="max-w-[81rem] mx-auto">
|
|
<div className="max-w-4xl">
|
|
<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>
|
|
|
|
<div className="flex flex-col sm:flex-row gap-5">
|
|
<Button>Deploy today</Button>
|
|
<Button variant="secondaryDark">Documentation</Button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
}
|