Commit Graph
5 Commits
Author SHA1 Message Date
jamespandClaude Opus 5 289a5b3118 Match the theme's post thumbnail sizing, float and excerpt length
The front-page/blog listings rendered featured images as 150x150
centre-cropped squares stacked above the text. The theme actually
renders them at 210x150 cropped from the left-top corner
(set_post_thumbnail_size), floated left with a border so the excerpt
wraps beside them -- the CSS for that (#container .attachment-thumbnail)
was already ported, the class just was never applied.

The left-top anchor matters: every featured image is a 930x354 slide
banner whose subject sits in the left portion, so a centre crop cut the
subject out entirely.

Also restores the "Read the Rest..." link (the theme's excerpt_more
filter) and corrects excerpt length -- the theme uses 60 words on the
front page and 30 in the slideshow; the export was baking WordPress's
default 55 for both.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 19:22:38 -04:00
jamespandClaude Opus 5 9b6e5a91bf Use the site's real theme-option content, not theme demo defaults
The small-business theme stores every of_get_option() value in a single
serialized wp_options row named after the theme id ("smallbusiness"),
not as individual featured-title1/etc rows. My earlier check queried for
the individual rows, found nothing, and wrongly concluded the options had
never been customized -- so the homepage shipped the theme's built-in
demo copy ("Small Business Theme", "Small Business Pro will give your
Extra Freedom...") instead of the real marketing content.

Pulls the actual values: the page heading, all three featured boxes
(Capterra rating, awards/FinancesOnline seal, VICIhost dedicated
hosting), and the bottom quotation block, which was missing entirely.
Internal ?p=/?page_id= links in those options are rewritten to their
new-site paths (/blog/most-popular-open-source-contact-center, /hosting).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 19:17:44 -04:00
jamesp 4906364a65 Fix nav overflow and slideshow caption rendering
Nav.astro was using the #smallbusiness-main-menu id/CSS (designed for
the tall under-logo nav row) while rendered inside #top-menu-container
(the compact top bar), causing items to overflow onto a second line.
Switched to the matching #smallbusiness-top-menu styling and dropped
the extra "Home" link that pushed it over. Single nav bar, as intended.

Splide's core CSS import from Slideshow.astro's frontmatter was being
silently dropped from the build (component-level bare CSS imports
don't bundle the same way layout-level ones do) -- moved it to
BaseLayout.astro where global.css already imports successfully, and
switched to the full theme CSS for real arrow/pagination styling.

Also fixed #slideshow .post-slide: position:absolute with no explicit
top/left fell back to its hypothetical static position (right after
the 354px image), pushing the caption overlay below the visible slide
instead of on top of it. Pinned top:0; left:0 so the margin-based
offset actually anchors to the slide.

Verified visually via headless Chromium screenshot, not just HTML
content -- the earlier "renders the 5 latest posts" check only
confirmed the data was present, not that it displayed correctly.
2026-09-15 19:15:16 -04:00
jamesp ead44ca55b Remove .vscode folder
Editor-specific config, not needed in the repo.
2026-09-15 19:04:35 -04:00
jamesp dcff6c7b5a Initial Astro migration of vicidial.com off WordPress
Static brochure/marketing site: 55 pages, 5 posts, 82 attachments, and
the 7-item nav, exported from the wordpress_vicidial DB via
scripts/export-wp.mjs (re-runnable). Layout/styles ported from the
small-business WP theme; homepage slideshow rebuilt as a Splide client
island pulling the latest 5 posts at build time, replacing the old
BJQS jQuery plugin.
2026-09-15 18:12:06 -04:00