From 07c6ae641cc2f8c6c5345752cf4da86c02765ee4 Mon Sep 17 00:00:00 2001 From: Rijan Dahal Date: Thu, 11 Jun 2026 10:55:57 +0545 Subject: [PATCH 1/2] add(sidebar): add missing schedule svg on sidebar --- frontend/src/app/assets/icons/schedule.svg | 8 ++++ frontend/src/app/assets/icons/schedule.tsx | 40 +++++++++++++++++++ .../src/app/components/Navbar/NavbarMob.tsx | 3 +- 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 frontend/src/app/assets/icons/schedule.svg create mode 100644 frontend/src/app/assets/icons/schedule.tsx diff --git a/frontend/src/app/assets/icons/schedule.svg b/frontend/src/app/assets/icons/schedule.svg new file mode 100644 index 0000000..7de7200 --- /dev/null +++ b/frontend/src/app/assets/icons/schedule.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/frontend/src/app/assets/icons/schedule.tsx b/frontend/src/app/assets/icons/schedule.tsx new file mode 100644 index 0000000..45f4fdc --- /dev/null +++ b/frontend/src/app/assets/icons/schedule.tsx @@ -0,0 +1,40 @@ +import React from "react"; + +interface Props { + height: number; + width: number; + className: string; +} + +const schedule = ({ height = 24, width = 24, className = "" }: Props) => { + return ( + + + + + + + + + ); +}; + +export default schedule; diff --git a/frontend/src/app/components/Navbar/NavbarMob.tsx b/frontend/src/app/components/Navbar/NavbarMob.tsx index ce815a8..65f88be 100644 --- a/frontend/src/app/components/Navbar/NavbarMob.tsx +++ b/frontend/src/app/components/Navbar/NavbarMob.tsx @@ -11,6 +11,7 @@ import hamburgerBorder from "@/app/assets/icons/rounded.svg"; import organizersIcon from "@/app/assets/icons/organizers.svg"; import homeIcon from "@/app/assets/icons/homeIcon.svg"; +import schedulesvg from "@/app/assets/icons/schedule.svg"; import legacyIcon from "@/app/assets/icons/legacy.svg"; import judgingIcon from "@/app/assets/icons/judging-criteria.svg"; import cocIcon from "@/app/assets/icons/code-of-conduct.svg"; @@ -123,7 +124,7 @@ const Navbar = () => { From 9ba41243630e3f0047ea3d3c99e462b6f7df1575 Mon Sep 17 00:00:00 2001 From: Rijan Dahal Date: Thu, 11 Jun 2026 11:03:54 +0545 Subject: [PATCH 2/2] fix(sidebar): schedule sidebar not highlighting when on page --- frontend/src/app/components/Navbar/NavbarMob.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/app/components/Navbar/NavbarMob.tsx b/frontend/src/app/components/Navbar/NavbarMob.tsx index 65f88be..8258279 100644 --- a/frontend/src/app/components/Navbar/NavbarMob.tsx +++ b/frontend/src/app/components/Navbar/NavbarMob.tsx @@ -125,6 +125,7 @@ const Navbar = () => { href="/schedule" label="Schedule" icon={schedulesvg} + route="/schedule" />