Decrease spacing between Pricing and the next section (#6020)

This commit is contained in:
Piotr Monwid-Olechnowicz 2024-11-21 16:10:01 +01:00 committed by GitHub
parent c337719a48
commit 573a18b169
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 4 deletions

View file

@ -16,9 +16,9 @@ export function PricingPage() {
<Page className="text-green-1000 light mx-auto max-w-[90rem] overflow-hidden">
<PricingPageHero className="mx-4 max-sm:mt-2 md:mx-6" />
<Pricing />
<Pricing className="mt-4" />
<PlanComparison className="mx-4 mt-6 md:mx-6" />
<PlanComparison className="mx-4 md:mx-6" />
<CompanyTestimonialsSection className="mx-4 mt-6 md:mx-6" />

View file

@ -71,9 +71,15 @@ function PlanFeaturesListItem(props: HTMLAttributes<HTMLLIElement>) {
const USAGE_DATA_RETENTION_EXPLAINER = 'How long your GraphQL operations are stored on Hive';
const OPERATIONS_EXPLAINER = 'GraphQL operations reported to GraphQL Hive';
export function Pricing({ children }: { children?: ReactNode }): ReactElement {
export function Pricing({
children,
className,
}: {
children?: ReactNode;
className?: string;
}): ReactElement {
return (
<section className="py-12 sm:py-24">
<section className={cn('py-12 sm:py-20', className)}>
<div className="mx-auto box-border w-full max-w-[1200px]">
{children}