Add Daftar Peserta, Daftar Sponsor, Detail Sponsor, Tambah Sponsor

This commit is contained in:
2025-01-15 17:35:47 +08:00
parent d0680f2743
commit a649fad7cb
26 changed files with 651 additions and 5 deletions

View File

@@ -0,0 +1,12 @@
import LayoutEvent_DetailSponsor from '@/app_modules/event/detail/detail_sponsor/layout';
import React from 'react';
function Layout({children} : {children: React.ReactNode}) {
return (
<>
<LayoutEvent_DetailSponsor>{children}</LayoutEvent_DetailSponsor>
</>
);
}
export default Layout;

View File

@@ -0,0 +1,12 @@
import DetailSponsor_Event from '@/app_modules/event/detail/detail_sponsor';
import React from 'react';
function Page() {
return (
<>
<DetailSponsor_Event/>
</>
);
}
export default Page;

View File

@@ -0,0 +1,10 @@
import { LayoutEvent_Peserta } from '@/app_modules/event';
import React from 'react';
export default async function Page({ children }: { children: React.ReactNode }) {
return (
<LayoutEvent_Peserta>
{children}
</LayoutEvent_Peserta>
)
}

View File

@@ -0,0 +1,14 @@
import Event_DaftarPeserta from '@/app_modules/event/detail/peserta';
import { Event_countTotalPesertaById } from '@/app_modules/event/fun/count/count_total_peserta_by_id';
import { event_getOneById } from '@/app_modules/event/fun/get/get_one_by_id';
import React from 'react';
export default async function Page() {
// const dataEvent = await event_getOneById(eventId);
// const totalPeserta = await Event_countTotalPesertaById(eventId);
return (
<Event_DaftarPeserta />
)
}

View File

@@ -0,0 +1,14 @@
import { LayoutEvent_Sponsor } from '@/app_modules/event';
import React from 'react';
function Layout({ children, }: {children: React.ReactNode}) {
return (
<>
<LayoutEvent_Sponsor >
{children}
</LayoutEvent_Sponsor>
</>
);
}
export default Layout;

View File

@@ -0,0 +1,11 @@
import Event_DaftarSponsor from '@/app_modules/event/detail/sponsor';
function Page() {
return (
<>
<Event_DaftarSponsor />
</>
);
}
export default Page;

View File

@@ -0,0 +1,12 @@
import LayoutEvent_TambahSponsor from '@/app_modules/event/detail/tambah_sponsor/layout';
import React from 'react';
function Layout({children}: {children: React.ReactNode}) {
return (
<LayoutEvent_TambahSponsor>
{children}
</LayoutEvent_TambahSponsor>
);
}
export default Layout;

View File

@@ -0,0 +1,12 @@
import Event_TambahSponsor from '@/app_modules/event/detail/tambah_sponsor';
import React from 'react';
function Page() {
return (
<>
<Event_TambahSponsor/>
</>
);
}
export default Page;