Commit Graph
40 Commits
Author SHA1 Message Date
Keith SolomonandClaude 2bda7f21eb Restructure hero: image at natural size overflowing, intro as text, no hard-coded copy
- views/partials/page-hero.php: removed the page-intro partial call. The
  intro is now rendered inline as a single .page-hero__intro div
  containing the editor-supplied intro text only (no hard-coded
  heading). The H1 is rendered with a dedicated .page-hero__heading
  class for typography control. Breadcrumbs + H1 + intro are in a
  single .page-hero__content container.
- views/partials/page-intro.php: deleted (no longer used).
- styles/blocks/page-hero.css: rewritten layout. The hero has a min-height
  of clamp(31rem, 38vw, 36rem). .page-hero__media is a foreground
  absolutely-positioned img on the right (no mask, no cover, no
  object-fit), with bottom: -10% so the image's bottom hangs over
  the bottom edge of the hero. The vector is positioned at
  bottom: clamp(1.5rem, 4vw, 3rem) with some spacing from the bottom
  edge, full-width on the left. Both elements stay above the content
  layer (z-index 10) and below the breadcrumb/title text. The H1 uses
  Quincy serif at clamp(2.5rem, 6vw, 4.5rem). The intro text is
  capped at 36rem to sit alongside the H1 without spanning the full
  hero width.
- tests/inner-page.spec.js: removed the now-obsolete
  .page-hero__intro-heading / .page-hero__intro-text assertions (the
  intro is a single text block now).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-01 16:11:28 -05:00
Keith SolomonandClaude e221f62ef7 Refine hero: gradient backdrop, intro inside hero, image on right, vector visible
- styles/blocks/page-hero.css: add blue-to-teal gradient to .page-hero (matches
  homepage-hero). Fix image mask direction (right-to-left fade) so the image
  is visible on the right and fades to transparent on the left. Reposition
  the vector to span the full bottom of the hero at z-index 2 (above the
  media layer, below content). Add .page-hero__intro and .page-hero__intro-inner
  grid rules for the new two-column heading + body block.
- views/partials/page-hero.php: drop bg-dark / bg-cover / bg-no-repeat
  utilities (the gradient comes from CSS now). Simplify the heading render.
  Load the page-intro partial inside .page-hero__content, below the heading.
- views/partials/page-intro.php: rewrite as a fragment for embedding inside
  the hero - a two-column heading (hard-coded 'Our Work') + body grid.
  Returns early when the intro field is empty.
- page.php: remove the page-intro partial call (it's now loaded from
  page-hero.php).
- tests/inner-page.spec.js: switch the selector from .page-intro to
  .page-hero__intro. Update the order assertions to verify the intro is
  a descendant of the hero (not a sibling below it).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-01 15:25:39 -05:00
Keith Solomon edf3d6c5ce Add page-hero media layer CSS and import into blocks bundle 2026-07-01 10:22:29 -05:00
Keith Solomon 01101ff712 fix: update mobile navigation styles and comment out unused code
Deploy to Dreamhost (dev) / build (push) Successful in 35s
Sync TODOs with Issues / sync_todos (push) Successful in 7s
2026-06-28 20:52:40 -05:00
Keith Solomon 3db0ceaf8d fix: lock body scroll while menu is open, scroll menu internally
Per the user's request:

- Page scroll is locked when the mobile menu is open: add an
  :has() selector that applies overflow: hidden + touch-action: none to
  the <body> when the .nav-main__toggle has aria-expanded=true. Verified
  with mouse wheel and PageDown: window.scrollY stays at 0.

- Menu scrolls internally when its content overflows: switch
  .menu-vdi's 'overflow-hidden' to 'overflow-y: auto' with
  'overscroll-behavior: contain' so scroll gestures feed the menu
  rather than chain-scroll to the body behind it.

- Cap the menu at viewport height instead of growing: change
  'min-height: calc(100vh - var(--hgtHeader))' to
  'max-height: calc(100vh - var(--hgtHeader))' so the menu fills the
  visible space below the header and any overflowing items become
  scrollable inside the menu.
2026-06-28 19:59:10 -05:00
Keith Solomon 380e2d9015 fix: address remaining mobile menu issues
Per the user's feedback, fix the issues still visible in the menu:

