This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6372e33
commit 661b095
Showing
5 changed files
with
128 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
packages/app/src/systems/Core/components/DeprecatedAlert.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
import { Box, Flex, Icon, Link, Text } from '@fuel-ui/react'; | ||
|
||
export function DeprecatedAlert() { | ||
const colors = { | ||
backgroundColor: '#fffab8', | ||
color: '#a06e00', | ||
}; | ||
|
||
return ( | ||
<> | ||
<Box | ||
css={{ | ||
margin: '0 auto', | ||
width: '100%', | ||
maxWidth: '80rem', | ||
overflow: 'hidden', | ||
'@lg': { | ||
px: '3.5rem', | ||
width: 'calc(100% - 7rem)', | ||
}, | ||
}} | ||
> | ||
<Flex | ||
css={{ | ||
backgroundColor: colors.backgroundColor, | ||
width: '100%', | ||
py: '$2', | ||
color: colors.color, | ||
border: 'hsla(0,0%,0%,1)', | ||
borderBottomLeftRadius: 6, | ||
borderBottomRightRadius: 6, | ||
}} | ||
> | ||
<Box css={{ p: '$3' }}> | ||
<Icon icon="AlertTriangle" /> | ||
</Box> | ||
<Box> | ||
<Text fontSize="sm" css={{ color: colors.color }}> | ||
This app is compatible with beta-4 network and Fuel Wallet version | ||
0.13.2. For newer versions access: | ||
<Link | ||
href="https://app.fuel.network" | ||
isExternal | ||
css={{ color: '#00894f' }} | ||
> | ||
https://app.fuel.network | ||
</Link> | ||
<br /> | ||
This app will be shutdown on March 1st. | ||
</Text> | ||
</Box> | ||
</Flex> | ||
</Box> | ||
</> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
@layer base { | ||
.custom-scrollbar { | ||
&::-webkit-scrollbar { | ||
@apply w-[14px] bg-transparent; | ||
} | ||
&::-webkit-scrollbar-track { | ||
@apply bg-transparent; | ||
} | ||
&::-webkit-scrollbar-thumb { | ||
@apply bg-gray-8 opacity-50 border-4 border-transparent rounded-3xl bg-clip-content-box; | ||
} | ||
&::-webkit-scrollbar-thumb:hover { | ||
@apply bg-gray-10; | ||
} | ||
} | ||
} |