feat: add imprint and privacy policy pages, add logo to navigation bar#38
Conversation
🔍 Code Quality Report📊 Code Statistics🚨 Potential Issues✅ No console statements found |
There was a problem hiding this comment.
Pull request overview
Adds legal/compliance pages (Imprint + Privacy Policy) to the client app, wires them into routing/navigation, and introduces markdown-based rendering for easier maintenance of the privacy text.
Changes:
- Added new
/imprintand/privacyroutes with corresponding pages (privacy content rendered from a raw-imported markdown file). - Updated UI navigation elements (navbar logo; footer links) to expose the new pages.
- Added
react-markdowndependency and TypeScript module declaration for*.md?rawimports; removed unused public SVG assets.
Reviewed changes
Copilot reviewed 8 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/vite-env.d.ts | Adds TS module declaration for *.md?raw imports used by the privacy page. |
| src/pages/PrivacyPage.tsx | New page rendering privacy.md via react-markdown with custom-styled components. |
| src/pages/ImprintPage.tsx | New imprint page content plus a local Section helper component. |
| src/content/privacy.md | New markdown privacy policy content. |
| src/components/navbar.tsx | Adds logoV4.svg image to the navbar home link. |
| src/components/footer.tsx | Adds footer links for About / Imprint / Privacy Policy. |
| src/App.tsx | Registers new routes for /imprint and /privacy. |
| src/pages/HomePage.tsx | Adjusts spacing for the challenges section. |
| package.json | Adds react-markdown dependency. |
| package-lock.json | Locks react-markdown and transitive dependencies. |
| public/file.svg / globe.svg / next.svg / vercel.svg / window.svg | Removes unused SVG assets from public/. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
🔍 Code Quality Report📊 Code Statistics🚨 Potential Issues✅ No console statements found |
🔍 Code Quality Report📊 Code Statistics🚨 Potential Issues✅ No console statements found |
🔍 Code Quality Report📊 Code Statistics🚨 Potential Issues✅ No console statements found |
Description
Add legal compliance pages (Imprint and Privacy Policy) required for TUM-hosted platforms, along with a logo in the navbar. The Privacy Policy page renders content from a markdown file for easy maintenance.
Type of Change
expected)
Changes Made
ImprintPage.tsxwith TUM publisher info, legal disclaimers (§ 5 DDG compliant)PrivacyPage.tsxrendering markdown with styled componentsprivacy.mdwith GDPR-compliant privacy policy contentlogoV4.svg) to navbar/imprintand/privacyinApp.tsx*.md?rawimports invite-env.d.tsreact-markdowndependency for rendering markdown contentTesting
Test Cases
Manual Testing
Screenshots/Videos
Added logo to header:

Updated footer:

Added imprint page:

Added privacy policy page (rendering markdown file):
