Skip to content

Add Terms of Service page, update community skills disclaimer, shared header/footer#40

Merged
kaankacar merged 3 commits into
stellar:mainfrom
oceans404:tc
Jul 1, 2026
Merged

Add Terms of Service page, update community skills disclaimer, shared header/footer#40
kaankacar merged 3 commits into
stellar:mainfrom
oceans404:tc

Conversation

@oceans404

Copy link
Copy Markdown
Contributor

Summary

  • Community skills copy — updated human-facing and agent-facing (llms.txt) disclaimer text to legal-approved language from Eric Wingrove (SDF legal). Replaces the old DYOR/community-contributed language with reviewed SDF language.
  • Terms of Service page — new `/terms` page with the full site ToS drafted by Eric, effective June 30, 2026, linking to `stellar.org/privacy-policy` and `stellar.org/terms-of-service`.
  • Footer — added Terms of Service and Privacy Policy links to the footer on all pages.
  • Shared header/footer components — extracted `SiteHeader` and `SiteFooter` into reusable components so both the main page and `/terms` share the same header (with logo, theme switcher, dev docs link) and footer. Logo/Skills badge now links back to `/`.

Test plan

  • Main page loads with updated footer (Terms of Service · Privacy Policy links)
  • Clicking the Stellar logo or Skills badge navigates to `/`
  • `/terms` loads with the full ToS content, correct date (June 30, 2026), and correct URL (skills.stellar.org)
  • `/terms` has the same header and footer as the main page, including working dark/light mode toggle
  • Footer "Terms of Service" links to `/terms`; "Privacy Policy" links to `https://stellar.org/privacy-policy\`
  • `llms.txt` Community Built section reflects updated agent-facing disclaimer on next build

Copilot AI review requested due to automatic review settings June 30, 2026 16:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new Terms of Service route to the Next.js site and refactors the landing page to share a common header/footer, while updating the community-skills disclaimer copy (including llms.txt) to the new legal-approved language.

Changes:

  • Introduces /terms with a styled Terms of Service page and metadata.
  • Extracts shared SiteHeader / SiteFooter components and updates the landing page to use them (including new footer links to Terms + Privacy).
  • Updates the “Community Built” disclaimer text in the llms.txt generator.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
site/src/app/terms/page.tsx Adds the /terms page content and metadata, reusing shared header/footer.
site/src/app/terms/styles.scss Adds styling for the Terms page layout and typography.
site/src/app/_components/SiteHeader.tsx New reusable header with home link, theme switcher, and docs link.
site/src/app/_components/SiteFooter.tsx New reusable footer with Terms/Privacy links and GitHub/source link.
site/src/app/page.tsx Refactors the landing page to use shared header/footer and updates community disclaimer copy.
site/src/app/styles.scss Updates header/footer styling to support shared components and new footer links.
site/scripts/generate-llms-txt.mjs Updates the agent-facing “Community Built” disclaimer copy for llms.txt.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread site/src/app/_components/SiteHeader.tsx Outdated
export function SiteHeader() {
return (
<header className="SkillsLanding__header">
<Link href="/" className="SkillsLanding__logo">
Comment thread site/src/app/_components/SiteFooter.tsx Outdated
Comment on lines +29 to +31
<a href="/terms" className="SkillsLanding__footerLink">
Terms of Service
</a>
@@ -0,0 +1,45 @@
import { GitHubIcon } from "./icons";
Comment on lines +46 to +56
a {
color: var(--sds-clr-lilac-11);
text-decoration: none;
transition: color var(--sds-anim-transition-default);

@media (hover: hover) {
&:hover {
color: var(--sds-clr-lilac-09);
}
}
}
@oceans404

Copy link
Copy Markdown
Contributor Author

Addressed all four Copilot review comments:

  • Added aria-label="Stellar Skills home" to the logo link in SiteHeader so screen readers have a stable label when the Skills badge is hidden on mobile
  • Switched the /terms footer link from <a> to Next.js <Link> for client-side navigation, and added the next/link import to SiteFooter
  • Added text-decoration: underline to links inside .TermsPage__main — scoped to the body text only, footer links are unaffected

@kaankacar kaankacar merged commit 1256198 into stellar:main Jul 1, 2026
3 checks passed
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.

3 participants