Restructure site IA: research areas/projects, homepage, CSS cleanup#94
Merged
Conversation
Introduce a kind discriminator (update | note) so the updates collection holds both short changelog posts and long-form lab notes. Updates render inline as before; notes render as summary cards linking to their own rich page with byline, abstract, reused scroll-spy TOC, footnotes, and a low-tech figure shortcode. - markdown-it-footnote + tocify filter + figure shortcode in .eleventy.js - kind-based layout selection in updates.11tydata.js - new _includes/note.njk layout - typed-stream /updates index (updates inline, notes as cards) - popup links/labels notes distinctly - note-card/byline/abstract/figure/footnote styles - sample lab note (validating-the-catalog.md)
Deploying dynamical-org with
|
| Latest commit: |
07e7702
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0da09230.dynamical-org.pages.dev |
| Branch Preview URL: | https://updates-lab-notes.dynamical-org.pages.dev |
Reframe the site around Ink & Switch's model. The /updates changelog was doing two jobs (newsletter + long-form shelf); split them. - Long-form moves to a /research hub (research areas + featured work + notes/papers), driven by _data/research.js scaffolding. Sample lab note re-homed from /updates to /research; note.njk -> research-post.njk. - /updates reverts to the pure inline newsletter archive, reframed as 'The Dynamical Dispatch'. - Nav drops 'updates' and 'scorecard'; adds 'research'. The newsletter graduates to a 3-column responsive footer (Explore / Connect / Dispatch signup + archive link). - Homepage keeps the hero, adds a mission statement up top plus Research areas and Featured work sections (Catalog as a special code-bearing item, Scorecard as a project). - Site feeds (Atom/JSON) now carry updates + research via a feedItems collection; latest-content popup considers research too. Areas/featured-work copy is placeholder (TODO) pending content brainstorm.
Replace the product hero (subtitle, CTA, stats) and the two code-example frames with the mission statement + dynamical.org wordmark beside the globe. Remove the now-orphaned hero-heading/subtitle/cta/stats CSS and the separate home-mission section.
Member
|
loving this direction |
Wire research areas + projects as collection-driven content types:
- areas (content/areas/) and projects (content/projects/) records;
homepage + area pages render from collections.areas/researchWork
- add inArea/ofType filters and researchWork/featuredWork collections;
drop the old _data/research.js and content/research.njk
- new partials: research-area.njk, work-item.njk
Add project records: catalog, scorecard, wxopticon
(weather-product-design), asos-parquet (forecast-evaluation).
Simplify CSS (public/main.css 1307 -> 822 lines):
- remove dead .status-*/.eta-* dashboard styles (live on wxopticon's
own status.css) + orphaned --status-* vars; drop other unused
selectors (.note-card*, .work-area, .catalog-glyph, .hero-wordmark,
.frameContent{Mobile}/.frameResult, .home-section-link, .section-intro,
.lede). Keep footnotes-* (runtime-generated) and .status-pill*.
- inline single-use note/work meta styles into their templates
- unify .footer-col h2 into .block-label
Polish:
- fix --serve watch for ../_includes (addWatchTarget) so layout edits
trigger rebuilds
- align footer subscribe submit with the updates-page native input;
drop custom button styling
- center mission statement on mobile (margin-inline auto)
- lab-note page: drop card border + back link, plain muted meta row
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.
Restructures the site information architecture and finalizes the supporting templates, styling, and content records.
What's in here
IA / content model
content/areas/) and projects (content/projects/) as collection-driven content typesareas,researchWork,featuredWork) +inArea/ofTypefilters; homepage and area pages render from them_data/research.jsandcontent/research.njkresearch-area.njk,work-item.njkHomepage
CSS cleanup (
public/main.css1307 → 822 lines).status-*/.eta-*dashboard styles (the live dashboard is wxopticon's ownstatus.css) + orphaned--status-*varsfootnotes-*(runtime-generated) and.status-pill*.footer-col h2into.block-labelPolish
--servenow watches../_includesso layout edits trigger rebuildsNot in here