calculate(70%)
This commit is contained in:
28
src/components/Divider.tsx
Normal file
28
src/components/Divider.tsx
Normal file
@ -0,0 +1,28 @@
|
||||
import { Box } from "@mui/material";
|
||||
import React from "react";
|
||||
import { useResponsive } from "../theme/useResponsive";
|
||||
|
||||
function Divider() {
|
||||
const { isMobile } = useResponsive();
|
||||
return (
|
||||
<Box sx={{ display: "flex", alignItems: "center", justifyContent: "center" }}>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
width: "85%",
|
||||
height: isMobile ? "0.3vw" : "0.15vw",
|
||||
backgroundColor: "rgba(220, 220, 220, 1)",
|
||||
borderRadius: "1vw",
|
||||
position: "absolute",
|
||||
mt: "1vw",
|
||||
mb: "1vw",
|
||||
}}
|
||||
></Box>
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
export default Divider;
|
||||
|
||||
|
Reference in New Issue
Block a user