Skip to content

Commit 0fa118f

Browse files
committed
feat: update mobile menu to include presentation and team links; adjust notification text for clarity
1 parent e225c78 commit 0fa118f

2 files changed

Lines changed: 16 additions & 8 deletions

File tree

frontend/src/components/Header/MenuMobile.tsx

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from "react";
22
import { Link } from "react-router";
33
import { Button } from "../ui/button";
44
import { MobileNavLink } from "./NavLink";
5-
import { House, ServerCrash } from "lucide-react";
5+
import { House, Presentation, ServerCrash, Users } from "lucide-react";
66
import Helper from "~/utils/helper";
77
import useAuth from "~/hooks/useAuth";
88

@@ -22,17 +22,25 @@ const MenuMobileHeader = ({
2222
active={Helper.isActive(location.pathname, "/")}
2323
onClick={() => setShowMobileMenu(false)}
2424
/>
25-
{/* {isLogin && (
25+
26+
{isLogin && (
2627
<>
2728
<MobileNavLink
28-
url="/submissions"
29-
name="Nộp đề tài"
30-
Icon={Send}
31-
active={Helper.isActive(location.pathname, "/submissions")}
29+
url="/presents"
30+
name="Đăng ký thuyết trình"
31+
Icon={Presentation}
32+
active={Helper.isActive(location.pathname, "/presents")}
33+
onClick={() => setShowMobileMenu(false)}
34+
/>
35+
<MobileNavLink
36+
url="/teams"
37+
name="Danh sách nhóm"
38+
Icon={Users}
39+
active={Helper.isActive(location.pathname, "/teams")}
3240
onClick={() => setShowMobileMenu(false)}
3341
/>
3442
</>
35-
)} */}
43+
)}
3644
<MobileNavLink
3745
url="https://discord.gg/WvudrJaYD"
3846
name="Hỗ trợ sự cố"

frontend/src/pages/Present/Notification.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const Notification = () => {
1010
<li className="flex items-start gap-2">
1111
<span className="mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-amber-600"></span>
1212
<span>
13-
<strong>Thuyết trình thử (Online - 45 phút):</strong> 20 phút trình bày + 25 phút hỏi
13+
<strong>Thuyết trình thử (Online - 45 phút):</strong> 25 phút trình bày + 20 phút hỏi
1414
đáp/góp ý.
1515
</span>
1616
</li>

0 commit comments

Comments
 (0)