diff --git a/.gitignore b/.gitignore index fa5f03cd..680bfa07 100644 --- a/.gitignore +++ b/.gitignore @@ -45,3 +45,6 @@ next-env.d.ts /cache .github/ + +.env.* + diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..9e5a22b3 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "WillLuke.nextjs.addTypesOnSave": true, + "WillLuke.nextjs.hasPrompted": true +} diff --git a/bun.lockb b/bun.lockb index 624c5ecf..4a17cd88 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/public/assets/images/layanan/kelahiran.jpeg b/public/assets/images/layanan/kelahiran.jpeg new file mode 100644 index 00000000..b4869119 Binary files /dev/null and b/public/assets/images/layanan/kelahiran.jpeg differ diff --git a/public/assets/images/layanan/layanan1.jpeg b/public/assets/images/layanan/layanan1.jpeg new file mode 100644 index 00000000..ee998c4e Binary files /dev/null and b/public/assets/images/layanan/layanan1.jpeg differ diff --git a/public/assets/images/layanan/test.png b/public/assets/images/layanan/test.png new file mode 100644 index 00000000..c36b4a65 Binary files /dev/null and b/public/assets/images/layanan/test.png differ diff --git a/public/assets/images/layanan/test2.jpeg b/public/assets/images/layanan/test2.jpeg new file mode 100644 index 00000000..58d15344 Binary files /dev/null and b/public/assets/images/layanan/test2.jpeg differ diff --git a/public/assets/images/layanan/test3.jpeg b/public/assets/images/layanan/test3.jpeg new file mode 100644 index 00000000..2eede0de Binary files /dev/null and b/public/assets/images/layanan/test3.jpeg differ diff --git a/src/app/darmasaba/_com/NavbarMainMenu.tsx b/src/app/darmasaba/_com/NavbarMainMenu.tsx index 3f6a6cd3..35d64627 100644 --- a/src/app/darmasaba/_com/NavbarMainMenu.tsx +++ b/src/app/darmasaba/_com/NavbarMainMenu.tsx @@ -25,9 +25,10 @@ export function NavbarMainMenu({ listNavbar }: { base: "wrap", md: "nowrap" }}> - { + { router.push("/darmasaba") stateNav.clear() + }} > icon diff --git a/src/app/darmasaba/_com/main-page/landing-page/SosmedView.tsx b/src/app/darmasaba/_com/main-page/landing-page/SosmedView.tsx index 91f44b18..8c678464 100644 --- a/src/app/darmasaba/_com/main-page/landing-page/SosmedView.tsx +++ b/src/app/darmasaba/_com/main-page/landing-page/SosmedView.tsx @@ -1,23 +1,23 @@ import images from "@/con/images"; -import { Flex, ActionIcon, Image } from "@mantine/core"; +import { ActionIcon, Flex, Image } from "@mantine/core"; function SosmedView() { const listSosmed = Object.values(images.sosmed); return ( - - {listSosmed.map((item, k) => { - return ( - - icon - - ); - })} + + {listSosmed.map((item, k) => { + return ( + + icon + + ); + })} ); } diff --git a/src/app/darmasaba/_com/main-page/landing-page/index.tsx b/src/app/darmasaba/_com/main-page/landing-page/index.tsx index 875601ba..d7c5e96f 100644 --- a/src/app/darmasaba/_com/main-page/landing-page/index.tsx +++ b/src/app/darmasaba/_com/main-page/landing-page/index.tsx @@ -2,20 +2,19 @@ import colors from "@/con/colors"; import { Box, - Button, Card, Flex, Image, + Paper, Stack, - Text, - Title + Text } from "@mantine/core"; import ModuleView from "./ModuleView"; import SosmedView from "./SosmedView"; function LandingPage() { return ( - + - Pemerintah Desa - DARMASABA + DARMASABA */} + + + + + Jadwal Kerja + + + + + + Buka + + + 08:00 + + + - + + + Tutup + + + 16:00 + + + + + + + + Rabu, 10 Maret 2025 + + + + + Buka + + + Sabtu - Minggu + + + + + + + Sampaikan saran dan masukan guna kemajuan dalam pembangunan. Semua lebih mudah melalui fitur interaktif - - Tambahkan Text Apa aja disini untuk lebih detail yang berwarna putih - - + ApiFetch.api.layanan.get().then(({ data }) => data?.data), @@ -59,23 +83,23 @@ function Content3() { > {textHeading.des} - + {/* - + */} - + ); } const height = 720; -function Slider({ data }: { data: DataSlider[] }) { +function Slider() { const theme = useMantineTheme(); const mobile = useMediaQuery(`(max-width: ${theme.breakpoints.sm})`); const autoplay = useRef(Autoplay({ delay: 2000 })); @@ -84,11 +108,21 @@ function Slider({ data }: { data: DataSlider[] }) { const slides = data.map((item) => ( +