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

Commit 047336f

Browse files
committed
chore: add deprecated anymore.
1 parent 6372e33 commit 047336f

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { Alert, Link } from '@fuel-ui/react';
2+
3+
export function DeprecatedAlert() {
4+
return (
5+
<Alert
6+
status="warning"
7+
css={{
8+
justifyContent: 'center',
9+
'.fuel_Alert-content': {
10+
flex: '0 0 auto',
11+
},
12+
}}
13+
>
14+
<Alert.Description>
15+
This Portal website is not functional anymore.
16+
<br />
17+
It has been migrated to:&nbsp;
18+
<Link href="https://app.fuel.network" isExternal>
19+
https://app.fuel.network
20+
</Link>
21+
</Alert.Description>
22+
</Alert>
23+
);
24+
}

packages/app/src/systems/Core/components/Layout.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { OverlayDialog } from '~/systems/Overlay';
88

99
import { coreStyles } from '../styles';
1010

11+
import { DeprecatedAlert } from './DeprecatedAlert';
1112
import { Header } from './Header';
1213

1314
type ContentProps = {
@@ -57,6 +58,7 @@ export const Layout: LayoutComponent = ({ title, children }: LayoutProps) => {
5758
</Helmet>
5859
<Flex as="main" direction="column" css={styles.root}>
5960
<Header />
61+
<DeprecatedAlert />
6062
<OverlayDialog />
6163
<Box css={styles.scrollView}>
6264
<Box css={coreStyles.scrollableContent}>{children}</Box>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;
4+
5+
@layer base {
6+
.custom-scrollbar {
7+
&::-webkit-scrollbar {
8+
@apply w-[14px] bg-transparent;
9+
}
10+
&::-webkit-scrollbar-track {
11+
@apply bg-transparent;
12+
}
13+
&::-webkit-scrollbar-thumb {
14+
@apply bg-gray-8 opacity-50 border-4 border-transparent rounded-3xl bg-clip-content-box;
15+
}
16+
&::-webkit-scrollbar-thumb:hover {
17+
@apply bg-gray-10;
18+
}
19+
}
20+
}

0 commit comments

Comments
 (0)