UI Admin Keamanan
This commit is contained in:
@@ -1,11 +1,31 @@
|
||||
import React from 'react';
|
||||
import colors from "@/con/colors";
|
||||
import { Box, Stack, Tabs, TabsList, TabsPanel, TabsTab, Title } from "@mantine/core";
|
||||
import PengangguranBerdasarkanUsia from "./ui/pengangguranBerdasarkanUsia/page";
|
||||
import PengangguranBerdasarkanPendidikan from "./ui/pengangguranBerdasarkanPendidikan/page";
|
||||
|
||||
function Page() {
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
jumlah-penduduk-usia-kerja-yang-menganggur
|
||||
</div>
|
||||
);
|
||||
}
|
||||
<Box>
|
||||
<Stack gap={"xs"}>
|
||||
<Title order={3}>Jumlah Penduduk Usia Kerja yang Menganggur</Title>
|
||||
<Tabs color={colors['blue-button']} variant='pills' defaultValue={"Pengangguran Bredasarkan Usia"}>
|
||||
<TabsList p={"xs"} bg={"#BBC8E7FF"}>
|
||||
<TabsTab value={"Pengangguran Bredasarkan Usia"}>
|
||||
Pengangguran Bredasarkan Usia
|
||||
</TabsTab>
|
||||
<TabsTab value={"Pengangguran Bredasarkan Pendidikan"}>
|
||||
Pengangguran Bredasarkan Pendidikan
|
||||
</TabsTab>
|
||||
</TabsList>
|
||||
|
||||
export default Page;
|
||||
<TabsPanel value={"Pengangguran Bredasarkan Usia"}>
|
||||
<PengangguranBerdasarkanUsia />
|
||||
</TabsPanel>
|
||||
<TabsPanel value={"Pengangguran Bredasarkan Pendidikan"}>
|
||||
<PengangguranBerdasarkanPendidikan/>
|
||||
</TabsPanel>
|
||||
</Tabs>
|
||||
</Stack>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Button, Group, Paper, Stack, Text, TextInput, Title } from '@mantine/core';
|
||||
import React from 'react';
|
||||
|
||||
function PengangguranBerdasarkanPendidikan() {
|
||||
return (
|
||||
<Box>
|
||||
<Box py={15}>
|
||||
<Paper w={{ base: '100%', md: '50%' }} bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<Stack gap={"xs"}>
|
||||
<Title order={3}>Pengangguran Berdasarkan Pendidikan</Title>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Pendidikan SD</Text>}
|
||||
placeholder="masukkan jumlah penduduk Pendidikan SD yang menganggur"
|
||||
/>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Pendidikan SMP</Text>}
|
||||
placeholder="masukkan jumlah penduduk Pendidikan SMP yang menganggur"
|
||||
/>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Pendidikan SMA / SMK</Text>}
|
||||
placeholder="masukkan jumlah penduduk Pendidikan SMA / SMK yang menganggur"
|
||||
/>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Pendidikan D1-D3 / S1</Text>}
|
||||
placeholder="masukkan jumlah penduduk Pendidikan D1-D3 yang menganggur"
|
||||
/>
|
||||
<Group>
|
||||
<Button mt={10} bg={colors['blue-button']}>
|
||||
Submit
|
||||
</Button>
|
||||
</Group>
|
||||
</Stack>
|
||||
</Paper>
|
||||
</Box>
|
||||
<Box>
|
||||
<Paper bg={colors['white-1']} w={{ base: '100%', md: '50%' }} p={'md'}>
|
||||
<Stack>
|
||||
<Title pb={10} order={3}>Grafik Pengangguran Berdasarkan Pendidikan</Title>
|
||||
</Stack>
|
||||
</Paper>
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
export default PengangguranBerdasarkanPendidikan;
|
||||
@@ -0,0 +1,47 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Button, Group, Paper, Stack, Text, TextInput, Title } from '@mantine/core';
|
||||
import React from 'react';
|
||||
|
||||
function PengangguranBerdasarkanUsia() {
|
||||
return (
|
||||
<Box>
|
||||
<Box py={15}>
|
||||
<Paper w={{ base: '100%', md: '50%' }} bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<Stack gap={"xs"}>
|
||||
<Title order={3}>Pengangguran Berdasarkan Usia</Title>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Usia 18 - 25 tahun</Text>}
|
||||
placeholder="masukkan jumlah penduduk usia 18 - 25 tahun yang menganggur"
|
||||
/>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Usia 26 - 35 tahun</Text>}
|
||||
placeholder="masukkan jumlah penduduk usia 26 - 35 tahun yang menganggur"
|
||||
/>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Usia 36 - 45 tahun</Text>}
|
||||
placeholder="masukkan jumlah penduduk usia 36 - 45 tahun yang menganggur"
|
||||
/>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Usia 46+</Text>}
|
||||
placeholder="masukkan jumlah penduduk usia 46+ yang menganggur"
|
||||
/>
|
||||
<Group>
|
||||
<Button mt={10} bg={colors['blue-button']}>
|
||||
Submit
|
||||
</Button>
|
||||
</Group>
|
||||
</Stack>
|
||||
</Paper>
|
||||
</Box>
|
||||
<Box>
|
||||
<Paper bg={colors['white-1']} w={{ base: '100%', md: '50%' }} p={'md'}>
|
||||
<Stack>
|
||||
<Title pb={10} order={3}>Grafik Pengangguran Berdasarkan Usia</Title>
|
||||
</Stack>
|
||||
</Paper>
|
||||
</Box>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
export default PengangguranBerdasarkanUsia;
|
||||
@@ -0,0 +1,29 @@
|
||||
import { Box, Stack, Text, TextInput, Title } from '@mantine/core';
|
||||
|
||||
function CreateLowongan() {
|
||||
return (
|
||||
<Box>
|
||||
<Stack gap={"xs"}>
|
||||
<Title order={4}>Lowongan Kerja Lokal</Title>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Bekerja Sebagai</Text>}
|
||||
placeholder="masukkan bekerja sebagai"
|
||||
/>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Alamat Usaha</Text>}
|
||||
placeholder="masukkan alamat usaha"
|
||||
/>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Waktu Kerja</Text>}
|
||||
placeholder="masukkan waktu kerja"
|
||||
/>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Gaji selama 1 bulan</Text>}
|
||||
placeholder="masukkan gaji selama 1 bulan"
|
||||
/>
|
||||
</Stack>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
export default CreateLowongan;
|
||||
@@ -0,0 +1,25 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Paper, Stack, Title, Text } from '@mantine/core';
|
||||
import React from 'react';
|
||||
|
||||
function ListDataLowongan() {
|
||||
return (
|
||||
<Paper bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<Stack gap={"xs"}>
|
||||
<Title order={3}>List Data Lowongan Kerja Lokal</Title>
|
||||
<Box>
|
||||
<Text fw={"bold"}>Bekerja Sebagai</Text>
|
||||
<Text> </Text>
|
||||
<Text fw={"bold"}>Alamat Usaha</Text>
|
||||
<Text> </Text>
|
||||
<Text fw={"bold"}>Waktu Kerja</Text>
|
||||
<Text> </Text>
|
||||
<Text fw={"bold"}>Gaji selama 1 bulan</Text>
|
||||
<Text> </Text>
|
||||
</Box>
|
||||
</Stack>
|
||||
</Paper>
|
||||
);
|
||||
}
|
||||
|
||||
export default ListDataLowongan;
|
||||
@@ -1,10 +1,31 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Button, Group, Paper, SimpleGrid, Stack, Title } from '@mantine/core';
|
||||
import React from 'react';
|
||||
import CreateLowongan from './create/createLowongan';
|
||||
import ListDataLowongan from './listData/page';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<div>
|
||||
lowongan-kerja-lokal
|
||||
</div>
|
||||
<Stack gap={"xs"}>
|
||||
<SimpleGrid cols={{ base: 1, md: 2 }}>
|
||||
<Box>
|
||||
<Paper bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<Title order={3}>Lowongan Kerja Lokal</Title>
|
||||
<CreateLowongan/>
|
||||
<Group>
|
||||
<Button mt={10} bg={colors['blue-button']}>
|
||||
Submit
|
||||
</Button>
|
||||
</Group>
|
||||
</Paper>
|
||||
</Box>
|
||||
<Box>
|
||||
<Paper bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<ListDataLowongan/>
|
||||
</Paper>
|
||||
</Box>
|
||||
</SimpleGrid>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Stack, Text, TextInput, Title } from '@mantine/core';
|
||||
import { IconImageInPicture } from '@tabler/icons-react';
|
||||
import React from 'react';
|
||||
|
||||
function CreatePasarDesa() {
|
||||
return (
|
||||
<Box>
|
||||
<Stack gap={"xs"}>
|
||||
<Title order={4}>Produk Pasar Desa</Title>
|
||||
<Box>
|
||||
<Text fz={"sm"} fw={"bold"}>Masukkan Foto Produk</Text>
|
||||
<IconImageInPicture size={24} color={colors['blue-button']} />
|
||||
</Box>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Nama Produk</Text>}
|
||||
placeholder="masukkan nama produk"
|
||||
/>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Harga Produk</Text>}
|
||||
placeholder="masukkan harga produk"
|
||||
/>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Rating Produk</Text>}
|
||||
placeholder="masukkan rating produk"
|
||||
/>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Alamat Usaha</Text>}
|
||||
placeholder="masukkan alamat usaha"
|
||||
/>
|
||||
</Stack>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
export default CreatePasarDesa;
|
||||
@@ -0,0 +1,32 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Paper, Stack, Text, Title } from '@mantine/core';
|
||||
import { IconImageInPicture } from '@tabler/icons-react';
|
||||
import React from 'react';
|
||||
|
||||
function ListDataUsaha() {
|
||||
return (
|
||||
<Box>
|
||||
<Stack gap={"xs"}>
|
||||
<Paper bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<Box>
|
||||
<Title mb={10} order={4}>List Produk Pasar Desa</Title>
|
||||
<Box>
|
||||
<Text fz={"sm"} fw={"bold"}>Foto Produk</Text>
|
||||
<IconImageInPicture size={24} color={colors['blue-button']} />
|
||||
</Box>
|
||||
<Text fz={"sm"} fw={"bold"}>Nama Produk</Text>
|
||||
<Text></Text>
|
||||
<Text fz={"sm"} fw={"bold"}>Harga Produk</Text>
|
||||
<Text></Text>
|
||||
<Text fz={"sm"} fw={"bold"}>Rating Produk</Text>
|
||||
<Text></Text>
|
||||
<Text fz={"sm"} fw={"bold"}>Alamat Usaha</Text>
|
||||
<Text></Text>
|
||||
</Box>
|
||||
</Paper>
|
||||
</Stack>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
export default ListDataUsaha;
|
||||
@@ -1,10 +1,30 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Button, Group, Paper, Stack, Title } from '@mantine/core';
|
||||
import React from 'react';
|
||||
import CreatePasarDesa from './create/createPasarDesa';
|
||||
import ListDataUsaha from './listData/page';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<div>
|
||||
pasar-desa
|
||||
</div>
|
||||
<Stack gap={'xs'}>
|
||||
<Box>
|
||||
<Paper w={{ base: '100%', md: '50%' }} bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<Stack gap={'xs'}>
|
||||
<Title order={3}>Pasar Desa</Title>
|
||||
<CreatePasarDesa />
|
||||
<Group>
|
||||
<Button
|
||||
mt={10}
|
||||
bg={colors['blue-button']}
|
||||
>
|
||||
Submit
|
||||
</Button>
|
||||
</Group>
|
||||
</Stack>
|
||||
</Paper>
|
||||
</Box>
|
||||
<ListDataUsaha />
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Stack, Text, TextInput } from '@mantine/core';
|
||||
import { IconImageInPicture } from '@tabler/icons-react';
|
||||
|
||||
function CreateKontakDarurat() {
|
||||
return (
|
||||
<Box>
|
||||
<Stack gap={"xs"}>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Judul Kontak Darurat</Text>}
|
||||
placeholder="masukkan judul kontak darurat"
|
||||
/>
|
||||
<IconImageInPicture size={24} color={colors['blue-button']} />
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Nama Kontak Darurat</Text>}
|
||||
placeholder="masukkan nama kontak darurat"
|
||||
/>
|
||||
<IconImageInPicture size={24} color={colors['blue-button']} />
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Nomor Kontak Darurat</Text>}
|
||||
placeholder="masukkan nomor kontak darurat"
|
||||
/>
|
||||
</Stack>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
export default CreateKontakDarurat;
|
||||
@@ -0,0 +1,23 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Paper, Stack, Text, Title } from '@mantine/core';
|
||||
import React from 'react';
|
||||
|
||||
function ListDataKontakDarurat() {
|
||||
return (
|
||||
<Paper bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<Stack gap={"xs"}>
|
||||
<Title order={3}>List Data Kontak Darurat</Title>
|
||||
<Box>
|
||||
<Text fw={"bold"}>Judul Kontak Darurat</Text>
|
||||
<Text> </Text>
|
||||
<Text fw={"bold"}>Nama Kontak Darurat</Text>
|
||||
<Text> </Text>
|
||||
<Text fw={"bold"}>Nomor Kontak Darurat</Text>
|
||||
<Text> </Text>
|
||||
</Box>
|
||||
</Stack>
|
||||
</Paper>
|
||||
);
|
||||
}
|
||||
|
||||
export default ListDataKontakDarurat;
|
||||
@@ -1,10 +1,30 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Button, Group, Paper, SimpleGrid, Stack, Title } from '@mantine/core';
|
||||
import React from 'react';
|
||||
import CreateKontakDarurat from './create/createKontak';
|
||||
import ListDataKontakDarurat from './listData/page';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<div>
|
||||
kontak-darurat
|
||||
</div>
|
||||
<Stack gap={"xs"}>
|
||||
<SimpleGrid cols={{ base: 1, md: 2 }}>
|
||||
<Box>
|
||||
<Paper bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<Title order={3}>Kontak Darurat</Title>
|
||||
<CreateKontakDarurat/>
|
||||
<Group>
|
||||
<Button
|
||||
mt={10}
|
||||
bg={colors['blue-button']}
|
||||
>
|
||||
Submit
|
||||
</Button>
|
||||
</Group>
|
||||
</Paper>
|
||||
</Box>
|
||||
<ListDataKontakDarurat/>
|
||||
</SimpleGrid>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
import { Box, Stack, Text, TextInput } from '@mantine/core';
|
||||
import React from 'react';
|
||||
import { KeamananEditor } from '../../_com/keamananEditor';
|
||||
|
||||
|
||||
function CreateLaporanPublik() {
|
||||
return (
|
||||
<Box>
|
||||
<Stack gap={"xs"}>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Judul Laporan Publik</Text>}
|
||||
placeholder="masukkan judul laporan publik"
|
||||
/>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Tanggal Laporan Publik</Text>}
|
||||
placeholder="masukkan tanggal laporan publik"
|
||||
/>
|
||||
<Box>
|
||||
<Text fz={"sm"} fw={"bold"}>Deskripsi Laporan Publik</Text>
|
||||
<KeamananEditor showSubmit={false} />
|
||||
</Box>
|
||||
</Stack>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
export default CreateLaporanPublik;
|
||||
@@ -0,0 +1,23 @@
|
||||
import React from 'react';
|
||||
import { Box, Paper, Stack, Text, Title } from '@mantine/core';
|
||||
import colors from '@/con/colors';
|
||||
|
||||
function ListDataLaporanPublik() {
|
||||
return (
|
||||
<Paper bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<Stack gap={"xs"}>
|
||||
<Title order={3}>List Data Laporan Publik</Title>
|
||||
<Box>
|
||||
<Text fw={"bold"}>Judul Laporan Publik</Text>
|
||||
<Text></Text>
|
||||
<Text fw={"bold"}>Tanggal Laporan Publik</Text>
|
||||
<Text></Text>
|
||||
<Text fw={"bold"}>Deskripsi Laporan Publik</Text>
|
||||
<Text></Text>
|
||||
</Box>
|
||||
</Stack>
|
||||
</Paper>
|
||||
);
|
||||
}
|
||||
|
||||
export default ListDataLaporanPublik;
|
||||
@@ -1,11 +1,28 @@
|
||||
import React from 'react';
|
||||
import colors from "@/con/colors";
|
||||
import { Box, Button, Group, Paper, SimpleGrid, Stack, Title } from "@mantine/core";
|
||||
import CreateLaporanPublik from "./create/createLaporan";
|
||||
import ListDataLaporanPublik from "./listData/page";
|
||||
|
||||
function Page() {
|
||||
export default function Page() {
|
||||
return (
|
||||
<div>
|
||||
laporan-publik
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default Page;
|
||||
<Stack gap={"xs"}>
|
||||
<SimpleGrid cols={{ base: 1, md: 2 }}>
|
||||
<Box>
|
||||
<Paper bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<Title order={3}>Laporan Publik</Title>
|
||||
<CreateLaporanPublik/>
|
||||
<Group>
|
||||
<Button
|
||||
mt={10}
|
||||
bg={colors['blue-button']}
|
||||
>
|
||||
Submit
|
||||
</Button>
|
||||
</Group>
|
||||
</Paper>
|
||||
</Box>
|
||||
<ListDataLaporanPublik/>
|
||||
</SimpleGrid>
|
||||
</Stack>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Stack, Text, TextInput } from '@mantine/core';
|
||||
import { IconImageInPicture } from '@tabler/icons-react';
|
||||
import React from 'react';
|
||||
|
||||
function CreatePencegahan() {
|
||||
return (
|
||||
<Box>
|
||||
<Stack gap={"xs"}>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Judul Pencegahan Kriminalitas</Text>}
|
||||
placeholder="masukkan judul pencegahan kriminalitas"
|
||||
/>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Deskripsi Pencegahan Kriminalitas</Text>}
|
||||
placeholder="masukkan deskripsi pencegahan kriminalitas"
|
||||
/>
|
||||
<Text fw={"bold"} fz={"sm"} >Gambar Pencegahan Kriminalitas</Text>
|
||||
<IconImageInPicture size={24} color={colors['blue-button']} />
|
||||
</Stack>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
export default CreatePencegahan;
|
||||
@@ -0,0 +1,23 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Paper, Stack, Text, Title } from '@mantine/core';
|
||||
import React from 'react';
|
||||
|
||||
function ListDataPencegahan() {
|
||||
return (
|
||||
<Paper bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<Stack gap={"xs"}>
|
||||
<Title order={3}>List Data Pencegahan Kriminalitas</Title>
|
||||
<Box>
|
||||
<Text fw={"bold"}>Judul Pencegahan Kriminalitas</Text>
|
||||
<Text> </Text>
|
||||
<Text fw={"bold"}>Deskripsi Pencegahan Kriminalitas</Text>
|
||||
<Text> </Text>
|
||||
<Text fw={"bold"}>Gambar Pencegahan Kriminalitas</Text>
|
||||
<Text> </Text>
|
||||
</Box>
|
||||
</Stack>
|
||||
</Paper>
|
||||
);
|
||||
}
|
||||
|
||||
export default ListDataPencegahan;
|
||||
@@ -1,10 +1,31 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Stack, SimpleGrid, Box, Paper, Title, Group, Button } from '@mantine/core';
|
||||
import React from 'react';
|
||||
import CreatePencegahan from './create/createPencegahan';
|
||||
import ListDataPencegahan from './listData/page';
|
||||
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<div>
|
||||
pencegahan-kriminalitas
|
||||
</div>
|
||||
<Stack gap={"xs"}>
|
||||
<SimpleGrid cols={{ base: 1, md: 2 }}>
|
||||
<Box>
|
||||
<Paper bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<Title order={3}>Kontak Darurat</Title>
|
||||
<CreatePencegahan/>
|
||||
<Group>
|
||||
<Button
|
||||
mt={10}
|
||||
bg={colors['blue-button']}
|
||||
>
|
||||
Submit
|
||||
</Button>
|
||||
</Group>
|
||||
</Paper>
|
||||
</Box>
|
||||
<ListDataPencegahan/>
|
||||
</SimpleGrid>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Stack, Text, TextInput } from '@mantine/core';
|
||||
import { IconImageInPicture } from '@tabler/icons-react';
|
||||
import React from 'react';
|
||||
import { KeamananEditor } from '../../_com/keamananEditor';
|
||||
|
||||
function CreateTipsKeamanan() {
|
||||
return (
|
||||
<Box>
|
||||
<Stack gap={"xs"}>
|
||||
<TextInput
|
||||
label={<Text fz={"sm"} fw={"bold"}>Judul Tips Keamanan</Text>}
|
||||
placeholder="masukkan judul tips keamanan"
|
||||
/>
|
||||
<Box>
|
||||
<Text fz={"sm"} fw={"bold"}>Upload Gambar</Text>
|
||||
<IconImageInPicture size={24} color={colors['blue-button']} />
|
||||
</Box>
|
||||
<KeamananEditor
|
||||
showSubmit={false}
|
||||
/>
|
||||
</Stack>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
export default CreateTipsKeamanan;
|
||||
@@ -0,0 +1,24 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Paper, Stack, Text, Title } from '@mantine/core';
|
||||
import { IconImageInPicture } from '@tabler/icons-react';
|
||||
import React from 'react';
|
||||
|
||||
function ListDataTipsKeamanan() {
|
||||
return (
|
||||
<Paper bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<Stack gap={"xs"}>
|
||||
<Title order={3}>List Data Tips Keamanan</Title>
|
||||
<Box>
|
||||
<Text fw={"bold"}>Judul Tips Keamanan</Text>
|
||||
<Text></Text>
|
||||
<Text fw={"bold"}>Gambar Tips Keamanan</Text>
|
||||
<IconImageInPicture size={24} color={colors['blue-button']} />
|
||||
<Text fw={"bold"}>Deskripsi Tips Keamanan</Text>
|
||||
<Text></Text>
|
||||
</Box>
|
||||
</Stack>
|
||||
</Paper>
|
||||
);
|
||||
}
|
||||
|
||||
export default ListDataTipsKeamanan;
|
||||
@@ -1,11 +1,31 @@
|
||||
import colors from '@/con/colors';
|
||||
import { Box, Button, Group, Paper, SimpleGrid, Stack, Title } from '@mantine/core';
|
||||
import React from 'react';
|
||||
import CreateTipsKeamanan from './create/createTips';
|
||||
import ListDataTipsKeamanan from './listData/page';
|
||||
|
||||
function Page() {
|
||||
return (
|
||||
<div>
|
||||
tips-keamanan
|
||||
</div>
|
||||
);
|
||||
<Stack gap={"xs"}>
|
||||
<SimpleGrid cols={{ base: 1, md: 2 }}>
|
||||
<Box>
|
||||
<Paper bg={colors['white-1']} p={'md'} radius={10}>
|
||||
<Title order={3}>Tips Keamanan</Title>
|
||||
<CreateTipsKeamanan/>
|
||||
<Group>
|
||||
<Button
|
||||
mt={10}
|
||||
bg={colors['blue-button']}
|
||||
>
|
||||
Submit
|
||||
</Button>
|
||||
</Group>
|
||||
</Paper>
|
||||
</Box>
|
||||
<ListDataTipsKeamanan/>
|
||||
</SimpleGrid>
|
||||
</Stack>
|
||||
)
|
||||
}
|
||||
|
||||
export default Page;
|
||||
|
||||
Reference in New Issue
Block a user