style : update style
This commit is contained in:
14
src/module/_global/layout/layout_background.tsx
Normal file
14
src/module/_global/layout/layout_background.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user