Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit bcc26de

Browse files
committed
chore: link
1 parent f10dc6b commit bcc26de

File tree

1 file changed

+47
-19
lines changed

1 file changed

+47
-19
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,52 @@
1-
import { Alert, Link } from '@fuel-ui/react';
1+
import { Box, Flex, Icon, Link, Text } from '@fuel-ui/react';
22

33
export function DeprecatedAlert() {
44
return (
5-
<Alert
6-
status="warning"
7-
css={{
8-
maxWidth: '80rem',
9-
margin: '0 auto',
10-
}}
11-
>
12-
<Alert.Description>
13-
This app is compatible only with the beta-4 network and Fuel Wallet
14-
version 0.13.2. For newer versions access: &nbsp;
15-
<Link href="https://app.fuel.network" isExternal>
16-
https://app.fuel.network
17-
</Link>
18-
<br />
19-
<br />
20-
This app will be shutdown in on March 1st.
21-
</Alert.Description>
22-
</Alert>
5+
<>
6+
<Box
7+
css={{
8+
margin: '0 auto',
9+
width: '100%',
10+
maxWidth: '80rem',
11+
overflow: 'hidden',
12+
'@lg': {
13+
px: '3.5rem',
14+
width: 'calc(100% - 7rem)',
15+
},
16+
}}
17+
>
18+
<Flex
19+
css={{
20+
backgroundColor: 'hsla(51.25,100%,18.82%,1)',
21+
width: '100%',
22+
p: '$2',
23+
color: 'white',
24+
border: 'hsla(0,0%,0%,1)',
25+
borderBottomLeftRadius: 6,
26+
borderBottomRightRadius: 6,
27+
}}
28+
>
29+
<Box css={{ p: '$3' }}>
30+
<Icon icon="AlertTriangle" />
31+
</Box>
32+
<Box>
33+
<Text fontSize="sm" color="white">
34+
This app is compatible only with the beta-4 network and Fuel
35+
Wallet version 0.13.2. For newer versions access: &nbsp;
36+
<Link
37+
href="https://app.fuel.network"
38+
isExternal
39+
color="$accent11"
40+
>
41+
https://app.fuel.network
42+
</Link>
43+
<br />
44+
<br />
45+
This app will be shutdown in on March 1st.
46+
</Text>
47+
</Box>
48+
</Flex>
49+
</Box>
50+
</>
2351
);
2452
}

0 commit comments

Comments
 (0)