Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 7 additions & 6 deletions src/components/home/ReviewsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,21 @@

const reviews = [
{
logo: '/images/home/NewDesign/pcmag.png',
logo: '/images/home/NewDesign/trustpilot.webp',
alt: 'pcMag Logo',
text: textContent.pcMag,
},
{
logo: darkMode ? '/images/home/NewDesign/pcworld-new.webp' : '/images/home/NewDesign/pcworld-new.webp',

Check warning on line 68 in src/components/home/ReviewsSection.tsx

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

This conditional operation returns the same value whether the condition is "true" or "false".

See more on https://sonarcloud.io/project/issues?id=internxt_website&issues=AZzDCt3mO6bN7S7TSvrs&open=AZzDCt3mO6bN7S7TSvrs&pullRequest=1816
alt: 'pcworld Logo',
text: textContent.pcWorld,
},
{
logo: '/images/home/NewDesign/ForbesIcon.webp',
alt: 'Forbes Logo',
text: textContent.mashable,
},
{
logo: darkMode ? '/images/home/NewDesign/pcworld-dark.webp' : '/images/home/NewDesign/pcworld.png',
alt: 'pcworld Logo',
text: textContent.pcWorld,
},

];

const maxIndex = reviews.length - 1;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export enum PromoCodeName {
euro2024fiveTB = '75OFF5TB',
euro2024TenTB = '75OFF10TB',
freeUserCoupon = 'SPECIAL75',
PcmagCoupon = 'PCMAG90',
PcmagCoupon = 'PCMAG87',
CloudwardsCoupon = 'CLOUDWARDS85',
OnePlanCoupon = '5TBplan',
AllPlansCoupon = 'SUMMER80',
Expand Down
Loading