From b8217848c320d318664fc7b7e1cd76ca397f1d75 Mon Sep 17 00:00:00 2001 From: CyrilleDS Date: Sun, 15 Feb 2026 23:07:06 +0100 Subject: [PATCH] feat: replace beta banner with data source disclaimer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the "Version bêta" banner with an informational message stating that data comes exclusively from data.gouv.fr and is not exhaustive. The banner remains dismissable. The wrench icon is replaced by an info icon. Co-authored-by: Cursor --- front/app/components/Navbar/index.tsx | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/front/app/components/Navbar/index.tsx b/front/app/components/Navbar/index.tsx index 6cce6d51..ece603d5 100644 --- a/front/app/components/Navbar/index.tsx +++ b/front/app/components/Navbar/index.tsx @@ -8,7 +8,7 @@ import Link from 'next/link'; import { Button } from '#components/ui/button'; import { NavigationMenu, NavigationMenuList } from '#components/ui/navigation-menu'; import SearchCommunity from '@/components/SearchBar/SearchCommunity'; -import { Wrench } from 'lucide-react'; +import { Info } from 'lucide-react'; import { MobileMenu } from './MobileMenu'; import { NavigationMenuGroup } from './NavigationMenuGroup'; @@ -89,11 +89,14 @@ const aProposMenus = [ }, ]; -const BandeauBeta = ({ onClose }: { onClose: () => void }) => ( +const BandeauInfo = ({ onClose }: { onClose: () => void }) => (
- - Version bêta - ce site est en cours de déploiement. Certaines fonctionnalités - peuvent ne pas fonctionner correctement. Merci pour votre compréhension. + + {' '}Les données présentées proviennent exclusivement de{' '} + + data.gouv.fr + {' '} + et ne sont pas exhaustives.