feat: convert link to button (#14)
All checks were successful
it-academy/dry-wash-pl/pipeline/pr-main This commit looks good
it-academy/dry-wash-pl/pipeline/head This commit looks good

This commit is contained in:
Ильназ 2024-11-16 18:24:51 +03:00
parent 1c8348dee5
commit dedc7e1608

View File

@ -19,17 +19,25 @@ const Sidebar = () => (
<VStack align='start' spacing='4'> <VStack align='start' spacing='4'>
<Divider /> <Divider />
<Link to='orders'> <Button
<Button w='100%' colorScheme='green' variant='ghost'> as={Link}
{i18next.t(`dry-wash.arm.master.sideBar.title.orders`)} to='orders'
</Button> w='100%'
</Link> colorScheme='green'
variant='ghost'
>
{i18next.t(`dry-wash.arm.master.sideBar.title.orders`)}
</Button>
<Divider /> <Divider />
<Link to='masters'> <Button
<Button w='100%' colorScheme='green' variant='ghost'> as={Link}
{i18next.t(`dry-wash.arm.master.sideBar.title.master`)} to='masters'
</Button> w='100%'
</Link> colorScheme='green'
variant='ghost'
>
{i18next.t(`dry-wash.arm.master.sideBar.title.master`)}
</Button>
<Divider /> <Divider />
</VStack> </VStack>
</Box> </Box>