Add Terms of Service page, update community skills disclaimer, shared header/footer#40
Merged
Conversation
Contributor
There was a problem hiding this comment.
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
/termswith a styled Terms of Service page and metadata. - Extracts shared
SiteHeader/SiteFootercomponents and updates the landing page to use them (including new footer links to Terms + Privacy). - Updates the “Community Built” disclaimer text in the
llms.txtgenerator.
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.
| export function SiteHeader() { | ||
| return ( | ||
| <header className="SkillsLanding__header"> | ||
| <Link href="/" className="SkillsLanding__logo"> |
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); | ||
| } | ||
| } | ||
| } |
Contributor
Author
|
Addressed all four Copilot review comments:
|
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
Test plan