Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[website] Add enterprise plan #44267

Draft
wants to merge 34 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
eca4323
add-enterprise-column
prakhargupta1 Oct 30, 2024
5b8168c
hours
prakhargupta1 Oct 30, 2024
c3d0fc4
no pricing for enterprise
prakhargupta1 Oct 31, 2024
b1d1602
mobile-view and static header
prakhargupta1 Oct 31, 2024
f8e8890
add a priority support row and pnpm dedupe
prakhargupta1 Nov 1, 2024
5cf13da
icon-color
prakhargupta1 Nov 1, 2024
93a56b3
edit
prakhargupta1 Nov 1, 2024
56828de
from review
prakhargupta1 Nov 7, 2024
eb5b944
better way to showcase priority support
prakhargupta1 Nov 7, 2024
31a0e09
support icon
prakhargupta1 Nov 7, 2024
2152572
minor
prakhargupta1 Nov 7, 2024
30e5c02
Merge branch 'master' into enterprise
prakhargupta1 Nov 14, 2024
29123d7
try
prakhargupta1 Nov 15, 2024
4f85cc9
reset pnpm-lock.yaml changes
oliviertassinari Nov 15, 2024
e2d5636
cleanup context provider
oliviertassinari Nov 15, 2024
af233ba
compress SVG
oliviertassinari Nov 15, 2024
cc2cb12
define before use
oliviertassinari Nov 15, 2024
bdff1ef
fix provider location
oliviertassinari Nov 15, 2024
7f5cd32
scope for performance
oliviertassinari Nov 15, 2024
fb64729
fix build
oliviertassinari Nov 15, 2024
4c6e30b
wip
oliviertassinari Nov 15, 2024
6c849d7
more
prakhargupta1 Nov 15, 2024
b672f8d
update pricingdisplay, add FAQ, clean
prakhargupta1 Nov 18, 2024
90a24ce
Merge branch 'master' into enterprise
prakhargupta1 Nov 18, 2024
d952df7
plan description
prakhargupta1 Nov 18, 2024
b826a22
add-changes-from-figma
prakhargupta1 Jan 8, 2025
bb151a1
theme
prakhargupta1 Jan 8, 2025
3426146
fix dark mode
prakhargupta1 Jan 9, 2025
bc07cf5
adjustments-mobileview
prakhargupta1 Jan 9, 2025
62c42e3
noPaddingBottom
prakhargupta1 Jan 9, 2025
7a3f584
Merge branch 'master' into enterprise
prakhargupta1 Jan 15, 2025
f20b2b2
improve-conflict
prakhargupta1 Jan 15, 2025
76b8ac7
more
prakhargupta1 Jan 15, 2025
4ae411f
Small design tweaks
zanivan Jan 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
25 changes: 16 additions & 9 deletions docs/pages/pricing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ import HeroEnd from 'docs/src/components/home/HeroEnd';
import AppFooter from 'docs/src/layouts/AppFooter';
import BrandingCssVarsProvider from 'docs/src/BrandingCssVarsProvider';
import AppHeaderBanner from 'docs/src/components/banner/AppHeaderBanner';
import { PrioritySupportProvider } from 'docs/src/components/pricing/PrioritySupportContext';
import { LicenseModelProvider } from 'docs/src/components/pricing/LicenseModelContext';
import PricingCards from 'docs/src/components/pricing/PricingCards';

export default function Pricing() {
return (
Expand All @@ -27,16 +29,21 @@ export default function Pricing() {
<AppHeader />
<main id="main-content">
<HeroPricing />
<Divider />
<LicenseModelProvider>
{/* Mobile, Tablet */}
<Container sx={{ display: { xs: 'block', md: 'none' }, pb: 3, mt: '-1px' }}>
<PricingList />
</Container>
{/* Desktop */}
<Container sx={{ display: { xs: 'none', md: 'block' } }}>
<PricingTable />
</Container>
<PrioritySupportProvider>
<Container sx={{ display: { xs: 'none', md: 'block' } }}>
<PricingCards />
</Container>
<Divider />
{/* Mobile, Tablet */}
<Container sx={{ display: { xs: 'block', md: 'none' }, pb: 3, mt: '-1px' }}>
<PricingList />
</Container>
{/* Desktop */}
<Container sx={{ display: { xs: 'none', md: 'block' } }}>
<PricingTable />
</Container>
</PrioritySupportProvider>
</LicenseModelProvider>
<PricingWhatToExpect />
<Divider />
Expand Down
1 change: 1 addition & 0 deletions docs/public/static/branding/pricing/x-plan-enterprise.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions docs/src/components/pricing/InfoPrioritySupport.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import * as React from 'react';
import Typography from '@mui/material/Typography';
import { usePrioritySupport } from 'docs/src/components/pricing/PrioritySupportContext';

export default function InfoPrioritySupport(props: {
value: React.ReactNode;
value2?: React.ReactNode;
metadata?: React.ReactNode;
metadata2?: React.ReactNode;
}) {
const { value, value2, metadata, metadata2 } = props;
const { prioritySupport } = usePrioritySupport();

return (
<React.Fragment>
{prioritySupport ? (
<React.Fragment>
<Typography variant="body2" sx={{ color: 'text.secondary', textAlign: 'center' }}>
{value}
</Typography>
<Typography
variant="caption"
sx={{
color: 'text.secondary',
fontWeight: 'normal',
display: 'block',
mt: 0.4,
textAlign: 'center',
}}
>
{metadata}
</Typography>
</React.Fragment>
) : (
<React.Fragment>
<Typography variant="body2" sx={{ color: 'text.secondary', textAlign: 'center' }}>
{value2}
</Typography>
<Typography
variant="caption"
sx={{
color: 'text.secondary',
fontWeight: 'normal',
display: 'block',
mt: 0.4,
textAlign: 'center',
}}
>
{metadata2}
</Typography>
</React.Fragment>
)}
</React.Fragment>
);
}
Loading
Loading