feat(blog): wire YouTube into author footer + expand post connect cluster - #746
Merged
Conversation
…ster Two halves of #37: 1. Site-wide: add YouTube to the author config so it renders in every post's author footer, alongside GitHub/X/LinkedIn/Twitch. Wired through the whole chain so it survives regeneration: NEXT_PUBLIC_AUTHOR_YOUTUBE (.env.example + generate-author-config.js) -> AuthorSocialLinks interface -> getAuthorSocialFromConfig -> author-generated.ts -> getAuthor push in blog/[slug]/page.tsx. Twitch stays first; YouTube renders after it. The SocialIcon youtube glyph already existed. 2. Post CTA: expand the "Come build it" cluster in ride-the-open-source-city with the replays-on-YouTube link (Twitch stays the primary "watch live"), a Book-15-minutes Calendly link, and a "Find me everywhere" row (site / Twitch / YouTube / X / LinkedIn / GitHub). blog-data.json regenerated. YouTube https://youtube.com/@JonathanPohlner. No Discord (none provided). Verified: tsc --noEmit clean; generate:blog regenerated (youtube + calendly + "Find me everywhere" present in blog-data.json). Closes #37 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Closes #37. Two halves — YouTube site-wide in the author footer, and a full connect cluster on the launch post. Twitch stays primary (you prefer it); YouTube is the secondary "replays" link. No Discord (none provided).
1. Site-wide — YouTube in every post's author footer
Wired through the whole chain so it survives a config regen, not just a one-off edit to the generated file:
NEXT_PUBLIC_AUTHOR_YOUTUBE(.env.example+generate-author-config.js) →AuthorSocialLinksinterface →getAuthorSocialFromConfig()→author-generated.ts→ thegetAuthorpush inblog/[slug]/page.tsx. Twitch renders first, YouTube after it. TheSocialIconyoutube glyph already existed, so no icon work.2. Post CTA — "Come build it" cluster
Expanded with: the replays-on-YouTube link (Twitch remains the primary "watch me build it live"), a Book 15 minutes Calendly link, and a "Find me everywhere" row (site · Twitch · YouTube · X · LinkedIn · GitHub).
blog-data.jsonregenerated to match.YouTube:
https://youtube.com/@JonathanPohlner. All other URLs pulled from existing config (X, LinkedIn, Twitch, Calendly, site), nothing invented.Verified
tsc --noEmit: cleanpnpm generate:blog: regenerated; youtube + calendly + "Find me everywhere" present inblog-data.jsonVisual
:34100check is yours to eyeball — the dev server on this machine is 404ing all routes (auto-assigned port, bad state), unrelated to the change.