try hugo#313
Open
adeebshihadeh wants to merge 17 commits into
Open
Conversation
- hugo.toml: uglyURLs flat output into build/ (firebase.json unchanged), shopify params - layouts: baseof + head (analytics verbatim) + header/footer/cart shell + 404 - assets/css/site.css: assembled from the compiled svelte build (scoped classes kept) - assets/js: vanilla ports of store/shopify/cart/currency + faq hash-sync + vendored hls.mjs - static/img: avif/webp/orig variants harvested byte-identical from the production build - static/fonts: de-hashed fontsource + MonumentExtended woff2/woff - data: products/vehicles/car-harnesses/compatibility exported from src Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- build.yaml installs hugo, passes prod token via HUGO_PARAMS_SHOPIFY_STOREFRONTAPITOKEN (verified the override reaches the JS bundle) - compatibility.py + workflow write to data/ instead of src/lib/ - spellcheck sweeps layouts/content/data/assets/js/scripts Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
All pages verified: normalized DOM diff vs the production SvelteKit build is zero lines (jobs: only the designed dual-title -> single-title consolidation). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Normalized DOM diff vs production: 0 lines (accordion ids are stable slugs instead of the old build's Math.random() hex — those were nondeterministic across builds and only pair input/label internally). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Shared product machinery: product partial, build-time Shopify snapshot via GetRemote POST GraphQL, 376-row harness selector, gallery/variant/modal JS, runtime stock refetch. Normalized DOM diff vs production: title consolidation only on all 17 pages. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Buy-box state machine, 377-row selector, trade-in checker, mp4 loops, modal. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
SetupGuide stepper, vehicle picker, FAQ accordions with hash deep links, canonical data/faq.json. Full-site normalized DOM sweep: 11 pages identical, 21 pages title-consolidation only, 404 prerendered by design. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The site is now pure Hugo: 'hugo --gc --cleanDestinationDir' builds the identical 33-page site into build/ in ~400ms (was ~42s). package.json keeps only sharp (image-variant regeneration). firebase.json unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… live.sh, preview server, missing-bundle guard, drawer focus preservation Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- product refetch now auto-selects the first FRESH variant unless the user already chose (build-snapshot selection no longer survives stock drift) - harness rows are inert until the stock fetch resolves, matching the old hydration timing (no more backordered car added with an 'in stock' note) Both reproduced old-vs-new by adversarial reviewers via network interception; re-verified identical on the 5 affected behavior scenarios after the fix. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
deployed preview: https://comma-web--pr313-xk1xsqbr.web.appWelcome! Make sure to:
|
541KB single-line hls.min.js (same upstream 1.6.14, byte-verified) replaces the 1.3MB/27k-line hls.mjs; .gitattributes marks vendor/ linguist-generated so GitHub collapses it in PR diffs. Bundle output and hero playback verified identical. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Each bespoke page is now a single content file: front matter (title, js bundle, head extras) + markup in an inline shortcode. layouts/ keeps only the shell and the shared product template; the 17 /shop product stubs stay (they're data, stamped by shop/single.html, not redundant). Verified: full normalize sweep unchanged (0/title-only on all 33 pages), 8 behavior scenarios re-pass identical. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.