Commit Graph
184 Commits
Author SHA1 Message Date
Keith Solomon 5e08b78d62 🐞 fix: Adjust card background 2026-07-05 16:39:08 -05:00
Keith Solomon 43e3316a70 feature: Style pagination
Deploy to Dreamhost (dev) / build (push) Successful in 34s
Sync TODOs with Issues / sync_todos (push) Successful in 5s
2026-07-05 16:13:21 -05:00
Keith Solomon 1544a7a04b 🐞 fix: Adjust line-height
Deploy to Dreamhost (dev) / build (push) Successful in 32s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-07-05 15:52:04 -05:00
Keith Solomon c2a1eed2cf feature: Sidebar styling
Deploy to Dreamhost (dev) / build (push) Successful in 34s
Sync TODOs with Issues / sync_todos (push) Successful in 5s
2026-07-05 15:45:54 -05:00
Keith Solomon e5cc42f048 🐞 fix: Get rid of extra margin in admin menu 2026-07-05 14:47:44 -05:00
Keith Solomon 78360dfc89 feature: Add new Instagram icon
Deploy to Dreamhost (dev) / build (push) Successful in 35s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-07-05 14:35:56 -05:00
Keith Solomon 21657173e0 feature: Post cards built
Deploy to Dreamhost (dev) / build (push) Successful in 33s
Sync TODOs with Issues / sync_todos (push) Successful in 5s
2026-07-05 14:25:33 -05:00
Keith Solomon ef0b542e9d 🐞 fix: Use plain header everywhere except Contact page
Deploy to Dreamhost (dev) / build (push) Successful in 34s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-07-05 14:18:26 -05:00
Keith Solomon 8f9fd8bf4c 🐞 fix: Add margin everywhere except Contact page 2026-07-05 14:17:56 -05:00
Keith Solomon d4a3e0a6c8 🐞 fix: Make Services pages show the correct hero
Deploy to Dreamhost (dev) / build (push) Successful in 33s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-07-05 13:28:25 -05:00
Keith Solomon 36cf891659 fix(header): adjust hero section display logic for non-front pages
Deploy to Dreamhost (dev) / build (push) Successful in 35s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
fix(nav-aux): update padding for auxiliary navigation container
2026-07-05 12:15:26 -05:00
Keith Solomon 19d4dfd89c Merge branch 'main' of ssh://git.keithsolomon.net:222/Solo-Web-Works/CWC
Deploy to Dreamhost (dev) / build (push) Successful in 35s
Sync TODOs with Issues / sync_todos (push) Successful in 5s
2026-07-05 12:07:59 -05:00
Keith Solomon d56ec2ac96 build: regenerate dist with blog post card styles 2026-07-05 11:08:19 -05:00
Keith Solomon a15209e176 test(blog): assert Read more link is present in the first card 2026-07-05 11:04:09 -05:00
Keith Solomon aafea68342 feat(blog): style the post card body, title, byline, and Read more link 2026-07-05 11:01:06 -05:00
Keith Solomon 77f3a0dd3c feat(blog): add Read more link to post card 2026-07-05 10:54:34 -05:00
Keith Solomon 02f9999621 🐞 fix: Update header/hero to swap based on service page children
Deploy to Dreamhost (dev) / build (push) Successful in 34s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-07-05 10:36:27 -05:00
Keith Solomon 8caa787ff6 feat(blog): add Read more link to post card 2026-07-05 10:35:13 -05:00
Keith Solomon 53270c694e docs(blog-card): add post card styling implementation plan 2026-07-05 10:32:35 -05:00
Keith Solomon 9b76d7bacf docs(blog-card): add post card styling design spec 2026-07-05 10:29:26 -05:00
Keith Solomon 2d3d93aa89 🐞 fix: Adjust editor font
Deploy to Dreamhost (dev) / build (push) Successful in 34s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-07-04 21:30:28 -05:00
Keith Solomon 702a2e3b74 test(blog): add blog-page Playwright spec 2026-07-04 20:35:46 -05:00
Keith Solomon a7fc6c974c build: regenerate dist with blog post-list styles 2026-07-04 20:32:22 -05:00
Keith Solomon cb0c8864f7 feat(blog): style the post-list page title 2026-07-04 20:29:54 -05:00
Keith Solomon 66073c0846 feat(blog): add page title and trim post card to image + title + byline 2026-07-04 20:26:59 -05:00
Keith Solomon a26b5c66c1 docs(blog): add blog layout spec and plan 2026-07-04 20:25:20 -05:00
Keith Solomon 54608c2be4 docs(spec): record the 2026-07-04 hero-scope revision (Services-only) 2026-07-04 19:54:06 -05:00
Keith Solomon ee9c9ce992 test(hero): update blog-index test to assert no hero (Services-only gate) 2026-07-04 19:53:23 -05:00
Keith Solomon 2fb1d67bb0 fix(hero): remove non-Services bypasses so the hero only renders for Services descendants 2026-07-04 19:52:33 -05:00
Keith Solomon 0a19256310 🐞 fix: Adjust mobile styles for contact block
Deploy to Dreamhost (dev) / build (push) Successful in 33s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-07-04 19:40:01 -05:00
Keith Solomon 001b8c07c3 🐞 fix: Adjust dropdown z-index so the menu shows up above the map
Deploy to Dreamhost (dev) / build (push) Successful in 34s
Sync TODOs with Issues / sync_todos (push) Successful in 6s
2026-07-04 19:36:30 -05:00
Keith Solomon 01c6fb7831 feature: Set up contact info block and map
Deploy to Dreamhost (dev) / build (push) Successful in 34s
Sync TODOs with Issues / sync_todos (push) Successful in 7s
2026-07-04 19:22:26 -05:00
Keith Solomon 23ef7388eb tooling(test): add pre-flight script for hero gate rollout
Lists every published page on the site that has hero_style = 'default' and
is not a Services descendant. Those are the pages whose visible hero
behavior changes when isServicesDescendant() is enabled.

