Skip to content

Commit 210f5c9

Browse files
committed
Add link to connections in sidebar
1 parent a140a50 commit 210f5c9

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/components/Toolbar/Sidebar.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function Sidebar({ show, onClose }: SidebarProps) {
1414

1515
return (
1616
<div
17-
className={`overflow-y-auto z-50 fixed inset-0 bg-sinfo-primary p-10 mb-safe flex flex-col gap-6 transition-transform duration-300 ${
17+
className={`overflow-y-auto z-50 fixed inset-0 bg-sinfo-primary px-10 py-8 mb-safe flex flex-col gap-6 transition-transform duration-300 ${
1818
show ? "translate-x-0" : "-translate-x-full"
1919
}`}
2020
>
@@ -30,6 +30,9 @@ export default function Sidebar({ show, onClose }: SidebarProps) {
3030
<Link href="/profile" onClick={onClose}>
3131
Profile
3232
</Link>
33+
<Link href="/profile/connections" onClick={onClose}>
34+
Connections
35+
</Link>
3336
</div>
3437
<div className="flex flex-col gap-2">
3538
<Link href="/schedule?kind=keynote" onClick={onClose}>
@@ -75,10 +78,6 @@ export default function Sidebar({ show, onClose }: SidebarProps) {
7578
Report a Bug
7679
<ExternalLink size={16} />
7780
</Link>
78-
{/* todo: the pages below dont exist */}
79-
<Link href="#" onClick={onClose}>
80-
Privacy Policy
81-
</Link>
8281
<Link
8382
href="https://sinfo.org/code-of-conduct"
8483
target="_blank"
@@ -91,8 +90,8 @@ export default function Sidebar({ show, onClose }: SidebarProps) {
9190
className="flex items-center gap-x-2 text-red-500"
9291
onClick={handleLogout}
9392
>
94-
<LogOut size={16} />
9593
Logout
94+
<LogOut size={16} />
9695
</button>
9796
</div>
9897
</div>

0 commit comments

Comments
 (0)