Skip to content

[MKT-960]feat/Modifications on Mail LP - #2011

Merged
internxt-yu merged 5 commits into
mainfrom
feat/modification-on-Mail-LP
Jul 31, 2026
Merged

[MKT-960]feat/Modifications on Mail LP#2011
internxt-yu merged 5 commits into
mainfrom
feat/modification-on-Mail-LP

Conversation

@internxt-yu

@internxt-yu internxt-yu commented Jul 31, 2026

Copy link
Copy Markdown
Contributor
  1. Changes in FAQSection and FAQAccordion, added lastItemAsP and totalItems make configurable the number of <h3> in FaqSection, in the meanwhile, mantaining the logic for other pages that specified needsSpecialH3, when the index of FaqAcoordion > 5, the element is <p> .
  2. Changes of html tags.

@internxt-yu
internxt-yu requested a review from jaaaaavier July 31, 2026 09:10
@internxt-yu internxt-yu self-assigned this Jul 31, 2026
@internxt-yu internxt-yu added the enhancement New feature or request label Jul 31, 2026
@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website Ready Ready Preview Jul 31, 2026 12:04pm

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

needsH3?: boolean;
needsSpecialH3?: boolean;
index?: number;
totalItems?: number;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid using numbers

Comment thread src/components/shared/FAQAccordion.tsx Outdated
return index >= totalItems - lastItemsAsP ? 'p' : 'h3';
}

return index < 5 ? 'h3' : 'p';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We dont want to use magic numbers

Comment thread src/pages/mail.tsx Outdated
needsH3={false}
needsSpecialH3
needsH2
lastItemsAsP={2}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use Magic numbers

@internxt-yu
internxt-yu merged commit d2a6a3b into main Jul 31, 2026
9 of 10 checks passed
@internxt-yu
internxt-yu deleted the feat/modification-on-Mail-LP branch July 31, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants