From cc11875c524855aecb59a1821e20ffb492211ba5 Mon Sep 17 00:00:00 2001 From: Ron DeVera <21990+rondevera@users.noreply.github.com> Date: Fri, 31 Oct 2025 15:24:32 -0700 Subject: [PATCH] Docs: Update legacy banner content; hide button [UXE-202] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit What: In the legacy site’s banner, hide the “Explore Gestalt 2.0” button and change the text to: “Information might be outdated. Stay tuned for Gestalt’s new documentation website coming soon.” Why: The new button links back to the current page, which is confusing and messes up browser history. We’ll re-enable this button when the new website content is ready. --- docs/docs-components/AppLayout.tsx | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/docs/docs-components/AppLayout.tsx b/docs/docs-components/AppLayout.tsx index 9909f80ee5..3675fbcb7a 100644 --- a/docs/docs-components/AppLayout.tsx +++ b/docs/docs-components/AppLayout.tsx @@ -1,16 +1,6 @@ import { Fragment, ReactNode, useEffect, useState } from 'react'; import { useRouter } from 'next/router'; -import { - Box, - ButtonLink, - DeviceTypeProvider, - Divider, - FixedZIndex, - Flex, - Icon, - Sticky, - Text, -} from 'gestalt'; +import { Box, DeviceTypeProvider, Divider, FixedZIndex, Flex, Icon, Sticky, Text } from 'gestalt'; import { TOKEN_COLOR_GRAY_ROBOFLOW_700, TOKEN_COLOR_ORANGE_FIRETINI_0, @@ -71,12 +61,15 @@ function Banner() { - Information might be outdated. For the latest documentation and support, visit Gestalt’s - new documentation website. + Information might be outdated. Stay tuned for Gestalt’s new documentation website coming + soon. + {/* + Enable when the new documentation website is ready: + + */} ); }