diff --git a/README.md b/README.md index bcf23463b1..38125544b4 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ After adding a page, you will also need to list it in `/src/data/documentation-l Notes in documentation pages are highlighted boxes (color depend on the current set dark/light theme). To add a note, wrap the note text in `` tage as follows: ```markdown - text to include in note +text to include in note ``` Screen Shot 2023-01-04 at 18 22 06 diff --git a/src/components/UI/downloads/BuildsDeprecationNote.tsx b/src/components/UI/downloads/BuildsDeprecationNote.tsx new file mode 100644 index 0000000000..02de6355ec --- /dev/null +++ b/src/components/UI/downloads/BuildsDeprecationNote.tsx @@ -0,0 +1,17 @@ +import { Stack, Text } from '@chakra-ui/react'; +import { FC } from 'react'; + +interface Props { + os: string; +} + +export const BuildsDeprecationNote: FC = ({ os }) => { + return ( + + + Geth no longer releases builds for {os}. {os} builds on this page are + archival and are not consistent with current Geth. + + + ); +}; diff --git a/src/components/UI/downloads/index.ts b/src/components/UI/downloads/index.ts index 9c5b9ae8c4..3523ba6220 100644 --- a/src/components/UI/downloads/index.ts +++ b/src/components/UI/downloads/index.ts @@ -1,3 +1,4 @@ +export * from './BuildsDeprecationNote'; export * from './DownloadsHero'; export * from './DownloadsSection'; export * from './DownloadsTable';