Skip to content

Style find-your-cruise columns block as HAL promo banner#6

Merged
lamontacrook merged 3 commits into
mainfrom
find-your-cruise-columns
Jul 8, 2026
Merged

Style find-your-cruise columns block as HAL promo banner#6
lamontacrook merged 3 commits into
mainfrom
find-your-cruise-columns

Conversation

@lamontacrook

@lamontacrook lamontacrook commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

What

Styles the columns block in the Find Your Cruise Vacation section on /en/us to match the "Around the World in 11 Ways" promotional banner on hollandamerica.com/en/us, leveraging the existing find-your-cruise section metadata (Style: find-your-cruise).

Test URLs

Compare the "Find Your Cruise Vacation" section (directly below the hero):

(Live equivalents: before · after)

Changes

  • styles/styles.css — new .section.find-your-cruise variant: full-bleed navy background (--brand-navy) with a centered white serif (--display-font-family) heading. Mirrors the existing .section.dark pattern.
  • blocks/columns/columns.css.find-your-cruise .columns renders as a horizontal banner: image on one side (subtle navy tint), a light content panel on the other with navy heading/body copy and an orange pill CTA. Stacks image-over-panel below 900px.

Notes

  • Scoped to .find-your-cruise, so other columns blocks (e.g. the "Give $50, Get $50" block on the same page) are unaffected.
  • The "Enter Now" CTA is a plain authored link. This project's decorateButtons only buttonizes bold/italic links, so the pill is applied via CSS to a:not(.button) — works with the current content and stays compatible if the link is later authored as a .button.accent.
  • Verified locally at desktop and mobile; lint clean on both changed files.
  • ⚠️ The build (lint) check is failing on pre-existing errors in aem-edge-functions/ (red on main since PR Set up edge functions baseline #4); none involve the files in this PR. The aem-psi-check mobile run hit a transient Lighthouse timeout (desktop scored 94 / LCP 0.3s / TBT 0).

🤖 Generated with Claude Code

Add a find-your-cruise section variant that renders the columns block on
/en/us as the "Around the World" promotional banner from
hollandamerica.com/en/us: full-bleed navy section with a centered serif
heading, image-left / light-panel-right banner, navy copy, and an orange
pill CTA. Responsive (stacks on mobile) and scoped to the section so other
columns blocks are unaffected.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@aem-code-sync

aem-code-sync Bot commented Jul 8, 2026

Copy link
Copy Markdown

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.

  • Re-run all PSI checks
  • Re-run failed PSI checks
  • Re-sync branch
Commits

@aem-code-sync

aem-code-sync Bot commented Jul 8, 2026

Copy link
Copy Markdown
Page Scores Audits Google
📱 /en/us PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ /en/us PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
📱 /en/us PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI
🖥️ /en/us PERFORMANCE A11Y SEO BEST PRACTICES SI FCP LCP TBT CLS PSI

aem-edge-functions is a self-contained Fastly Compute subproject with its
own package.json, lockfile, and test runner. The root airbnb-base/browser
eslint config is inappropriate for its server-side ESM code (fastly:*
imports, addEventListener, mocha globals), which broke `npm run lint` and
the build check for the whole repo. Ignore it here, mirroring the existing
helix-importer-ui exclusion; it can be linted by its own toolchain.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@aem-code-sync
aem-code-sync Bot temporarily deployed to find-your-cruise-columns July 8, 2026 16:19 Inactive
Applied object-fit:cover with height:100% unconditionally, but on mobile the
column has no definite height so the image couldn't reserve its aspect ratio,
causing layout shift (PSI mobile CLS 0.238). Keep the natural aspect ratio on
mobile and only fill/crop at >=900px, where the row has a fixed min-height.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@lamontacrook
lamontacrook merged commit 274f361 into main Jul 8, 2026
1 of 2 checks passed
@lamontacrook
lamontacrook deleted the find-your-cruise-columns branch July 8, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant