style : update style

This commit is contained in:
lukman
2024-09-23 15:28:30 +08:00
parent f27a00ae70
commit 0db13c9e5e
17 changed files with 187 additions and 148 deletions

View File

@@ -0,0 +1,21 @@
import { Box, Divider, Grid, Skeleton } from '@mantine/core';
import React from 'react';
export default function SkeletonList() {
return (
<div>
<Box>
<Grid p={10} align="center">
<Grid.Col span={2}>
<Skeleton w={50} h={50} radius={100} />
</Grid.Col>
<Grid.Col span={9}>
<Skeleton w={"80%"} h={20} />
</Grid.Col>
</Grid>
</Box>
<Divider my={2} />
</div >
);
}

View File

@@ -0,0 +1,22 @@
import { Box, Divider, Grid, Skeleton } from '@mantine/core';
import React from 'react';
export default function SkeletonUser() {
return (
<div>
<Box>
<Grid p={10} align="center">
<Grid.Col span={2}>
<Skeleton w={50} h={50} radius={100} />
</Grid.Col>
<Grid.Col span={9}>
<Skeleton w={"50%"} h={20} />
<Skeleton mt={5} w={"30%"} h={10} />
</Grid.Col>
</Grid>
</Box>
<Divider my={10} />
</div>
);
}