Skip to content

refactor: header elements improvements#47

Merged
arielbvergara merged 5 commits intomasterfrom
refactor/header-elements-improvements
Mar 19, 2026
Merged

refactor: header elements improvements#47
arielbvergara merged 5 commits intomasterfrom
refactor/header-elements-improvements

Conversation

@arielbvergara
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 18, 2026 21:19
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
child-family-development-support-backend Ready Ready Preview, Comment Mar 19, 2026 1:04am
child-family-development-support-frontend Ready Ready Preview, Comment Mar 19, 2026 1:04am

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 refactors and improves the header UI by updating desktop dropdown behavior (services + language selector) and refreshing related CTA copy in the i18n message files.

Changes:

  • Converted the Services nav dropdown from hover/focus-driven to click-toggled, with outside-click closing and visual chevron rotation state.
  • Replaced the inline language links with a dropdown-style language selector showing flag + full language name.
  • Updated hero/CTA-related translations (and EN nav “book consultation” label) to match the new header CTA wording.

Reviewed changes

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

File Description
frontend/components/layout/Header.tsx Adds click-toggled Services dropdown and new locale dropdown with outside-click dismissal.
frontend/messages/en.json Updates hero CTA text and nav “book consultation” label.
frontend/messages/nl.json Updates hero primary CTA text.
frontend/messages/de.json Updates hero primary CTA text.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@arielbvergara arielbvergara merged commit 9b7b391 into master Mar 19, 2026
3 of 4 checks passed
@arielbvergara arielbvergara deleted the refactor/header-elements-improvements branch March 19, 2026 01:04
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