Skip to content

Commit d559fa3

Browse files
authored
Docs: Update legacy banner content; hide button [UXE-202] (#4093)
1 parent aa2f001 commit d559fa3

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

docs/docs-components/AppLayout.tsx

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
import { Fragment, ReactNode, useEffect, useState } from 'react';
22
import { useRouter } from 'next/router';
3-
import {
4-
Box,
5-
ButtonLink,
6-
DeviceTypeProvider,
7-
Divider,
8-
FixedZIndex,
9-
Flex,
10-
Icon,
11-
Sticky,
12-
Text,
13-
} from 'gestalt';
3+
import { Box, DeviceTypeProvider, Divider, FixedZIndex, Flex, Icon, Sticky, Text } from 'gestalt';
144
import {
155
TOKEN_COLOR_GRAY_ROBOFLOW_700,
166
TOKEN_COLOR_ORANGE_FIRETINI_0,
@@ -71,12 +61,15 @@ function Banner() {
7161
</Text>
7262

7363
<Text size={isSMBreakpoint ? '200' : '300'}>
74-
Information might be outdated. For the latest documentation and support, visit Gestalt’s
75-
new documentation website.
64+
Information might be outdated. Stay tuned for Gestalt’s new documentation website coming
65+
soon.
7666
</Text>
7767
</Flex>
7868
</Flex>
7969

70+
{/*
71+
Enable when the new documentation website is ready:
72+
8073
<Box marginTop={4} smMarginTop={0}>
8174
<ButtonLink
8275
color="red"
@@ -85,6 +78,7 @@ function Banner() {
8578
text="Explore Gestalt 2.0"
8679
/>
8780
</Box>
81+
*/}
8882
</Box>
8983
);
9084
}

0 commit comments

Comments
 (0)