Runs from the WordPress root via:

    php bin/check-affected-pages.php

The script bootstraps wp-load.php, queries WP_Query for all 'page'
posts, filters by the ACF 'hero_style' meta, then defers the ancestor
check to CWC\isServicesDescendant() (the same helper the gate uses) so
the output matches runtime behavior. Operator should run this before
enabling the gate on a real site.
2026-07-04 16:17:33 -05:00
Keith Solomon f320b3711f docs(test): document CWC_TEST_BYPASS_HERO_GATE constant for the dev site
isServicesDescendant() gates the inner-page hero on being a Services
descendant. The existing inner-page.spec.js fixtures (sample-page, etc.)
are not Services descendants, so without the bypass the hero would not
render in tests and the suite would fail.

The constant CWC_TEST_BYPASS_HERO_GATE was added in lib/extras.php for
exactly this case, but the dev site's wp-config.php is operator-managed
and cannot be modified by the theme. This note records the single line
the operator needs to add to wp-config.php, plus the rationale and a
production warning.
2026-07-04 15:52:51 -05:00
Keith Solomon 952b1731d9 fix(contact): hardcode CWC Blue 03 stroke on contact info SVGs
SVGs loaded via <img src> cannot inherit currentColor from the parent
document, so the .contact-info__icon { color: ... } rule had no effect and
the icons rendered in the SVG's own default color (black).

Bake the stroke color in directly: stroke="#8FC9E6" (CWC Blue 03). The
final user-provided SVGs will replace these placeholders later, so this is
the minimal change to make the icons visible in the brand color today.
2026-07-04 15:51:28 -05:00
Keith Solomon 9d1a5f8b81 fix(contact): restore aligned = spacing in contact-info block 2026-07-04 15:41:17 -05:00
Keith Solomon 634635f726 fix(contact): fix PHPCS OperatorSpacing warnings in contact-info block 2026-07-04 15:37:45 -05:00
Keith Solomon 0aeacc3c17 test(hero): mark grandchild test as test.fail with TODO for missing fixture 2026-07-04 15:00:00 -05:00
Keith Solomon ee27133250 test(hero): add ancestor-scope Playwright spec 2026-07-04 14:47:37 -05:00
Keith Solomon f77a78b856 fix(contact): use wp_kses_post for block wrapper and AA color for required marker
- contact-info.php was calling esc_attr() on the output of
  blockWrapperAttributes(), which returns a full attribute string.
  esc_attr() turned the wrapping quotes into &quot; so the class
  attribute rendered literally as class="contact-info ...".
  Switched to wp_kses_post() to match the pattern used by every
  other block template in the project.
- contact-info.css: .gfield_required used --color-cwc-orange-01
  (#e15747, 3.71:1 on white) which fails WCAG 2 AA. Swapped to the
  project's --color-secondary-accessible token (#c43c2b) so the
  required marker is brand-aligned and meets the 4.5:1 minimum.
- Regenerated static/dist/theme.css to match.
2026-07-04 14:14:50 -05:00
Keith Solomon 0f4cd48c60 test(contact): add contact-page Playwright spec 2026-07-04 14:12:34 -05:00
Keith Solomon 59a1356d96 feat(hero): gate inner-page hero on Services descendants 2026-07-04 13:57:22 -05:00
Keith Solomon a163b349e1 feat(hero): add isServicesDescendant() helper and bypass constant 2026-07-04 13:54:27 -05:00
Keith Solomon 6d62bd73ae build: regenerate dist with contact-info styles 2026-07-04 13:50:28 -05:00
Keith Solomon d207b2e0e8 fix(contact): use correct views-path for contact-info import 2026-07-04 13:50:28 -05:00
Keith Solomon af067fc5d0 feat(contact): style Gravity Forms fields and submit button 2026-07-04 13:45:05 -05:00
Keith Solomon bcb2486576 feat(contact): add two-column layout and icon styles 2026-07-04 13:40:57 -05:00
Keith Solomon 966fb2624c style(contact-info): use tab indentation to match project standard 2026-07-04 13:37:12 -05:00
Keith Solomon e3024a6cdc feat(contact): rewrite contact-info block to two-column layout 2026-07-04 13:31:06 -05:00
Keith Solomon 1593be1c70 feat(contact): add address, email, phone icon SVGs 2026-07-04 13:25:53 -05:00