Playfair font + self-hosting, author pages, socials, privacy, CTA polish - #10
Merged
Conversation
- Display font is now Newsreader (calmer, screen-optimised editorial serif) instead of Fraunces, whose hooked f read as too quirky. - All four families (Newsreader, Hanken Grotesk, Source Serif 4, JetBrains Mono) are now self-hosted via @fontsource (latin subset, font-display: swap) instead of loaded from Google Fonts. Removes the third-party request/connection for faster first paint and better privacy; no visual FOUC change. - Dropped the Google Fonts <link>/preconnect from BaseLayout. - OG images render titles/taglines in Newsreader (normal + italic). - Removed now-unused @fontsource/fraunces and instrument-serif. Build, astro check, and tests all pass locally.
…mail Font: - Switch display serif to Playfair Display site-wide (Newsreader trial reverted); still self-hosted via @fontsource, OG images updated. Contribute CTA (home + /contribute): - Write is now the accent primary (matches header Write -> 'Write = accent' everywhere); Pitch is the outlined secondary; GitHub demoted to a quiet link. Added reusable .btn-accent. Author pages: - Profile shows the 5 most recent articles + a 'See all N articles' button. - New /authors/<handle>/articles lists every article, newest first (shareable per-author archive). Co-authored posts appear on each author. - Profile route moved to [handle]/index.astro; article rows now use the standard blog-row design with the .chip--sm topic (no redundant name). Socials: - Author profile socials are icon buttons (shared src/lib/socialIcons.ts, reused by the footer); shown only when set, profile-only. Globe for website, envelope for email. Added Dinesh's X / LinkedIn / website. Footer / policy: - Replace redundant 'Editorial policy' (opened /contribute) with 'Privacy'; add a plain-language /privacy page (analytics, cookies, no accounts). Editor / misc: - Center the /write divider (width:100% on .write-separator). - HOW-TO-SUBMIT.md gains Option 3 (email it in) + author-details prompt. - Contact email is responsive (clamp) so it no longer wraps.
- Archive header: 'Articles by <name>' — muted italic 'Articles by', author name in ink and linked to their profile (accent on hover), smaller size. - Author profile: cap at 5 recent, always show a centered 'See all articles' button below. - Contributors page: inclusive lede (engineers, researchers, students), dropped the count and attribution line; add a name-filter that appears only when the list exceeds 12 (scales without a long scroll). - Sort already by article count desc, name tiebreak (unchanged).
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.
A batch of type, design, and structure work. Build,
astro check(0 errors), the 50-test suite, and lint all pass locally.Type
f. Only the display role changes (headings, "kernels", captions); Source Serif 4 body / Hanken Grotesk UI / JetBrains Mono labels unchanged.@fontsource(latin subset,font-display: swap) — Google Fonts<link>removed. Verified: woff/woff2 ship indist/_astro/, zerofonts.googleapisin the output. OG images render in Playfair.Contribute CTA (home + /contribute)
.btn-accent.Author pages
/authors/<handle>/articles— full per-author archive, newest first, shareable. Co-authored posts appear on every co-author's pages.[handle]/index.astro; article rows now use the standard blog-row design with the.chip--smtopic (dropped the redundant author name on their own page).Socials
src/lib/socialIcons.ts, reused by the footer). Shown only when set, profile-only (never on posts). Globe for website, envelope for email. Added Dinesh's X / LinkedIn / website.Footer + policy
/privacypage (analytics, cookies, no accounts, contact).Editor + misc
/writedivider centered (width: 100%on.write-separator); the published site already centered it.clamp) so it no longer wraps.Best judged on the Cloudflare preview — hero
f, the Contribute CTA,/authors/dinesh+ its "See all" archive,/privacy, and the/writedivider.