feat: redesign tag landing page#6122
Open
tsahimatsliah wants to merge 4 commits into
Open
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: Cursor <cursoragent@cursor.com>
Rebuild the tag hub as one cohesive surface instead of stacked, double-bordered cards drowning in decorative labels: - Hero: single confident unit with gradient title, inline live-stat ticker, one prominent Follow CTA + inline secondary actions - Sticky command bar: persistent identity + Follow + segmented jump nav - Best-of: interactive lens switcher (Top / Most upvoted / Best discussed) showing one rail at a time instead of three stacked rails - People & sources, archive, live feed, and anon join strip: flattened headers, removed marketing chrome All SEO content preserved (JSON-LD, sr-only crawl links, descriptions, feeds, related tags, contributors/sources, archive). Co-authored-by: Cursor <cursoragent@cursor.com>
The previous redesign read as "mixed light/dark" because it fought the design system: filled bg-surface-primary cards, shadow-2, colored blur glows, translucent backdrop bars, and bg-clip-text gradient headings. Rebuild on the proven daily.dev module convention (bordered, transparent, no shadow/gradient — like PageInfoHeader) using only semantic tokens: - Solid surfaces and borders that flip correctly per theme - Accent (cabbage) reserved for the # glyph, primary CTA, and active tab - Removed all gradients, blur glows, translucency, and gradient text - Hero: confident solid headline + inline stat ticker - Best-of: clean bordered segmented control (lens switcher) - People & sources / archive: bordered-transparent modules - Join strip: single branded module via theme-aware accent tint All SEO content preserved (JSON-LD, sr-only crawl links, descriptions, feeds, related tags, contributors/sources, archive). Co-authored-by: Cursor <cursoragent@cursor.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.
Summary
/tags/[tag]behind a default-ontag_page_redesignGrowthBook flag while preserving the existing flag-off layout.Test plan
node ./scripts/typecheck-strict-changed.jspnpm --filter webapp exec eslint "pages/tags/[tag].tsx" "__tests__/TagPage.tsx" --max-warnings 0pnpm --filter @dailydotdev/shared exec eslint "src/components/tags/TagPageHero.tsx" "src/components/tags/TagSectionNav.tsx" "src/components/tags/TagBestOfShowcase.tsx" "src/components/tags/TagPeopleSources.tsx" "src/components/tags/TagJoinStrip.tsx" "src/lib/featureManagement.ts" --max-warnings 0NODE_ENV=test pnpm --filter webapp exec jest "__tests__/TagPage.tsx" --runInBandMade with Cursor
Preview domain
https://feat-tag-page-redesign.preview.app.daily.dev