diff --git a/frontend/src/app/(homepage)/_components/navbar.tsx b/frontend/src/app/(homepage)/_components/navbar.tsx index 054ea28..20da6f5 100644 --- a/frontend/src/app/(homepage)/_components/navbar.tsx +++ b/frontend/src/app/(homepage)/_components/navbar.tsx @@ -24,79 +24,81 @@ export const Navbar = () => { setIsMenuOpen(!isMenuOpen); }; return ( -
- +
+
+ - - - {/* Mobile Menu Icon */} -
- -
- - {/* Mobile Menu */} - {isMenuOpen ? ( -
-
); }; \ No newline at end of file diff --git a/frontend/src/app/(homepage)/layout.tsx b/frontend/src/app/(homepage)/layout.tsx index cefad67..556f153 100644 --- a/frontend/src/app/(homepage)/layout.tsx +++ b/frontend/src/app/(homepage)/layout.tsx @@ -111,8 +111,8 @@ export default function LayoutHomePage({
+
- {children}
diff --git a/frontend/src/app/plans/create/[id]/_components/CreateNewPlanPage.tsx b/frontend/src/app/plans/create/[id]/_components/CreateNewPlanPage.tsx index 2d4c887..f5a1d88 100644 --- a/frontend/src/app/plans/create/[id]/_components/CreateNewPlanPage.tsx +++ b/frontend/src/app/plans/create/[id]/_components/CreateNewPlanPage.tsx @@ -24,6 +24,9 @@ import { faculties, lessonTypeToName } from "@/constants"; import { usePlan } from "@/lib/usePlan"; import { registrationReplacer } from "@/lib/utils"; import { Day, Frequency, LessonType } from "@/services/usos/types"; +import Link from "next/link"; +import { Button } from "@/components/ui/button"; +import { MdArrowBack } from "react-icons/md"; export default function CreateNewPlanPage({ planId }: { planId: string }) { const plan = usePlan({ @@ -103,30 +106,35 @@ export default function CreateNewPlanPage({ planId }: { planId: string }) {
-
{ - e.preventDefault(); - const formData = new FormData(e.currentTarget); - plan.changeName(formData.get("name")?.toString() ?? ""); - inputRef.current?.blur(); - }} - > -
- - { - plan.changeName(e.currentTarget.value); - }} - /> -
-
+
+ + + +
{ + e.preventDefault(); + const formData = new FormData(e.currentTarget); + plan.changeName(formData.get("name")?.toString() ?? ""); + inputRef.current?.blur(); + }} + > +
+ + { + plan.changeName(e.currentTarget.value); + }} + /> +
+
+
@@ -139,7 +147,7 @@ export default function CreateNewPlanPage({ planId }: { planId: string }) { setFaculty(v); }} > - + diff --git a/frontend/src/app/plans/layout.tsx b/frontend/src/app/plans/layout.tsx index a733214..a99b50b 100644 --- a/frontend/src/app/plans/layout.tsx +++ b/frontend/src/app/plans/layout.tsx @@ -11,27 +11,29 @@ export default function PlansLayout({ return (
-
- -
Kreator
-
-
- Kreator -
-
- - Moje plany - +
+
+ +
Kreator
+
+
+ Kreator +
+
+ + Moje plany + +
{children} -