Skip to content

feat: polish responsive UI and add bilingual legal pages - #26

Merged
kamycoding merged 1 commit into
mainfrom
chore/code-cleanup
Aug 10, 2026
Merged

feat: polish responsive UI and add bilingual legal pages#26
kamycoding merged 1 commit into
mainfrom
chore/code-cleanup

Conversation

@kamycoding

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI lite review requested due to automatic review settings August 10, 2026 14:12
@netlify

netlify Bot commented Aug 10, 2026

Copy link
Copy Markdown

Deploy Preview for fanciful-cannoli-268c0c ready!

Name Link
🔨 Latest commit dd2b78d
🔍 Latest deploy log https://app.netlify.com/projects/fanciful-cannoli-268c0c/deploys/6a79dc317d98c600089a5696
😎 Deploy Preview https://deploy-preview-26--fanciful-cannoli-268c0c.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@kamycoding
kamycoding merged commit bba733f into main Aug 10, 2026
5 checks passed
@kamycoding
kamycoding deleted the chore/code-cleanup branch August 10, 2026 14:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR polishes the responsive UI and introduces fully bilingual (EN/DE) Legal Notice and Privacy Policy pages by moving their content into the shared public/i18n/*.json translations and wiring templates/tests to ngx-translate.

Changes:

  • Localize Legal Notice + Privacy Policy page titles and bodies via translation keys, with substantial new EN/DE legal content in public/i18n/*.json.
  • Update/expand unit tests to validate localized titles, full legal page rendering, and language switching behavior.
  • UI/UX tweaks for skills icons, contact form accessibility/layout, header logo scroll behavior, and router scroll restoration.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/app/testing/i18n-testing.ts Switch test translations from inline objects to importing public/i18n/*.json.
src/app/pages/privacy-policy/privacy-policy.ts Add TranslatePipe to support translated template content.
src/app/pages/privacy-policy/privacy-policy.html Convert Privacy Policy content to translation-key-driven template (arrays + conditional text).
src/app/pages/privacy-policy/privacy-policy.spec.ts Strengthen assertions for full EN/DE privacy policy rendering and live language switching.
src/app/pages/legal-notice/legal-notice.ts Add TranslatePipe to support translated template content.
src/app/pages/legal-notice/legal-notice.html Convert Legal Notice content to translation-key-driven template.
src/app/pages/legal-notice/legal-notice.spec.ts Expand tests to validate complete EN/DE legal notice rendering and switching.
src/app/pages/home/sections/skills/skills.css Adjust grayscale behavior to apply only on hover-capable devices.
src/app/pages/home/sections/contact/contact.html Improve a11y by only setting aria-describedby and rendering error nodes when errors are visible.
src/app/pages/home/sections/contact/contact.css Update contact field layout and error positioning; tweak invalid/hover states.
src/app/pages/home/sections/contact/contact.spec.ts Add test asserting the privacy link route remains stable while label localizes.
src/app/layout/header/header.ts Add onLogoClick() to close menu and scroll-to-top with reduced-motion support.
src/app/layout/header/header.html Wire logo clicks to onLogoClick() across header variants.
src/app/core/i18n/localized-title.strategy.spec.ts Extend title localization tests to cover legal routes and live language changes.
src/app/app.routes.spec.ts Add a guard test ensuring legal routes and wildcard route remain unchanged.
src/app/app.config.ts Enable router scrollPositionRestoration: 'top' alongside anchor scrolling.
public/i18n/en.json Add EN translations for legal pages and titles.
public/i18n/de.json Add DE translations for legal pages and titles.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +5 to +6
import DE_TRANSLATIONS from '../../../public/i18n/de.json';
import EN_TRANSLATIONS from '../../../public/i18n/en.json';
}

protected onLogoClick(): void {
this.closeMobileMenu(false);
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.

2 participants