Skip to content

Commit eb43fa5

Browse files
authored
Merge pull request #79 from jpcmf/improvement/dashboard
improvement: Update Search component margin and enhance SidebarNav wi…
2 parents effd0cf + eda1cd9 commit eb43fa5

File tree

2 files changed

+36
-3
lines changed

2 files changed

+36
-3
lines changed

src/components/Header/Search.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ export function Search() {
88
flex="1"
99
py="4"
1010
px="8"
11-
ml="6"
1211
maxWidth={400}
1312
color="gray.200"
1413
position="relative"
1514
bg="gray.800"
1615
borderRadius="full"
1716
alignItems="center"
17+
style={{ marginLeft: "88px" }}
1818
>
1919
<Input
2020
color="gray.50"

src/components/Sidebar/SidebarNav.tsx

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@ import {
44
RiChatSmile2Line,
55
RiContactsLine,
66
RiDashboardLine,
7+
RiDirectionLine,
78
RiEdit2Line,
8-
RiShieldStarLine
9+
RiPictureInPictureLine,
10+
RiShieldStarLine,
11+
RiTrophyLine
912
} from "react-icons/ri";
1013
import { Stack } from "@chakra-ui/react";
1114

@@ -44,7 +47,37 @@ export function SidebarNav() {
4447
color: "green.400"
4548
}}
4649
>
47-
Campeonatos / Inscrições
50+
Inscrições
51+
</NavLink>
52+
<NavLink
53+
icon={RiTrophyLine}
54+
href="/users"
55+
_activeLink={{
56+
textDecoration: "none",
57+
color: "green.400"
58+
}}
59+
>
60+
Campeonatos
61+
</NavLink>
62+
<NavLink
63+
icon={RiPictureInPictureLine}
64+
href="/users"
65+
_activeLink={{
66+
textDecoration: "none",
67+
color: "green.400"
68+
}}
69+
>
70+
Spots
71+
</NavLink>
72+
<NavLink
73+
icon={RiDirectionLine}
74+
href="/users"
75+
_activeLink={{
76+
textDecoration: "none",
77+
color: "green.400"
78+
}}
79+
>
80+
Navigate
4881
</NavLink>
4982
<NavLink
5083
icon={RiShieldStarLine}

0 commit comments

Comments
 (0)