Files
Blink/src/components/skeleton/carousel.jsx
T

43 lines
1.0 KiB
React

/** @format */
import Skeleton from "@mui/material/Skeleton";
import Paper from "@mui/material/Paper";
import Box from "@mui/material/Box";
import Typography from "@mui/material/Typography";
import { theme } from "../../theme";
export const CarouselSkeleton = () => {
return (
<Paper
className="hero-carousel-slide"
sx={{
background: theme.palette.primary.background.dark,
}}
>
<div className="hero-carousel-background">
<Skeleton
variant="rectangular"
height="100%"
animation="wave"
></Skeleton>
</div>
<Box className="hero-carousel-detail">
<Typography variant="h3" className="hero-carousel-text">
<Skeleton
variant="text"
sx={{ fontSize: "5rem" }}
width={300}
animation="wave"
></Skeleton>
</Typography>
<Typography variant="p" className="hero-carousel-text">
<Skeleton
variant="text"
sx={{ fontSize: "3rem" }}
width={400}
animation="wave"
></Skeleton>
</Typography>
</Box>
</Paper>
);
};