diff --git a/src/app/(admin)/admin/projects/proposals/[id]/page.tsx b/src/app/(admin)/admin/projects/proposals/[id]/page.tsx new file mode 100644 index 00000000..de2f4fc4 --- /dev/null +++ b/src/app/(admin)/admin/projects/proposals/[id]/page.tsx @@ -0,0 +1,11 @@ +import { PageHeader } from "@/components/common/PageHeader"; +import { AdminInquiriesEditForm } from "@/components/pages/AdminInquiriesEditForm/AdminInquiriesEditForm"; + +export default function AdminInquiriesPage({ params }: { params: { id: string } }) { + return ( +
+ + +
+ ); +} diff --git a/src/app/(admin)/admin/projects/proposals/page.tsx b/src/app/(admin)/admin/projects/proposals/page.tsx index 60795860..a9617a27 100644 --- a/src/app/(admin)/admin/projects/proposals/page.tsx +++ b/src/app/(admin)/admin/projects/proposals/page.tsx @@ -1,3 +1,11 @@ +import { PageHeader } from "@/components/common/PageHeader"; +import AdminProposalsListSection from "@/components/pages/AdminProposalsListSection/AdminProposalsListSection"; + export default function AdminProposalsPage() { - return
Hello, world!
; + return ( +
+ + +
+ ); } diff --git a/src/components/pages/AdminInquiriesListSection/AdminInquiriesListSection.tsx b/src/components/pages/AdminInquiriesListSection/AdminInquiriesListSection.tsx index f1d25c9c..be4552d0 100644 --- a/src/components/pages/AdminInquiriesListSection/AdminInquiriesListSection.tsx +++ b/src/components/pages/AdminInquiriesListSection/AdminInquiriesListSection.tsx @@ -79,6 +79,7 @@ export default function AdminInquiriesListSection() { value: event.target.value, setQuery, }); + setPageNumber(1); }; return ( diff --git a/src/components/pages/AdminNoticeEditForm/AdminNoticeEditForm.module.css b/src/components/pages/AdminNoticeEditForm/AdminNoticeEditForm.module.css new file mode 100644 index 00000000..72265ad6 --- /dev/null +++ b/src/components/pages/AdminNoticeEditForm/AdminNoticeEditForm.module.css @@ -0,0 +1,7 @@ +.input { + width: 100%; +} + +.input-md { + width: 50%; +} diff --git a/src/components/pages/AdminNoticeEditForm/AdminNoticeEditForm.tsx b/src/components/pages/AdminNoticeEditForm/AdminNoticeEditForm.tsx index 359a5774..46cc061b 100644 --- a/src/components/pages/AdminNoticeEditForm/AdminNoticeEditForm.tsx +++ b/src/components/pages/AdminNoticeEditForm/AdminNoticeEditForm.tsx @@ -12,6 +12,7 @@ import { isNotEmpty, useForm } from "@mantine/form"; import { useRouter } from "next/navigation"; import { useEffect, useState } from "react"; import { EventImageSection } from "./EventImageSection"; +import classes from "./AdminNoticeEditForm.module.css"; interface NoticeEditFormInputs { title: string; @@ -109,7 +110,12 @@ export function AdminNoticeEditForm({ noticeId, event }: { noticeId?: number; ev
- +