Repository navigation
Set the home page in Sourceful's editorial design, with a 20 kWh battery - #34
Merged
Merged
Conversation
The first rebuild used a generic dark template: glows, gradients, rounded cards, pill buttons and two-tone headings. It now follows design.sourceful.energy/DESIGN.md like the rest of the site: an ink hero, paper and cream spreads, a Signal Orange community spread, Satoshi with JetBrains Mono micro-labels, one orange word per headline, square corners, hairlines and underline form fields. The chart uses ink and the orange scale; the example conversation reads as a transcript; the forms show Sourceful's braille indicator while they send. Scroll fades and the decorative glow are gone; the chart, plan dial, receipt, transcript and app tour still move because they show something. The example day now uses a 20 kWh, 10 kW battery that starts half full in both runs and ends about half full, so the saving borrows nothing from storage: 64.66 to 38.35 kr, 26.31 kr or 41 %. The model test checks the start and end levels and the battery size the page names. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Deploying ftw with
|
| Latest commit: |
a71b19e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://fec9e71b.ftw-613.pages.dev |
| Branch Preview URL: | https://web-sourceful-editorial.ftw-613.pages.dev |
frahlg
added a commit
that referenced
this pull request
Oct 30, 2026
Fredrik liked the dark design from #33 better than the editorial reset in #34, but not its generic look. This keeps the app's dark ground and energy colours and drops what made it read as a template: no glows, gradients, rounded cards, pill buttons, scroll fades or grey second halves in headings. The layout stays editorial: a label rail beside the text, ruled lists, square corners, hairlines, underline form fields and the transcript. Headings use weight, not colour, for their one stressed word. The chart, plan dial and receipt use the app's energy colours, and the savings rail shows the example day's prices as the app's block bars. The page no longer loads sourceful.css; the other pages still do. Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Problem
The home page from #33 looked like a generic AI template: glows, gradients, rounded cards, pill buttons, two-tone headings and rows of four cards with colour swatches. It ignored Sourceful's design system, which the README names and the rest of the site follows.
Fredrik also asked for a 20 kWh battery in the savings example.
What changes
Design. The page now follows DESIGN.md:
sourceful.cssis back as the base, so header, buttons and footer match the other pages. The footer carries the approved Sourceful Energy lockup.Content, links, the sign-up endpoint and the app screens are unchanged.
20 kWh battery. The example uses a 20 kWh, 10 kW battery in both runs. It starts half full and ends about half full, so the saving borrows nothing from storage. The day goes from 64.66 to 38.35 kr: 26.31 kr, 41 %. Before, with 10 kWh, it went from 77.77 to 50.40 kr, 35 %. The car still carries most of the gain; a bigger battery adds less than its size suggests, because this house uses about 20 kWh a day. The model test now checks the start and end levels and the battery size the page names.
Evidence
node --test tests/*.test.mjs: 32 passed, 0 failed.news-2026-10-30.🤖 Generated with Claude Code