Skip to content

Opinions Section + Opinions Article Format V1#29

Open
anthonysantiago-eng wants to merge 14 commits intomainfrom
style/opinion-articles
Open

Opinions Section + Opinions Article Format V1#29
anthonysantiago-eng wants to merge 14 commits intomainfrom
style/opinion-articles

Conversation

@anthonysantiago-eng
Copy link
Collaborator

Added barebones opinion article section and opinion article format w/… dropdown menu, top bar, share button. Added an opinions section exclusive footer for opinions articles. Top bar + dropdown + share button could be carried over to other article formats. Fixed merge issues with migration, header, and main article page.

anthonysantiago-eng and others added 3 commits February 25, 2026 02:03
…tion or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
anthonysantiago-eng and others added 9 commits March 13, 2026 17:00
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Use inline styles for reliable opacity fade, add hysteresis zone
(show at 400px, hide at 300px) to prevent abrupt threshold snapping.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…al section

- Replace hardcoded footer articles with live Payload query (random 6 of last 10)
- Extract opinionTypeLabels to shared file
- Remove editorial as a standalone section, fold into opinion
- Add Editor's Notebook and Derby opinion types
- Fix ArticleFooter symmetry with bottom border and padding
- Update date font size to 15px in OpinionArticleHeader

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Remove 'editorial' from section query as it was never a valid DB enum value.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Opinion title + horizontal line header
- Top 3 articles with images, 5 smaller articles below
- Three section rows (Opinion, Editorials, More in Opinion) with deduplication
- Remove subnav and old masthead, clean up breakpoints to avoid grid clashing
- OpinionPageArticleCard now uses shared opinionTypeLabels

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Create /api/search route querying Payload by title, SearchOverlay client
component with debounced input, and wire magnifying glass in OpinionHeader.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Take main's versions for Header, SearchOverlay, search route, ArticleFooter,
layout fonts, and payload-types. Merge page.tsx to keep opinion layout while
adding main's getArticle cache, generateMetadata, and JSON-LD structured data.
Migrations ordered chronologically with all entries from both branches.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants