mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
feat: add BuildsDeprecationNote component
This commit is contained in:
parent
6f384b6266
commit
4cc54d9dae
3 changed files with 19 additions and 1 deletions
17
src/components/UI/downloads/BuildsDeprecationNote.tsx
Normal file
17
src/components/UI/downloads/BuildsDeprecationNote.tsx
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
import { Stack, Text } from '@chakra-ui/react';
|
||||||
|
import { FC } from 'react';
|
||||||
|
|
||||||
|
interface Props {
|
||||||
|
os: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const BuildsDeprecationNote: FC<Props> = ({ os }) => {
|
||||||
|
return (
|
||||||
|
<Stack p={4}>
|
||||||
|
<Text textAlign='center' bg='code-bg' p={3}>
|
||||||
|
<strong>Geth no longer releases builds for {os}.</strong> {os} builds on this page are
|
||||||
|
archival and are not consistent with current Geth.
|
||||||
|
</Text>
|
||||||
|
</Stack>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
export * from './BuildsDeprecationNote';
|
||||||
export * from './DownloadsHero';
|
export * from './DownloadsHero';
|
||||||
export * from './DownloadsSection';
|
export * from './DownloadsSection';
|
||||||
export * from './DownloadsTable';
|
export * from './DownloadsTable';
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue