Skip to content

Commit ad233dd

Browse files
committed
Update Code of Conduct link
1 parent e2ea91d commit ad233dd

File tree

1 file changed

+27
-6
lines changed

1 file changed

+27
-6
lines changed

src/components/Toolbar/Sidebar.tsx

+27-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { X } from "lucide-react";
1+
import { ExternalLink, LogOut, X } from "lucide-react";
22
import { signOut } from "next-auth/react";
33
import Link from "next/link";
44

@@ -55,19 +55,40 @@ export default function Sidebar({ show, onClose }: SidebarProps) {
5555
<div className="flex-1" />
5656

5757
{/* Secondary Options */}
58-
<div className="flex flex-col gap-2 text-xl">
59-
<Link href="https://sinfo.org/">Website</Link>
60-
<Link href="https://github.com/sinfo/nextjs-sinfo-webapp/issues/new">
58+
<div className="flex flex-col gap-2 text-lg">
59+
<Link
60+
href="https://sinfo.org/"
61+
target="_blank"
62+
className="flex items-center gap-x-2"
63+
>
64+
Website
65+
<ExternalLink size={16} />
66+
</Link>
67+
<Link
68+
href="https://github.com/sinfo/nextjs-sinfo-webapp/issues/new"
69+
target="_blank"
70+
className="flex items-center gap-x-2"
71+
>
6172
Report a Bug
73+
<ExternalLink size={16} />
6274
</Link>
6375
{/* todo: the pages below dont exist */}
6476
<Link href="#" onClick={onClose}>
6577
Privacy Policy
6678
</Link>
67-
<Link href="#" onClick={onClose}>
79+
<Link
80+
href="https://sinfo.org/code-of-conduct"
81+
target="_blank"
82+
className="flex items-center gap-x-2"
83+
>
6884
Code of Conduct
85+
<ExternalLink size={16} />
6986
</Link>
70-
<button className="text-start" onClick={handleLogout}>
87+
<button
88+
className="flex items-center gap-x-2 text-red-500"
89+
onClick={handleLogout}
90+
>
91+
<LogOut size={16} />
7192
Logout
7293
</button>
7394
</div>

0 commit comments

Comments
 (0)