mirror of
https://github.com/chobble-mirror/renegade-solar.git
synced 2026-07-09 17:56:25 +01:00
renegade-solar.co.uk - an Eleventy site, built with Nix, hosted on Neocities
https://renegade-solar.co.uk
- HTML 34.7%
- SCSS 29.6%
- JavaScript 28.4%
- Shell 4%
- Nix 3.1%
- Other 0.2%
* Add masonry layout to reviews page Port the chobble-template masonry reviews layout, adapted to renegade's card structure, data and measurements. - assets-src/masonry.js: uWrap-based zero-reflow masonry, tuned to our card padding/gap/border and column sizing. Reviews-only, Turbo-aware (re-runs on turbo:load), relayouts on resize. Overflowing reviews are flagged so CSS can fade the clipped edge. - Bundled (uWrap inlined) to src/assets/masonry.js via `npm run build:js` and committed, matching how the other prebuilt assets are shipped, so the Eleventy deploy build needs no bundling step. - review-list.html: restructured into a ul.reviews-grid.masonry with the classes the layout measures. - _customer-reviews.scss: plain CSS grid fallback (works without JS), switched to the JS-positioned layout once masonry-ready is added. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ECE5454VZrWC8MTFb1XDW3 * Hide reviews rated below 8 from the site Filter out reviews with a rating under 8/10 in generateSummary, so the list, total count and average rating stay consistent everywhere they are shown (reviews page and homepage block). The threshold lives in MIN_DISPLAY_RATING so the weekly review-merge job keeps applying it. Regenerated reviews.json from the current data: 105 -> 104 reviews, average 9.85 -> 9.94. The hidden review's source JSON is kept on disk. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ECE5454VZrWC8MTFb1XDW3 --------- Co-authored-by: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .github/workflows | ||
| _lib | ||
| assets-src | ||
| bin | ||
| scripts | ||
| src | ||
| .eleventy.js | ||
| .envrc | ||
| .gitignore | ||
| .pages.yml | ||
| biome.json | ||
| CREDITS.md | ||
| default.nix | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| TODO.md | ||
| VOICE.md | ||
Renegade Solar
The website for Renegade Solar - solar panel installers in Manchester
Important Files: