Skip to content
This repository was archived by the owner on Apr 7, 2024. It is now read-only.

Commit

Permalink
Gro 19/open beta (#83)
Browse files Browse the repository at this point in the history
* 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
NicHaley authored Jan 25, 2024
1 parent 7843375 commit fae022b
Show file tree
Hide file tree
Showing 18 changed files with 1,137 additions and 91 deletions.
2 changes: 1 addition & 1 deletion .floe/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"rulesets": {
"docs": {
"include": ["apps/web/pages/docs/**/*.{md,mdx}"],
"include": ["apps/web/**/*.{md,mdx}"],
"rules": {
"spelling-and-grammar": "warn",
"docs-style": "warn"
Expand Down
12 changes: 6 additions & 6 deletions apps/app/src/app/(authenticated)/[workspace]/billing/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,19 @@ export default async function Billing({
: null;
const freeTierFeature = [
"25K Pro tokens",
"500K Basic tokens",
"250 Basic tokens",
"Slack support",
];

const proTierFeature = [
`2M Pro tokens`,
"10M Basic tokens",
`1M Pro tokens`,
"2M Basic tokens",
"Priority support",
"Higher rate limits",
];

const customTierFeature = [
"Option to bring your own key",
"Option to bring your own OpenAI key",
"Custom token limits",
"White-glove onboarding support",
"Dedicated support channel",
Expand Down Expand Up @@ -195,7 +195,7 @@ export default async function Billing({
</form>
)}
<p className="mt-10 text-sm font-semibold leading-6 text-zinc-900">
Features for professionals and small teams.
For professionals and small teams.
</p>
<ul className="mt-6 space-y-3 text-sm leading-6 text-zinc-600">
{proTierFeature.map((feature) => (
Expand Down Expand Up @@ -260,7 +260,7 @@ export default async function Billing({
</Link>
)}
<p className="mt-10 text-sm font-semibold leading-6 text-zinc-900">
Features for large teams and enterprises.
For large teams and enterprises.
</p>
<ul className="mt-6 space-y-3 text-sm leading-6 text-zinc-600">
{customTierFeature.map((feature) => (
Expand Down
3 changes: 1 addition & 2 deletions apps/app/src/app/signin/form.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
"use client";
import { useState } from "react";
import { signIn } from "next-auth/react";
import { Button, Input } from "@floe/ui";
import { Button, Input, Spinner } from "@floe/ui";
import Image from "next/image";
import type { FormEvent } from "react";
import { Spinner } from "@floe/ui";
import { useSearchParams } from "next/navigation";
import logo from "public/logo.png";

Expand Down
34 changes: 0 additions & 34 deletions apps/web/components/home/beta-card.tsx

This file was deleted.

41 changes: 41 additions & 0 deletions apps/web/components/home/feature-card.tsx
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>
);
}
Loading

0 comments on commit fae022b

Please sign in to comment.