mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
chore: upgrade nextjs, uvicorn, fastapi..
This commit is contained in:
parent
83ec13bdcc
commit
c154f0dd23
4 changed files with 3375 additions and 8413 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
'use client';
|
'use client';
|
||||||
import CreateCourseModal from '@components/Objects/Modals/Course/Create/CreateCourse';
|
import CreateCourseModal from '@components/Objects/Modals/Course/Create/CreateCourse';
|
||||||
import Modal from '@components/StyledElements/Modal/Modal';
|
import Modal from '@components/StyledElements/Modal/Modal';
|
||||||
import { Edit2, Trash } from "lucide-react";
|
|
||||||
import { getBackendUrl, getUriWithOrg } from '@services/config/config';
|
import { getBackendUrl, getUriWithOrg } from '@services/config/config';
|
||||||
import CoursesLogo from "public/svg/courses.svg";
|
import CoursesLogo from "public/svg/courses.svg";
|
||||||
import CollectionsLogo from "public/svg/collections.svg";
|
import CollectionsLogo from "public/svg/collections.svg";
|
||||||
|
|
@ -85,10 +84,7 @@ function Courses(props: CourseProps) {
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</GeneralWrapperStyled>
|
</GeneralWrapperStyled>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
@ -102,14 +98,14 @@ const AdminEditsArea = (props: { orgSlug: string, courseId: string, course: any,
|
||||||
dialogTitle={'Delete ' + props.course.name + ' ?'}
|
dialogTitle={'Delete ' + props.course.name + ' ?'}
|
||||||
dialogTrigger={
|
dialogTrigger={
|
||||||
<button className="rounded-md text-sm px-3 font-bold text-red-800 bg-red-200 w-16 flex justify-center items-center" >
|
<button className="rounded-md text-sm px-3 font-bold text-red-800 bg-red-200 w-16 flex justify-center items-center" >
|
||||||
Delete <Trash size={10}></Trash>
|
Delete
|
||||||
</button>}
|
</button>}
|
||||||
functionToExecute={() => props.deleteCourses(props.courseId)}
|
functionToExecute={() => props.deleteCourses(props.courseId)}
|
||||||
status='warning'
|
status='warning'
|
||||||
></ConfirmationModal>
|
></ConfirmationModal>
|
||||||
<Link href={getUriWithOrg(props.orgSlug, "/course/" + removeCoursePrefix(props.courseId) + "/edit")}>
|
<Link href={getUriWithOrg(props.orgSlug, "/course/" + removeCoursePrefix(props.courseId) + "/edit")}>
|
||||||
<button className="rounded-md text-sm px-3 font-bold text-orange-800 bg-orange-200 w-16 flex justify-center items-center">
|
<button className="rounded-md text-sm px-3 font-bold text-orange-800 bg-orange-200 w-16 flex justify-center items-center">
|
||||||
Edit <Edit2 size={10}></Edit2>
|
Edit
|
||||||
</button>
|
</button>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
11774
front/package-lock.json
generated
11774
front/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -26,8 +26,8 @@
|
||||||
"avvvatars-react": "^0.4.2",
|
"avvvatars-react": "^0.4.2",
|
||||||
"formik": "^2.2.9",
|
"formik": "^2.2.9",
|
||||||
"framer-motion": "^7.3.6",
|
"framer-motion": "^7.3.6",
|
||||||
"lucide-react": "^0.248.0",
|
"lucide-react": "^0.268.0",
|
||||||
"next": "^13.4.8",
|
"next": "^13.4.19",
|
||||||
"re-resizable": "^6.9.9",
|
"re-resizable": "^6.9.9",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-beautiful-dnd": "^13.1.1",
|
"react-beautiful-dnd": "^13.1.1",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
fastapi==0.92.0
|
fastapi==0.101.1
|
||||||
pydantic>=1.8.0,<2.0.0
|
pydantic>=1.8.0,<2.0.0
|
||||||
uvicorn==0.20.0
|
uvicorn==0.23.2
|
||||||
pymongo==4.3.3
|
pymongo==4.3.3
|
||||||
motor==3.1.1
|
motor==3.1.1
|
||||||
python-multipart
|
python-multipart
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue