diff --git a/nextjs/run.sh b/nextjs/run.sh index 53d24e2..4eefe0d 100755 --- a/nextjs/run.sh +++ b/nextjs/run.sh @@ -8,5 +8,6 @@ docker run -it --rm \ -w /app \ -v .:/app \ -v ~/projects/faculty/1810/2024-fall-alex/modules:/app/storage/intro_to_web \ + -v ~/projects/faculty/4850_AdvancedFE/2024-fall-alex/modules:/app/storage/advanced_frontend \ node \ bash -c "npm i && npm run dev -- -H 0.0.0.0" diff --git a/nextjs/src/app/course/[courseName]/calendar/day/Day.tsx b/nextjs/src/app/course/[courseName]/calendar/day/Day.tsx index 07cea3b..e09e472 100644 --- a/nextjs/src/app/course/[courseName]/calendar/day/Day.tsx +++ b/nextjs/src/app/course/[courseName]/calendar/day/Day.tsx @@ -9,7 +9,7 @@ import Link from "next/link"; import { useLocalCourseSettingsQuery } from "@/hooks/localCourse/localCoursesHooks"; import { getDayOfWeek } from "@/models/local/localCourse"; import { getLectureUrl } from "@/services/urlUtils"; -import DropTargetStyling from "../DropTargetStyling"; +import DropTargetStyling from "../../../../../components/DropTargetStyling"; import { DraggableListItem } from "./DraggableListItem"; import { useTodaysItems } from "./useTodaysItems"; diff --git a/nextjs/src/app/course/[courseName]/modules/ExpandableModule.tsx b/nextjs/src/app/course/[courseName]/modules/ExpandableModule.tsx index c141cfd..73dde3c 100644 --- a/nextjs/src/app/course/[courseName]/modules/ExpandableModule.tsx +++ b/nextjs/src/app/course/[courseName]/modules/ExpandableModule.tsx @@ -24,7 +24,7 @@ import { ModuleCanvasStatus } from "./ModuleCanvasStatus"; import ClientOnly from "@/components/ClientOnly"; import ExpandIcon from "../../../../components/icons/ExpandIcon"; import { useDraggingContext } from "../context/draggingContext"; -import DropTargetStyling from "../calendar/DropTargetStyling"; +import DropTargetStyling from "../../../../components/DropTargetStyling"; import Link from "next/link"; import { getModuleItemUrl } from "@/services/urlUtils"; import { useCourseContext } from "../context/courseContext"; diff --git a/nextjs/src/app/course/[courseName]/calendar/DropTargetStyling.tsx b/nextjs/src/components/DropTargetStyling.tsx similarity index 82% rename from nextjs/src/app/course/[courseName]/calendar/DropTargetStyling.tsx rename to nextjs/src/components/DropTargetStyling.tsx index 2405faa..662d342 100644 --- a/nextjs/src/app/course/[courseName]/calendar/DropTargetStyling.tsx +++ b/nextjs/src/components/DropTargetStyling.tsx @@ -1,5 +1,5 @@ import React, { ReactNode } from "react"; -import { useDraggingContext } from "../context/draggingContext"; +import { useDraggingContext } from "../app/course/[courseName]/context/draggingContext"; export default function DropTargetStyling({ children,