# Event Join

## feat
- Join event
- kontribusi event
- histoty in progress
### No Issue
This commit is contained in:
2024-01-29 22:03:27 +08:00
parent bec87028fd
commit ca9214d9e0
109 changed files with 2932 additions and 515 deletions

View File

@@ -1,5 +1,20 @@
import { Event_StatusPage } from "@/app_modules/event";
import { Event_getByStatusId } from "@/app_modules/event/fun/get/get_event_by_status_id";
import { User_getUserId } from "@/app_modules/fun_global/get_user_token";
export default async function Page() {
return <Event_StatusPage/>
}
const authorId = await User_getUserId();
const listPublish = await Event_getByStatusId("1", authorId);
const listReview = await Event_getByStatusId("2", authorId);
const listDraft = await Event_getByStatusId("3", authorId);
const listReject = await Event_getByStatusId("4", authorId);
return (
<Event_StatusPage
listPublish={listPublish}
listReview={listReview}
listDraft={listDraft}
listReject={listReject}
/>
);
}