From b563a8bc2a73eb0357c549854795680598557dbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Dubigny?= Date: Mon, 7 Oct 2024 15:23:33 +0200 Subject: [PATCH] fix(ProConnectButton): ProConnect is out! (#315) * fix: conflict between proconnect and franceconnect buttons * fix: proconnect link, root domain is not available yet * fix: franceconnect documentation link * feat: hide AC & MCP buttons, shows PC button instead --- .storybook/preview.js | 3 +-- src/ProConnectButton.tsx | 4 ++-- src/assets/proconnect-btn.css | 4 ++-- stories/FranceConnectButton.stories.tsx | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.storybook/preview.js b/.storybook/preview.js index 688f47609..e1cbc3033 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -110,8 +110,7 @@ const { getHardCodedWeight } = (() => { "components/Stepper", "components/Button", "components/FranceConnectButton", - "components/AgentConnectButton", - "components/MonCompteProButton" + "components/ProConnectButton" ]; function getHardCodedWeight(kind) { diff --git a/src/ProConnectButton.tsx b/src/ProConnectButton.tsx index de83cc7cf..9cd945755 100644 --- a/src/ProConnectButton.tsx +++ b/src/ProConnectButton.tsx @@ -53,7 +53,7 @@ export const ProConnectButton = memo( style={style} ref={ref} > - + S’identifier avec @@ -63,7 +63,7 @@ export const ProConnectButton = memo(