Skip to content

Commit

Permalink
Update black-friday.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
jaaaaavier committed Dec 3, 2024
1 parent 634d926 commit e3e6324
Showing 1 changed file with 11 additions and 29 deletions.
40 changes: 11 additions & 29 deletions src/pages/black-friday.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ import { GetServerSidePropsContext } from 'next';
import { FooterText, MetatagsDescription, NavigationBarText } from '@/assets/types/layout/types';
import { BlackFridayText } from '@/assets/types/blackFriday';
import { PricingText } from '@/assets/types/pricing';
import SuiteSection from '@/components/black-friday/SuiteSection';
import BestStorageSection from '@/components/black-friday/BestStorageSection';
import FeaturesSection from '@/components/black-friday/FeaturesSection';

const BLACK_FRIDAY_METATAG_ID = 'black-friday';
interface BlackFridayProps {
Expand Down Expand Up @@ -99,35 +102,13 @@ const BlackFriday = ({

<HeroSection lang={locale} textContent={langJson.blackFriday} />

<PricingSectionWrapper
textContent={pricingLang.tableSection}
lang={locale}
products={products}
loadingCards={loadingCards}
onBusinessPlansSelected={onBusinessPlansSelected}
onCheckoutButtonClicked={onCheckoutButtonClicked}
hideFreeCard
darkMode
backgroundColorComponent="bg-highlight"
hideTitle
decimalDiscount={{
individuals: decimalDiscount,
business: decimalDiscount,
lifetime: decimalDiscount,
}}
CustomDescription={
<div className="w-full max-w-4xl">
<span className="text-5xl font-semibold text-white">
{pricingLang.tableSection.planTitles.blackFriday.title}
</span>
<br />
<br />
<span className="font-regular text-xl text-gray-5">
{pricingLang.tableSection.planTitles.blackFriday.description}
</span>
</div>
}
/>
<FeaturesSection textContent={langJson.blackFriday} lang={locale} />

<BestStorageSection textContent={langJson.blackFriday} lang={locale} />

<SuiteSection textContent={langJson.blackFriday} lang={locale} />

<CtaSection textContent={langJson.cta} lang={locale} />

<TextAndCardsGroupColumnSection
TextComponent={
Expand All @@ -141,6 +122,7 @@ const BlackFriday = ({
backgroundColorForCard="bg-gray-100"
textCardColor="text-white"
/>

<PlatformSection textContent={langJson.blackFriday} />

<TestimonialsSection
Expand Down

0 comments on commit e3e6324

Please sign in to comment.