tambahannya
This commit is contained in:
22
src/app/darmasaba/layout.tsx
Normal file
22
src/app/darmasaba/layout.tsx
Normal file
@@ -0,0 +1,22 @@
|
||||
import colors from "@/con/colors";
|
||||
import { Box, Space, Stack } from "@mantine/core";
|
||||
import Footer from "@/app/darmasaba/_com/Footer";
|
||||
import { Navbar } from "@/app/darmasaba/_com/Navbar";
|
||||
|
||||
export default function Layout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<Stack gap={0} bg={colors.grey[1]}>
|
||||
<Navbar />
|
||||
<Space h={{
|
||||
base: "2.2rem",
|
||||
md: "2.5rem"
|
||||
}} />
|
||||
<Box style={{
|
||||
overflow: "scroll"
|
||||
}}>
|
||||
{children}
|
||||
</Box>
|
||||
<Footer />
|
||||
</Stack>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user