Skip to content

feat: add dsfr white label config#213

Draft
ddecrulle wants to merge 9 commits intomainfrom
dsfr-white-label
Draft

feat: add dsfr white label config#213
ddecrulle wants to merge 9 commits intomainfrom
dsfr-white-label

Conversation

@ddecrulle
Copy link
Copy Markdown
Contributor

@ddecrulle ddecrulle commented May 19, 2025

🧪 Experimental use of react-dsfr white-label feature

This PR introduces an experimental implementation of the white-labeling mode in react-dsfr. It allows displaying INSEE survey pages without any reference to the French government (e.g. République Française, Marianne logo, etc.).

🔧 Activation

The white-label mode can be toggled via the VITE_IS_GOV_INSTANCE environment variable:

VITE_IS_GOV_INSTANCE=false
  • true → display full government branding (default DSFR behavior)
  • false → display INSEE-branded version without government identity

This enables flexible deployments depending on the institutional context.

📸 Screenshot

Capture d’écran 2025-05-20 à 15 58 29

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1.2% Coverage on New Code (required ≥ 50%)

See analysis details on SonarQube Cloud

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