feat: add privacy policy, terms and conditions, and return policy pages#155
Merged
feat: add privacy policy, terms and conditions, and return policy pages#155
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a “Legal” section to the client app by introducing dedicated Privacy Policy, Terms & Conditions, and Return Policy pages, wiring them into the router, and linking them from the footer.
Changes:
- Added three new public pages under
client/src/pages/legal/for Privacy Policy, Terms & Conditions, and Return Policy. - Registered new public routes and path constants for the legal pages.
- Updated the footer “Legal” section to link to the new routes.
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| server/package-lock.json | Lockfile updates from dependency resolution. |
| client/package-lock.json | Lockfile updates from dependency resolution. |
| client/src/router/routesVariables/publicRoutes.tsx | Adds route entries for the three new legal pages. |
| client/src/router/routesVariables/pathVariables.ts | Adds public path constants for legal pages. |
| client/src/pages/legal/PrivacyPolicyPage.tsx | New Privacy Policy page with TOC and anchored sections. |
| client/src/pages/legal/TermsAndConditionsPage.tsx | New Terms & Conditions page with TOC and anchored sections. |
| client/src/pages/legal/ReturnPolicyPage.tsx | New Return Policy page with TOC and anchored sections. |
| client/src/components/footer/Footer.tsx | Converts “Legal” items into internal links pointing to the new routes. |
Files not reviewed (2)
- client/package-lock.json: Language not supported
- server/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Alaa2019-ml
approved these changes
Mar 8, 2026
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.
In this Branch I added the legal section:
Privacy and Policy

Terms & Conditions
Return Policy