tambahan menu mobile

This commit is contained in:
bipproduction
2025-02-18 10:30:51 +08:00
parent 75504c6465
commit 0d4a8329d7
10 changed files with 63 additions and 46 deletions

View File

@@ -0,0 +1,10 @@
import { Stack } from "@mantine/core";
export default async function Page({ params }: { params: Promise<{ sub: string }> }) {
const { sub } = await params
return (
<Stack>
{sub}
</Stack>
)
}

View File

@@ -0,0 +1,14 @@
'use client'
import { ActionIcon } from "@mantine/core";
import { IconArrowLeft } from "@tabler/icons-react";
import { useTransitionRouter } from 'next-view-transitions';
export default function BackButton() {
const router = useTransitionRouter()
return (
<ActionIcon variant="transparent" onClick={() => router.back()}>
<IconArrowLeft />
</ActionIcon>
);
}

View File

@@ -0,0 +1,7 @@
import { Stack } from "@mantine/core";
export default function Page() {
return <Stack>
layanan
</Stack>
}

View File

@@ -7,6 +7,7 @@ import Content6 from "@/com/main-page/content-6";
import colors from "@/con/colors";
// import ApiFetch from "@/lib/api-fetch";
import { Stack } from "@mantine/core";
import Content7 from "@/com/main-page/content-7";
export default function Page() {
return (
@@ -17,6 +18,7 @@ export default function Page() {
<Content4 />
<Content5 />
<Content6 />
<Content7 />
</Stack>
);
}