# feat
## Deskripsi: - Tampilan Map - Tambah pin map ### No Issue
This commit is contained in:
9
src/app/dev/map/create/page.tsx
Normal file
9
src/app/dev/map/create/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Map_CreateNewPin } from "@/app_modules/map/view";
|
||||
|
||||
export default async function Page() {
|
||||
return (
|
||||
<>
|
||||
<Map_CreateNewPin />
|
||||
</>
|
||||
);
|
||||
}
|
||||
14
src/app/dev/map/main/page.tsx
Normal file
14
src/app/dev/map/main/page.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import ComponentGlobal_IsEmptyData from "@/app_modules/_global/component/is_empty_data";
|
||||
import { Map_View } from "@/app_modules/map/view";
|
||||
|
||||
const mapboxToken = process.env.MAPBOX_TOKEN!;
|
||||
export default async function Page() {
|
||||
if (!mapboxToken)
|
||||
return <ComponentGlobal_IsEmptyData text="Mapbox token not found" />;
|
||||
|
||||
return (
|
||||
<>
|
||||
<Map_View mapboxToken={mapboxToken} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
10
src/app/dev/map/splash/page.tsx
Normal file
10
src/app/dev/map/splash/page.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Map_Splash } from "@/app_modules/map/view";
|
||||
|
||||
|
||||
export default async function Page() {
|
||||
return (
|
||||
<>
|
||||
<Map_Splash />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user