refactor(ui): strip site to plain Big-Tech-blunt HTML#22
Merged
Conversation
Drop Bootstrap, Google Fonts, Material Symbols, the teal accent, the "E" brand mark, and decorative patterns (eyebrow+dot, charter letters, contact-channels grid, data-reveal, etc.). Replace project.css with a ~140-line system-font stylesheet (black/white/grey, blue underlined links). Rewrite every page template (ja/en home, holdings, software, company, contact, business, vision, legal/privacy, legal/cookies) and the 403/404/500 error pages around plain section/h1/h2/dl/ul markup. Cookie and privacy pages no longer claim to load Google Fonts or a Bootstrap CDN, matching the stripped base template. The unused header-scroll project.js is removed. Verified: manage.py check passes; Django dev server returns 200 for all 18 public pages and the CSS asset; no decorative-class or external-CDN tokens remain in the rendered HTML.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR. |
Run djlint --reformat to satisfy the linter pre-commit hook. Mostly expands inline <dd>foo</dd> and single-line <a> tags inside list items to multiline form. No content or template-logic changes.
Contributor
|
ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR. |
Branch protection on main requires a status check named "pytest", but the CI workflow had only "linter" and "django" jobs, so PRs could never satisfy the rule. Add pytest + pytest-django to the dev dependency group, add a tests/ package with smoke tests that hit every public page (ja and en) plus robots.txt and sitemap.xml, and add a "pytest" job to ci.yml that runs them. The tests also assert that the home page no longer contains the removed decorative tokens (data-reveal, material-symbols, brand-mark, navbar-toggler, cdnjs.cloudflare, fonts.googleapis), guarding against regressions of the blunt-redesign cleanup.
Contributor
|
ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR. |
Contributor
|
ECC bundle files are already tracked in this repository. Skipping generation of another bundle PR. |
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.
Summary
Make the public site simple and "blunt" in the spirit of Big Tech corporate pages — system fonts, black-on-white text, blue underlined links, and zero decoration.
What changed
ether/static/css/project.csswith a ~140-line stylesheet using only system fonts and a black/white/grey + blue-link palette. Drops the teal accent, custom buttons, blur effects, reveal animations, grid card components, and Material Symbols sizing rules.project.js. The header is now a brand link plus a flat list of nav links; the footer is a copyright line plus a flat list of links.home,holdings,software,company,contact,business,vision,legal/privacy,legal/cookiesaround<section><h1><h2><dl><ul>. Removedeyebrow+dot,material-symbols,data-reveal,charter-letter(A-I badges),contact-channelsgrid,prose article,btn-*classes,page-hero/compact-hero, etc.403,403_csrf,404,500rewritten in the same plain style.ether/static/js/project.js(it only toggled a header-scroll class that no longer exists).Net diff: ~978 insertions, ~2577 deletions across 25 files.
Why
Continues the simplification direction (#21). The previous pass kept material icons, decorative eyebrow+dot patterns, custom button systems, and CDN-hosted Bootstrap/Google Fonts; this pass takes them out so the site looks closer to a boring corporate "facts" page than a marketing landing page.
Test plan
python manage.py checkpasses/,/holdings/,/software/,/company/,/contact/,/business/,/vision/,/legal/privacy/,/legal/cookies/and their/en/...counterparts (18 pages total)/static/css/project.cssreturns 200 in DEBUG mode/contains none of:data-reveal,eyebrow,material-symbols,brand-mark,navbar-toggler,bootstrap,googleapis,cdnjs.cloudflare