Skip to content

feat: add imprint and privacy policy pages, add logo to navigation bar#38

Merged
MaximilianAnzinger merged 7 commits into
mainfrom
feature/add-website-essentials
Mar 4, 2026
Merged

feat: add imprint and privacy policy pages, add logo to navigation bar#38
MaximilianAnzinger merged 7 commits into
mainfrom
feature/add-website-essentials

Conversation

@markstockhausen

@markstockhausen markstockhausen commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

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

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as
    expected)
  • 📝 Documentation update
  • 🎨 Style/formatting changes (no functional changes)
  • ♻️ Code refactoring (no functional changes)
  • ⚡ Performance improvements
  • 🔧 Configuration changes
  • 🧪 Test additions or modifications
  • 🚀 Deployment/DevOps changes

Changes Made

  • Client:
    • Add ImprintPage.tsx with TUM publisher info, legal disclaimers (§ 5 DDG compliant)
    • Add PrivacyPage.tsx rendering markdown with styled components
    • Add privacy.md with GDPR-compliant privacy policy content
    • Add logo (logoV4.svg) to navbar
    • Update footer with Imprint and Privacy Policy links
    • Add routes for /imprint and /privacy in App.tsx
    • Add TypeScript declaration for *.md?raw imports in vite-env.d.ts
    • Add react-markdown dependency for rendering markdown content
    • Remove unused SVG assets (file.svg, globe.svg, next.svg, vercel.svg, window.svg)
  • Server: No changes
  • Database: No changes

Testing

Test Cases

  • Existing functionality still works
  • New functionality works as expected
  • Edge cases handled appropriately

Manual Testing

  • Tested in development environment
  • Verified Imprint page displays all legal sections correctly
  • Verified Privacy page renders markdown with proper styling
  • Verified footer links navigate correctly
  • Verified logo displays in navbar

Screenshots/Videos

Added logo to header:
image

Updated footer:
image

Added imprint page:
image

Added privacy policy page (rendering markdown file):
image

@markstockhausen markstockhausen self-assigned this Mar 4, 2026
@github-actions github-actions Bot added documentation Improvements or additions to documentation enhancement New feature or request client-application 🎨 Client-side/UI changes configuration ⚙️ Configuration file changes dependencies 📦 Dependency updates labels Mar 4, 2026
@github-actions

github-actions Bot commented Mar 4, 2026

Copy link
Copy Markdown

🔍 Code Quality Report

📊 Code Statistics

🚨 Potential Issues

✅ No console statements found
⚠️ Found 'any' or 'unknown' types - consider using more specific types

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 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 /imprint and /privacy routes 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-markdown dependency and TypeScript module declaration for *.md?raw imports; 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.

Comment thread src/pages/ImprintPage.tsx Outdated
@github-actions

github-actions Bot commented Mar 4, 2026

Copy link
Copy Markdown

🔍 Code Quality Report

📊 Code Statistics

🚨 Potential Issues

✅ No console statements found
⚠️ Found 'any' or 'unknown' types - consider using more specific types

@github-actions

github-actions Bot commented Mar 4, 2026

Copy link
Copy Markdown

🔍 Code Quality Report

📊 Code Statistics

🚨 Potential Issues

✅ No console statements found
⚠️ Found 'any' or 'unknown' types - consider using more specific types

@github-actions

github-actions Bot commented Mar 4, 2026

Copy link
Copy Markdown

🔍 Code Quality Report

📊 Code Statistics

🚨 Potential Issues

✅ No console statements found
⚠️ Found 'any' or 'unknown' types - consider using more specific types

@MaximilianAnzinger
MaximilianAnzinger merged commit 3f6996b into main Mar 4, 2026
8 checks passed
@MaximilianAnzinger
MaximilianAnzinger deleted the feature/add-website-essentials branch March 4, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client-application 🎨 Client-side/UI changes configuration ⚙️ Configuration file changes dependencies 📦 Dependency updates documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants