feat:Community & Social (Discord, Twitter/X links, blog/updates page)#73
Open
SheyeJDev wants to merge 2 commits into
Open
Conversation
|
@renoschubert is attempting to deploy a commit to the wumibals' projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
PR: Community & Social Links + Blog Page
Closes: Community & Social Links issue
Summary
This PR implements two independent issues in a single pass since they share the same files (
page.tsx,layout.tsx, and the footer). All acceptance criteria for both issues are met.What changed
Issue — Community & social links + blog/updates page
app/src/app/page.tsx(full rewrite,'use client')DiscordIcon,XIcon,TelegramIcon,GitHubIcon) — no extra dependency needed; icons are small and render crisply at 16–18 px..navRightwrapper containing a.navSocialcluster (Discord, X, Telegram) sitting to the left of the existing "Explore Vaults" CTA. All icon links carryaria-labelattributes andtarget="_blank" rel="noopener noreferrer".buildShareUrl(vaultName, multiplier)and reads:.footerSocialrow (Discord, X, Telegram icon buttons) above the text links. The text link row now includesUpdates→/blog,Terms→/terms, andPrivacy→/privacyalongside the existing GitHub and Security links. GitHub link is paired with its icon.app/src/app/page.module.additions.css→ merge intopage.module.cssNew CSS rules for:
.navRight,.navSocial,.navSocialLink— nav social icon layout and hover states.vaultShare— Share button on each vault card (outlined, muted, hover reveals).footerSocial,.footerSocialLink— footer social icon rowapp/src/app/blog/page.tsx(new file)Static blog/updates page at
/blog. Features:POSTSarray is natural).Intl.DateTimeFormat), category tag, summary paragraph, optional external link.metadataexport with page-specifictitleanddescription.app/src/app/blog/blog.module.css(new file)Styles for the blog page. Dark-first, matches the app's
#060810background and existing type scale.File tree
Acceptance criteria checklist
Issue — Community & social links + blog
aria-labelattributesrel="noopener noreferrer"/blogpage exists with 3 initial entries/bloglinked from the footerNotes for reviewers
page.tsxis now a Client Component ('use client') due to the inline SVG icon components. If the team prefers to keep the landing page as a Server Component, the icon components can be extracted toapp/src/components/icons.tsxand imported — they have no hooks or client-only APIs, so they will work in either context once moved.https://discord.gg/yieldladder,https://twitter.com/yieldladder,https://t.me/yieldladder) are placeholder slugs. Replace with the protocol's actual handles before shipping./termshas a placeholder pending legal counsel input before mainnet launch.npmdependencies were added. Icons are inline SVG.Closes #54