Skip to content

feat(frontend): bundle fonts locally to comply with EU privacy regula…#50

Merged
ivanskv2000 merged 1 commit into
mainfrom
feat-frontend-bundle-fonts-locally
May 21, 2026
Merged

feat(frontend): bundle fonts locally to comply with EU privacy regula…#50
ivanskv2000 merged 1 commit into
mainfrom
feat-frontend-bundle-fonts-locally

Conversation

@ivanskv2000
Copy link
Copy Markdown
Owner

✨ Overview

This PR bundles the "Inter" and "Pacifico" Google Fonts locally within the frontend application to comply with EU privacy regulations. By using @fontsource packages, we ensure that no external calls are made to fonts.googleapis.com when users access the application, avoiding the need for a separate font consent prompt.

🛠️ Scope & Verification

Workspace:

  • frontend
  • backend
  • common/config

Checklist:

  • Manually tested and verified locally
  • Automated suite passes cleanly (formatting, linting, tests)
  • New/updated unit tests included (if applicable)

📝 Developer Notes (Optional)

  • Added @fontsource-variable/inter and @fontsource/pacifico as dependencies.
  • Updated frontend/src/main.ts to import the local font files.
  • Removed the external @import in frontend/src/index.css.

@sonarqubecloud
Copy link
Copy Markdown

@ivanskv2000 ivanskv2000 merged commit b2cb877 into main May 21, 2026
4 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.

1 participant