style : update style

This commit is contained in:
lukman
2024-09-17 17:49:20 +08:00
parent 4e4160ed83
commit 048b2632a9
27 changed files with 357 additions and 284 deletions

View File

@@ -0,0 +1,14 @@
"use client"
import { useHookstate } from '@hookstate/core';
import { Container, rem } from '@mantine/core';
import React from 'react';
import { TEMA } from '../bin/val_global';
export default function LayoutBackground({ children }: { children: React.ReactNode }) {
const tema = useHookstate(TEMA)
return (
<Container mih={'100vh'} p={0} size={rem(550)} bg={tema.get().bgUtama}>
{children}
</Container>
);
}