Feat/legal seo terms of service privacy policy sitemap robots#74
Open
SheyeJDev wants to merge 3 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: Legal Pages + SEO Infrastructure
Closes #54
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 — Legal pages & SEO infrastructure
app/src/app/layout.tsx(updated)Added complete
openGraphandtwittermetadata fields:metadataBaseis required for Next.js 14 to resolve relative image paths in OG tags correctly.app/src/app/terms/page.tsx(new file)Terms of Service page at
/terms. Covers:app/src/app/privacy/page.tsx(new file)Privacy Policy page at
/privacy. Covers:app/src/app/legal.module.css(new file)Shared CSS module imported by both
/termsand/privacy. Avoids duplication. Styles: nav, prose layout, heading hierarchy, link colours, shared footer with back-link and footer nav.app/public/sitemap.xml(new file)Static sitemap listing all current and planned routes with
<changefreq>and<priority>hints. Routes covered:/,/blog,/dashboard,/deposit,/portfolio,/analytics,/allocations,/harvest,/governance,/learn,/faq,/audit,/contracts,/roadmap,/terms,/privacyapp/public/robots.txt(new file)File tree
Acceptance criteria checklist
Issue — Legal pages & SEO
/termspage exists, linked from footer, covers all required points/privacypage exists, linked from footer, explains no-account wallet-only modelapp/public/sitemap.xmllists all app routesapp/public/robots.txtis present and allows all crawlerslayout.tsxincludes completeopenGraphandtwittermetadata/termsand/privacyog-image.png— pending team action (1200×630 image to be added toapp/public/)Notes 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.