content: refresh Learn hub as guided learning journey#17976
Merged
wackerow merged 13 commits intoApr 22, 2026
Conversation
Restructures the Learn hub (/learn/) into a guided tour through Ethereum's educational content: - Section 1 "Understand Ethereum": 8-card guided tour using the founders-page card design (Card from ui/card.tsx with CardBanner, CardTitle, CardParagraph). Covers: What is Ethereum, the network, ETH, Ethereum vs Bitcoin, history, wallets, Web3, smart contracts. - Section 2 "How to use Ethereum": Slim, focused on wallet finder and Layer 2 networks. - Section 3 "What is Ethereum used for": Single card linking to /use-cases/ hub instead of listing individual use cases. - Section 4 "Ethereum protocol": Kept with energy consumption, roadmap, whitepaper. - Section 5 "Community": Kept as-is. - Section 6 "Books and podcasts": Fixed Bankless link (http -> https). Removed: - "Strengthen the Ethereum network" section (staking/nodes belong under Use, not Learn) - Individual use case cards (DeFi, stablecoins, NFTs, DAOs, dApps, emerging use cases) replaced with link to /use-cases/ Closes ethereum#17974 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…first flow Card design fixes: - Remove grey background from card images (background="none") - Add full-width CTA buttons to all cards using CardFooter + buttonVariants - Change row-span-3 to row-span-4 for subgrid with new footer row Structural changes (based on content architecture, UX, and PO review): - Reorder to motivation-first: use cases section now leads the page - Use cases section shows 4 featured cards (DeFi, Stablecoins, NFTs, DAOs) plus a full-width gradient banner linking to /use-cases/ hub - Understand Ethereum split into 3 featured cards (Ethereum, ETH, vs Bitcoin) and 5 deeper learning cards under "Keep learning" subheading - "Things to consider" banner moved to top of "How to use" section (context before action) - Community section moved before protocol (belonging before depth) - Protocol section renamed "Go deeper" with softer description Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Note: Deploy failures are not caused by this PR. The build fails with a pre-existing TypeScript error in This file is not modified in this PR (only ESLint and unit tests pass. The build will succeed once the upstream type error is resolved. |
buttonVariants() is from a "use client" module and cannot be called from a server component. Inline the outline variant Tailwind classes directly instead. Fixes: "Attempted to call buttonVariants() from the server but buttonVariants is on the client" Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Rewrites LearnCard to match the founders page pattern exactly: - Uses Card with plain HTML elements (h3, p, span) instead of CardBanner/CardContent/CardTitle/CardParagraph/CardFooter sub-components - row-span-3 + grid-rows-subgrid + gap-y-8 (matching founders) - bg-background-highlight + p-8 + max-md:px-4 (matching founders) - Image rendered directly (no CardBanner wrapper with grey gradient) - Title underlines on hover via group-hover/link (matching Card's link behavior) - Visual-only CTA span at bottom (whole card is the link) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Move "Understand Ethereum" back to section 1 (was incorrectly reordered) - Remove all use case cards (DeFi, stablecoins, NFTs, DAOs) - "What is Ethereum used for?" is now section 3 with only the gradient banner linking to /use-cases/ - "How do I use Ethereum" now leads with Wallets card, then Find a wallet, then Ethereum networks. Removed "things to consider" banner. - "Go deeper" section: Roadmap first, Whitepaper second, Privacy third (replacing energy consumption card). Energy consumption moved to doc links. - Removed Wallets from "Understand Ethereum" (already in "How to use") Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Switch buttons from outline to solid variant (bg-primary-action, white text) - Add min-h-10.5 to match default button component sizing - Remove group-hover/link:underline from card and banner titles Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Switch from subgrid to flex-col layout with flex-1 on content div,
so CTA button naturally sticks to bottom of card regardless of
content height
- Add unique CTA labels for each card:
Understand Ethereum: "Start here", "Learn about ETH", "Compare the two"
Keep learning: "Explore the network", "Read the history",
"Discover Web3", "How they work"
How to use: "Learn about wallets", "List of wallets", "Choose network"
Community: "Explore more", "Start contributing", "Explore communities"
Go deeper: "Explore the roadmap", "Read whitepaper", "Explore privacy"
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Switch back to row-span-3 + grid-rows-subgrid so buttons align at the same vertical position across all cards in a row. Added self-end on button to pin it to the bottom of its subgrid row. Removed grid-rows-[auto] from parent grids which was blocking subgrid. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Use real ButtonLink component (matching founders page pattern exactly) instead of fake span buttons. Cards are no longer clickable wrappers, button is the link. - Restore original description text under "Understand Ethereum" - Remove History card, add as doc link "More on Ethereum: history, founder and ownership" - Replace Ethereum networks card with "Get ETH" card - Remove "Learn about the Ethereum community" section entirely - Remove Layer 2 and Get ETH from doc links (redundant with cards) - Fix use-cases banner: black title (text-body), halved gap (gap-3), spacing before button (mt-3) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- "Go deeper" H2 → "How Ethereum works" - "Books and podcasts" H2 → "Books, podcasts, and series about Ethereum" - H3s simplified: "Books", "Podcasts", "Video series" (removed redundant "about Ethereum" since H2 carries it) - Link "Ethereum" in intro text to homepage - Updated go-deeper description to match new heading Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Member
|
(Blocked pending merge of PR #17975) |
4 tasks
Merged
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
Restructures the Learn hub into a guided educational tour through Ethereum's core topics, using the founders-page card design pattern.
What changed
Section 1: "Understand Ethereum" (expanded from 3 cards to 8)
New guided tour through all core learn pages:
Section 2: "How to use Ethereum" (slimmed)
Section 3: "What is Ethereum used for?" (slimmed)
/use-cases/hubRemoved:
Fixed:
http://tohttps://Card design
Migrated from the old
OriginalCardcomponent to the newerCardfrom@/components/ui/cardwithCardBanner,CardTitle,CardParagraph, matching the founders page pattern (grid-cols-fill-4+ subgrid).Files changed
app/[locale]/learn/page.tsx(restructured, net -216 lines)src/intl/en/page-learn.json(updated/added i18n keys)Closes #17974
Depends on #17975 (use-cases landing page) for the
/use-cases/linkTest plan
/use-cases/link works (requires content: add /use-cases/ landing page as central hub #17975)🤖 Generated with Claude Code
Preview link
https://deploy-preview-17976.ethereum.it/learn