This repository was archived by the owner on Apr 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Modify billing page * wip * Add other colors for feature cards * Add examples to website * Add install section * wip * Improve spacing at top of website * Add content to FAQ Accordion * Add more content to the FAQ * Add pricing section * Finish of Pricing page * Improve copy in FAQ * Change CTA text * Modify mobile styling * Fix broken app build issue by setting 'use client' on Accordion
- Loading branch information
Showing
18 changed files
with
1,137 additions
and
91 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
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
This file was deleted.
Oops, something went wrong.
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,41 @@ | ||
import { Pill } from "@floe/ui"; | ||
|
||
const colors = { | ||
amber: "from-amber-500 bg-amber-400", | ||
rose: "from-rose-500 bg-rose-400", | ||
indigo: "from-indigo-500 bg-indigo-400", | ||
emerald: "from-emerald-500 bg-emerald-400", | ||
purple: "from-purple-500 bg-purple-400", | ||
}; | ||
|
||
export function FeatureCard({ | ||
pillText, | ||
title, | ||
description, | ||
color, | ||
children, | ||
}: { | ||
pillText: string; | ||
title: string; | ||
description: string; | ||
color: keyof typeof colors; | ||
children?: React.ReactNode; | ||
}) { | ||
return ( | ||
<div | ||
className={`relative ${colors[color]} z-10 px-10 py-8 -mx-10 text-center rounded-lg shadow-lg md:mx-auto md:w-2/3 bg-gradient-to-t after:absolute after:bg-noise after:inset-0 after:opacity-60 after:-z-10`} | ||
> | ||
<Pill color="black" text={pillText} /> | ||
<h3 className="mt-3 mb-3 text-4xl sm:text-5xl font-garamond">{title}</h3> | ||
<p className="mb-8 text-lg sm:text-xl text-zinc-700"> | ||
{description.split("\\n").map((line, i) => ( | ||
<span key={i}> | ||
{line} | ||
<br /> | ||
</span> | ||
))} | ||
</p> | ||
{children} | ||
</div> | ||
); | ||
} |
Oops, something went wrong.