Skip to content

Commit 88da915

Browse files
authored
changed href of buttons
1 parent a8b7259 commit 88da915

8 files changed

Lines changed: 12 additions & 11 deletions

File tree

‎src/components/drive/HeroSection.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const HeroSection = ({ textContent, download, ChecksTag = 'p' }: HeroSectionProp
8080

8181
<div className="flex w-1/2 flex-row gap-3 lg:w-5/6">
8282
<Link
83-
href={'/pricing'}
83+
href={'#billingButtons'}
8484
className="flex h-[48px] w-min flex-1 items-center justify-center whitespace-nowrap rounded-sm-6 bg-primary px-6 py-4 text-base font-medium text-white transition-colors hover:bg-primary-dark"
8585
>
8686
{textContent.cta}

‎src/components/nas/HeroSection.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const HeroSection = ({ textContent }) => (
3030
))}
3131
</div>
3232
<Link
33-
href={'/pricing'}
33+
href={'#billingButtons'}
3434
className="z-10 flex h-min w-min items-center justify-center whitespace-nowrap rounded-sm-6 bg-primary px-6 py-4 text-base font-normal text-white hover:bg-primary-dark"
3535
>
3636
{textContent.cta}

‎src/components/reviews/HeroSection.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function HeroSection({ textContent }: Readonly<HeroSectionDealsPr
3636
</div>
3737
</div>
3838
<Link
39-
href={'/pricing'}
39+
href={'#billingButtons'}
4040
className="z-10 flex items-center justify-center whitespace-nowrap rounded-sm-6 bg-primary py-4 text-base font-medium text-white hover:bg-primary-dark lg:w-[177px]"
4141
>
4242
{textContent.cta}

‎src/components/reviews/ReviewersSelector.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const ReviewersSelector = ({
1010
activeSwitchPlan,
1111
onPlanTypeChange,
1212
}: PlanSwitchProps): JSX.Element => (
13-
<div id="billingButtons" className={`flex h-[38px] w-full flex-row rounded-lg bg-neutral-90/10 lg:w-[423.67px]`}>
13+
<div id="reviewersButtons" className={`flex h-[38px] w-full flex-row rounded-lg bg-neutral-90/10 lg:w-[423.67px]`}>
1414
<button
1515
type="button"
1616
onClick={() => {

‎src/components/shared/FeatureSection.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const FeatureSection = ({ title, subtitle, description, ctaText, ctaLink, cards
2828
<section className="flex flex-col items-center justify-center space-y-12 overflow-hidden px-5">
2929
<div className="flex w-full flex-col items-center justify-center space-y-6 text-center lg:max-w-[70%]">
3030
<h2 className="text-30 font-semibold leading-tight text-gray-100 lg:text-3xl">{title}</h2>
31-
<div className="flex flex-col space-y-6 lg:max-w-[800px]">
31+
<div className="flex flex-col space-y-6 lg:max-w-[950px]">
3232
{subtitle && <p className="text-lg font-medium leading-tight text-gray-80 lg:text-2xl">{subtitle}</p>}
3333
{description && (
3434
<p

‎src/components/templates/dealsTemplate.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const DealsTemplate = ({
5454
lifetimeCoupon,
5555
lifetimeCoupons,
5656
} = usePricing({
57-
couponCodeForLifetime: config.couponCodeForLifetime,
57+
couponCodeForLifetime: PromoCodeName.seolp,
5858
});
5959

6060
const navbarCta = 'chooseStorage';

‎src/components/webdav/HeroSection.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const HeroSection = ({ textContent }) => {
2222
</p>
2323
<p className="text-base font-normal leading-tight text-gray-55 lg:text-xl">{textContent.description}</p>
2424
<Link
25-
href={'/pricing'}
25+
href={'#billingButtons'}
2626
className="z-10 flex h-min w-min items-center justify-center whitespace-nowrap rounded-sm-6 bg-primary px-6 py-4 text-base font-normal text-white hover:bg-primary-dark"
2727
>
2828
{textContent.cta}

‎src/pages/webdav-rclone.tsx‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import FloatingCtaSectionv2 from '@/components/shared/FloatingCtaSectionV2';
1010
import Script from 'next/script';
1111
import { sm_breadcrumb_list } from '@/components/utils/schema-markup-generator';
1212

13-
const WebDAV = ({ metatagsDescriptions, langJson, navbarLang, footerLang }): JSX.Element => {
13+
const WebDAV = ({ metatagsDescriptions, langJson, navbarLang, footerLang, lang }): JSX.Element => {
1414
const metatags = metatagsDescriptions.filter((desc) => desc.id === 'webDAV');
1515

1616
return (
@@ -24,11 +24,11 @@ const WebDAV = ({ metatagsDescriptions, langJson, navbarLang, footerLang }): JSX
2424

2525
<HowToUseCLISection textContent={langJson.RcloneSupportSection} isRclone />
2626

27-
<WebDAVSupportSection textContent={langJson.WebDAVSupportSection} />
27+
<WebDAVSupportSection textContent={langJson.WebDAVSupportSection} lang={lang}/>
2828

2929
<FloatingCtaSectionv2
3030
textContent={langJson.CtaSection}
31-
url={'/pricing'}
31+
url={'#billingButtons'}
3232
customText={
3333
<div className="flex flex-col items-center gap-4 px-4 text-center lg:px-0">
3434
<p className="text-2xl font-semibold leading-tight text-gray-95 lg:text-4xl">{langJson.CtaSection.title}</p>
@@ -49,7 +49,7 @@ const WebDAV = ({ metatagsDescriptions, langJson, navbarLang, footerLang }): JSX
4949

5050
<FloatingCtaSectionv2
5151
textContent={langJson.CtaSection2}
52-
url={'/pricing'}
52+
url={'#billingButtons'}
5353
customText={
5454
<div className="flex flex-col items-center gap-4 px-4 text-center lg:px-0">
5555
<p className="text-2xl font-semibold leading-tight text-gray-95 lg:text-4xl">
@@ -87,6 +87,7 @@ export async function getServerSideProps(ctx) {
8787
langJson,
8888
navbarLang,
8989
footerLang,
90+
lang,
9091
},
9192
};
9293
}

0 commit comments

Comments
 (0)