mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-06 19:35:04 +00:00
* chore: update constants * feat: add releases data utils * chore: add fast-xml-parser * chore: update types * feat: fetch & parse all releases data * chore: update utils * wip: use real data on DataTable * chore: update yarn.lock * fix: getReleaseCommitHash * feat: filter data per downloads tab * chore: update DownloadsTable * chore: update DownloadsTable Props * fix: getReleaseArch.ts * feat: add fetchXMLData util * feat: add fetchLatestReleaseCommit util * feat: add getSortedReleases util * chore: comment wip primary release feature * fix: fetchXMLData * chore: add netlify.toml * fix: total number of releases count * fix: center showing latest releases text and use smaller font * chore: prettier * chore: update textStyles * fix: merge conflicts
30 lines
943 B
TypeScript
30 lines
943 B
TypeScript
import { FC } from 'react';
|
|
import { Input, InputGroup, Stack } from '@chakra-ui/react';
|
|
|
|
import { BORDER_WIDTH } from '../../../constants';
|
|
import { LensIcon } from '../icons';
|
|
|
|
export const Search: FC = () => {
|
|
return (
|
|
<Stack
|
|
borderBottom={{ base: BORDER_WIDTH, md: 'none' }}
|
|
borderRight={{ base: 'none', md: BORDER_WIDTH }}
|
|
borderColor={{ base: 'bg', md: 'primary' }}
|
|
px={4}
|
|
py={{ base: 8, md: 4 }}
|
|
_hover={{ base: { bg: 'primary' }, md: { bg: 'none' } }}
|
|
>
|
|
<InputGroup>
|
|
<Input
|
|
variant='unstyled'
|
|
placeholder='search'
|
|
size='md'
|
|
_placeholder={{ color: { base: 'bg', md: 'primary' }, fontStyle: 'italic' }}
|
|
/>
|
|
<Stack pl={4} justifyContent='center' alignItems='center'>
|
|
<LensIcon color={{ base: 'bg', md: 'primary' }} fontSize={{ base: '3xl', md: 'md' }} />
|
|
</Stack>
|
|
</InputGroup>
|
|
</Stack>
|
|
);
|
|
};
|