tambahannya
This commit is contained in:
10
src/app/darmasaba/(tambahan)/layanan/[sub]/page.tsx
Normal file
10
src/app/darmasaba/(tambahan)/layanan/[sub]/page.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
14
src/app/darmasaba/(tambahan)/layanan/_com/BackButto.tsx
Normal file
14
src/app/darmasaba/(tambahan)/layanan/_com/BackButto.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
7
src/app/darmasaba/(tambahan)/layanan/page.tsx
Normal file
7
src/app/darmasaba/(tambahan)/layanan/page.tsx
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Stack } from "@mantine/core";
|
||||
|
||||
export default function Page() {
|
||||
return <Stack>
|
||||
layanan
|
||||
</Stack>
|
||||
}
|
||||
5
src/app/darmasaba/(tambahan)/penghargaan/page.tsx
Normal file
5
src/app/darmasaba/(tambahan)/penghargaan/page.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
export default function Page() {
|
||||
return <div>
|
||||
penghargaan
|
||||
</div>
|
||||
}
|
||||
Reference in New Issue
Block a user