-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(saas): added promotion section to landing page
- Loading branch information
1 parent
0789c39
commit 9cec7c6
Showing
5 changed files
with
62 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
type BackgroundProps = { | ||
children: React.ReactNode; | ||
}; | ||
|
||
export function Background({ children }: BackgroundProps) { | ||
return ( | ||
<> | ||
<svg | ||
className="absolute inset-0 -z-10 h-full w-full stroke-muted-foreground/25 [mask-image:radial-gradient(100%_150%_at_top,white,transparent)]" | ||
aria-hidden="true" | ||
> | ||
<defs> | ||
<pattern | ||
id="0787a7c5-978c-4f66-83c7-11c213f99cb7" | ||
width={200} | ||
height={200} | ||
x="50%" | ||
y={-1} | ||
patternUnits="userSpaceOnUse" | ||
> | ||
<path d="M.5 200V.5H200" fill="none" /> | ||
</pattern> | ||
</defs> | ||
<rect | ||
width="100%" | ||
height="100%" | ||
strokeWidth={0} | ||
fill="url(#0787a7c5-978c-4f66-83c7-11c213f99cb7)" | ||
/> | ||
</svg> | ||
{children} | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import Balancer from "react-wrap-balancer"; | ||
|
||
export function Promotion() { | ||
return ( | ||
<section className="flex min-h-96 w-full flex-col items-center justify-center gap-5 rounded-[26px] bg-foreground p-8 py-10 text-background"> | ||
<Balancer as="h2" className="font-heading font-bold md:text-5xl"> | ||
Launch your SaaS in just a few days 🚀 | ||
</Balancer> | ||
<Balancer as="p" className="text-center text-xl text-background/70"> | ||
Because Rapidlaunch comes with a SaaS starter kit, Blocks and | ||
guides, and more, you can launch your SaaS in just a few days. | ||
Get started with our starter kits, components, building guides, | ||
and more. Customizable.{" "} | ||
<span className="rounded-[5px] bg-background p-1 font-semibold text-foreground"> | ||
Open Source. | ||
</span> | ||
</Balancer> | ||
</section> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters