Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
édouard wautier authored and édouard wautier committed Oct 24, 2023
1 parent da688d3 commit df3aadc
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 21 deletions.
69 changes: 50 additions & 19 deletions front/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ export default function Home({
<div
className={classNames(
defaultFlexClasses,
"s-dark dark col-span-8 col-start-3 flex flex-col gap-4"
"s-dark dark col-span-12 flex flex-col gap-4"
)}
>
<H2>Pricing</H2>
Expand All @@ -376,7 +376,6 @@ export default function Home({
price="$0"
priceLabel="/ month"
color="emerald"
className="w-64"
>
<PriceTable.Item label="One user" variant="dash" />
<PriceTable.Item label="One workspace" variant="dash" />
Expand All @@ -386,34 +385,66 @@ export default function Home({
label="50 documents as data sources"
variant="dash"
/>
<PriceTable.Item
label="No connections
(GitHub, Google Drive, Notion, Slack)"
variant="xmark"
/>
<PriceTable.Item label="Privacy and Data Security" />
<PriceTable.Item label="State of the art LLM models (GPT-4, Claude, …)" />
<PriceTable.Item label="Dust Developer Platform" />
</PriceTable>
<PriceTable
title="Team"
price="0€"
title="Pro"
price="$29"
color="sky"
priceLabel="/ month / seat"
className="w-64"
>
<PriceTable.Item label="Unlimited members / workspace" />
<PriceTable.Item label="Up to 500 users" />
<PriceTable.Item label="One workspace" variant="dash" />
<PriceTable.Item label="Unlimited custom assistants" />
<PriceTable.Item label="Advanced LLM models (gpt4, Claude, ...)" />
<PriceTable.Item label="1 user" />
<PriceTable.Item label="1 user" />
<PriceTable.Item label="1 user" />
<PriceTable.Item label="1 user" />
<PriceTable.Item label="Unlimited messages" />
<PriceTable.Item label="Unlimited data sources (fair use)" />
<PriceTable.Item
label="Connections
(GitHub, Google Drive, Notion, Slack)"
/>
<PriceTable.Item label="Privacy and Data Security" />
<PriceTable.Item label="State of the art LLM models (GPT-4, Claude, …)" />
<PriceTable.Item label="Dust Developer Platform" />

<PriceTable.Item label="Single Sign-on (Google, GitHub)" />
<PriceTable.Item
label="Workspace role and permissions"
variant="dash"
/>
<PriceTable.Item label="Centralize billing" variant="dash" />

<PriceTable.Item label="Assistants available via Slackbot" />
<PriceTable.Item label="Assistants can execute Dust Apps" />
</PriceTable>
<PriceTable title="Enterprise" price="Custom" className="w-64">
<PriceTable.Item label="Unlimited members / workspace" />
<PriceTable.Item label="Unlimited workspaces" />
<PriceTable title="Enterprise" price="Custom">
<PriceTable.Item label="From 100 users" />
<PriceTable.Item label="Multiple workspaces" variant="dash" />
<PriceTable.Item label="Unlimited custom assistants" />
<PriceTable.Item label="1 user" />
<PriceTable.Item label="1 user" />
<PriceTable.Item label="1 user" />
<PriceTable.Item label="1 user" />
<PriceTable.Item label="1 user" />
<PriceTable.Item label="Unlimited messages" />
<PriceTable.Item label="Unlimited data sources (fair use)" />
<PriceTable.Item
label="Connections
(GitHub, Google Drive, Notion, Slack)"
/>
<PriceTable.Item label="Privacy and Data Security" />
<PriceTable.Item label="State of the art LLM models (GPT-4, Claude, …)" />
<PriceTable.Item label="Dust Developer Platform" />

<PriceTable.Item label="Single Sign-on (Google, GitHub)" />
<PriceTable.Item label="Advanced workspace role and permissions" />
<PriceTable.Item label="Centralize billing" />

<PriceTable.Item label="Assistants available via Slackbot" />
<PriceTable.Item label="Assistants can execute Dust Apps" />
<PriceTable.Item label="Assistant design and evaluation" />
<PriceTable.Item label="Dedicated account support" />
</PriceTable>
</div>
</div>
Expand Down
6 changes: 4 additions & 2 deletions sparkle/src/components/PriceTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function PriceTable({
return (
<div
className={classNames(
"s-w-72",
"s-w-full",
"s-flex s-cursor-default s-flex-col s-rounded-xl s-p-1 s-shadow-xl",
"s-duration-400 s-scale-95 s-transition-all s-ease-out hover:s-scale-100",
colorTable[color],
Expand Down Expand Up @@ -155,5 +155,7 @@ interface PriceTableContainerProps {
}

PriceTable.Container = function ({ children }: PriceTableContainerProps) {
return <div className="s-flex s-w-full s-gap-3">{children}</div>;
return (
<div className="s-flex s-w-full s-items-stretch s-gap-3">{children}</div>
);
};

0 comments on commit df3aadc

Please sign in to comment.