feat: add router to the arm page (#14) #20

Merged
primakov merged 4 commits from feature/router-arm into main 2024-11-17 11:02:48 +03:00
Showing only changes of commit dedc7e1608 - Show all commits

View File

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

i18next

i18next
{i18next.t(`dry-wash.arm.master.sideBar.title.orders`)}
</Button>
<Divider />
<Link to='masters'>
<Button w='100%' colorScheme='green' variant='ghost'>
{i18next.t(`dry-wash.arm.master.sideBar.title.master`)}
</Button>
</Link>
<Button
as={Link}
to='masters'
w='100%'
colorScheme='green'
variant='ghost'
>
{i18next.t(`dry-wash.arm.master.sideBar.title.master`)}
</Button>
<Divider />
</VStack>
</Box>