1. Hero rendered over the menu: bumped menu z-index from 10 to 100 so it
   always sits above the hero's stacked elements.

2. List markers on items: added explicit list-style: none / padding: 0 on
   the menu <ul> and items to override the base typography rule that sets
   list-style-type: disc and padding: 0 1rem on every <ul>.

3. Blue links: the base typography rule 'a, .link { color: var(--color-bodylinks); }'
   has specificity 0,1,1 and was beating the menu text-white rule. Override
   with color: var(--color-white) !important on menu links and child links
   inside the mobile media query.

4. Full borders with rounded corners on child items: change child item
   border from '2px solid var(--color-secondary); border-radius: 0.5rem'
   to 'border-bottom: 2px solid var(--color-secondary); border-radius: 0'
   so each child gets only a bottom border (matching the user's spec).

5. Menu items now use plain CSS (color/display/padding/font-weight) instead
   of @apply text-white/no-underline to give them explicit override
   specificity against the base styles.

6. Toggle button: changed the SVG width from 2rem to 1.5rem in
   styles/components/site-header.css so the hamburger and X icons render
   at a square 1.5rem x 1.5rem aspect ratio inside the (intentionally)
   rectangular orange button.

Nav-main template unchanged from the previous commit (Contact button +
social icons already in place). Header test still passes - the button box
itself (72x45) is unchanged, only the icon aspect changed.
2026-06-28 18:05:12 -05:00
Keith Solomon 09d42ba2a9 fix: style mobile menu per spec
Per the user's spec, the mobile menu is:
- Dark navy background, white links, 95% viewport width
- Parent items (those with child links) get an orange chevron
- Child items get an orange border; nothing else gets any border
- Bottom of menu has a Contact link styled as a button and social icons

Changes:

1. Menu CSS (styles/navigation/nav-mobile-sliding.css):
   - Switch the menu background from white to bg-cwc-blue-02 (dark navy)
   - Switch menu item text from black to white
   - Hide the existing .menu-vdi__submenu and show the children inline under their
     parent with a 2px orange border, rounded corners, and white text
   - Style the existing chevron SVG inside the parent <button> with the orange
     secondary color so it's visible against the navy background
   - Add a .menu-vdi__footer block (Contact button + social icons) anchored to
     the bottom of the menu panel, shown only when the toggle is aria-expanded
   - Hide .menu-vdi__footer entirely at desktop so it doesn't leak into the
     page DOM and trigger accessibility warnings

2. Menu template (views/components/nav-main.php):
   - Append a .menu-vdi__footer div after the menu items containing a Contact
     link to home_url('/contact/') and the existing social-media partial
   - The footer renders inside <nav> but is positioned via fixed CSS to align
     with the menu panel

Header/toggle button unchanged - the orange/coral rounded button design from
the original mobile-fidelity plan was already correct and is left alone.
2026-06-28 17:32:05 -05:00
Keith Solomon 2399023286 🐞 fix: Adjust social icon styling 2026-06-28 14:11:46 -05:00
Keith Solomon 0a48a1938c fix: align mobile footer navigation 2026-06-27 22:54:17 -05:00
Keith Solomon 20d25e966d fix: match mobile footer design 2026-06-27 22:49:31 -05:00
Keith Solomon a360b8192a fix: complete mobile carousel and social updates 2026-06-27 18:00:32 -05:00
Keith Solomon 6d3bb76b17 fix: match mobile header and hero design 2026-06-27 17:38:49 -05:00
Keith Solomon ac2d5dad98 🐞 fix: Adjust list styles
Deploy to Dreamhost (dev) / build (push) Successful in 31s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-06-21 17:01:00 -05:00
Keith Solomon f3c97efcd7 🐞 feat: Add contact information section to footer with address, email, and phone icons
Deploy to Dreamhost (dev) / build (push) Successful in 30s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-06-21 15:12:03 -05:00
Keith Solomon 0c1594a091 🐞 fix: Adjust main padding
Deploy to Dreamhost (dev) / build (push) Successful in 32s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-06-20 21:22:49 -05:00
Keith Solomon df6e8cd7ef 🐞 fix: Add gradient fade for logo scroller track
Deploy to Dreamhost (dev) / build (push) Successful in 2m34s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-06-20 21:11:04 -05:00
Keith Solomon 032e7fe0a5 🐞 fix: Adjust button styling
Deploy to Dreamhost (dev) / build (push) Successful in 31s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-06-20 20:35:44 -05:00
Keith Solomon 5496a8e725 🐞 fix: Adjust dropdown z-index
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-06-20 11:49:04 -05:00
Keith Solomon 8328702a9c 🐞 fix: Pullquote block fixes
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-06-20 10:43:34 -05:00
Keith Solomon e5f3ac1947 🐞 fix: Update button styles for improved accessibility and consistency
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-06-16 18:44:35 -05:00
Keith Solomon 743aef0eec feature: Mobile homepage updates
Sync TODOs with Issues / sync_todos (push) Successful in 7s
2026-06-16 06:38:17 -05:00
Keith Solomon 084d66d1d9 🐞 fix: Our Work tweaks
Sync TODOs with Issues / sync_todos (push) Successful in 5s
2026-06-14 14:29:49 -05:00
Keith Solomon 307325ac5f feature: Our Work Block
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-06-14 13:56:14 -05:00
Keith Solomon 33085ff08c 🐞 fix: Update button styles and add home contact positioning
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-06-14 11:34:55 -05:00
Keith Solomon 194d26e1d5 🐞 fix: Update outline button styles
Sync TODOs with Issues / sync_todos (push) Successful in 5s
2026-06-13 11:34:03 -05:00
Keith Solomon 801cf7b8e4 🐞 fix: update color and typography styles
Sync TODOs with Issues / sync_todos (push) Successful in 5s
2026-06-13 10:33:36 -05:00
Keith Solomon d3e879c439 feature: Refactor footer layout and styles for improved design consistency
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-06-06 22:55:32 -05:00
Keith Solomon df0a499630 feature: Update typography and button styles for improved responsiveness
Sync TODOs with Issues / sync_todos (push) Successful in 7s
2026-06-05 15:03:08 -05:00
Keith Solomon 4bf9f0ed45 🐞 fix: Move max-width to global styles
Sync TODOs with Issues / sync_todos (push) Successful in 5s
2026-05-27 19:05:46 -05:00
Keith Solomon 54482b0e2b feature: Build contact block
Sync TODOs with Issues / sync_todos (push) Successful in 7s
2026-05-27 18:50:01 -05:00
Keith Solomon 5642bf4300 feature: Set up pullquote block
Sync TODOs with Issues / sync_todos (push) Successful in 7s
2026-05-18 13:08:32 -05:00
Keith SolomonandCopilot 489e0acb38 🐞 fix: Update main nav styling
Sync TODOs with Issues / sync_todos (push) Successful in 6s
Co-authored-by: Copilot <copilot@github.com>
2026-05-10 15:27:44 -05:00
Keith SolomonandCopilot 7511649cc8 🐞 fix: Make theme colors and typography compile regardless of usage
Sync TODOs with Issues / sync_todos (push) Successful in 6s
Co-authored-by: Copilot <copilot@github.com>
2026-05-10 15:27:09 -05:00
Keith SolomonandCopilot 9137fdb0f7 feature: Update navigation styles
Sync TODOs with Issues / sync_todos (push) Successful in 16s
Co-authored-by: Copilot <copilot@github.com>
2026-05-09 14:35:16 -05:00
Keith SolomonandCopilot 405f43baf9 🐞 fix: Navigation tweaks
Sync TODOs with Issues / sync_todos (push) Successful in 6s
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 15:20:09 -05:00
Keith Solomon 2bdfaba134 🐞 fix: update headings font
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-05-02 15:13:01 -05:00
Keith Solomon 9f5658849d 🐞 fix: update for proper font name
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-05-02 14:52:26 -05:00
Keith SolomonandCopilot ba36c40937 feature: Add Quincy font
Sync TODOs with Issues / sync_todos (push) Successful in 6s
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 14:50:53 -05:00
Keith SolomonandCopilot 4257f96d0b feature: Build desktop header
Sync TODOs with Issues / sync_todos (push) Successful in 5s
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 14:41:25 -05:00
Keith Solomon a21ad94189 feat: bootstrap Community Works Collaborative theme from starter 2026-05-02 10:14:49 -05:00