add todo items

This commit is contained in:
Corwin Smith 2022-10-09 10:28:07 -06:00
parent 1f6879de30
commit 9e7aa2ba57
2 changed files with 9 additions and 3 deletions

View file

@ -21,9 +21,10 @@ export const DataTable: FC<Props> = ({
}) => { }) => {
return ( return (
<TableContainer <TableContainer
// TODO: Work on firefox implementation of scrollbar styles
// Note: This wont work on safari, we are ok with this.
css={{ css={{
"&::-webkit-scrollbar": { "&::-webkit-scrollbar": {
background: "#d7f5ef",
borderTop: '2px solid #11866f', borderTop: '2px solid #11866f',
height: 18 height: 18
}, },
@ -68,14 +69,19 @@ export const DataTable: FC<Props> = ({
return ( return (
<Tr <Tr
key={idx} key={idx}
// TODO: Full width for hover
// TODO: Add fade in animation on hover
// TODO: Get new background color from nuno for hover
_hover={{background: 'green.50'}}
> >
{ {
columnHeaders.map((columnHeader, idx) => { columnHeaders.map((columnHeader, idx) => {
// TODO: Make the font size smaller (refer to design system)
return ( return (
<Td <Td
key={idx} key={idx}
px={0} px={0}
pr={2} pr={8}
> >
{item[columnHeader.toLowerCase()]} {item[columnHeader.toLowerCase()]}
</Td> </Td>

View file

@ -170,7 +170,7 @@ const DownloadsPage: NextPage = ({}) => {
<DataTable <DataTable
columnHeaders={[ columnHeaders={[
'Build Server', 'Build Server',
'UniqueID', 'Unique ID',
'OpenPGP Key', 'OpenPGP Key',
'Fingerprint' 'Fingerprint'
]} ]}