hlxsites / vg-volvotrucks-us

Franklin site for https://www.volvotrucks.us/
https://www.volvotrucks.us/
Apache License 2.0
2 stars 5 forks source link

Fix how buttons/links are decorated #652

Closed amglebihan closed 2 weeks ago

amglebihan commented 3 weeks ago

Test URLs:

aem-code-sync[bot] commented 3 weeks ago

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed. In case there are problems, just click a checkbox below to rerun the respective action.

Commits * [c1cfc6a](https://github.com/hlxsites/vg-volvotrucks-us/commit/c1cfc6a1ae3739c3cf63aa23d3ce2b28031a8ec0) :white_check_mark: (latest) * [3b73897](https://github.com/hlxsites/vg-volvotrucks-us/commit/3b7389722893cbc5ecc7af1e40496b1fdc28c825) :white_check_mark: * [a99f4c2](https://github.com/hlxsites/vg-volvotrucks-us/commit/a99f4c20199d8137e2852e466154757949ddd69a) :white_check_mark: * [adf607c](https://github.com/hlxsites/vg-volvotrucks-us/commit/adf607cf2d015280fad95641a072436b6cd36c89) :white_check_mark: * [3623be1](https://github.com/hlxsites/vg-volvotrucks-us/commit/3623be1fb0c9598ccd0f3aac9765fd68d0fbbf21) :white_check_mark: * [497566b](https://github.com/hlxsites/vg-volvotrucks-us/commit/497566bffa03e8b6ebaaa03f06c23cf490f30bb6) :white_check_mark: * [fcd5170](https://github.com/hlxsites/vg-volvotrucks-us/commit/fcd51709f83f27d4a92291694dfa30ca2c5d1c01) :white_check_mark: * [d688a88](https://github.com/hlxsites/vg-volvotrucks-us/commit/d688a88c5e618cde3f639bceeda6c2255d9de923) :x:
aem-code-sync[bot] commented 3 weeks ago
Page Scores Audits Google
/ PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
cogniSyb commented 3 weeks ago

Please check https://www.volvotrucks.mx/about-volvo/contact-us/ and its source. Here we have links in paragraphs, with content around it: Screen Shot 2024-06-10 at 17 00 02

This is also shown incorrect: Screen Shot 2024-06-10 at 17 00 36

amglebihan commented 3 weeks ago

@cogniSyb Regarding your comment above, I added a condition that checks if the parent elements of an anchor don't have the "button-container" class and remove the button classes if it is the case.