import React from "react"; import { useRouter } from "next/router"; import Link from "next/link"; import Box from "@mui/material/Box"; import Card from "@mui/material/Card"; import Typography from "@mui/material/Typography"; import { styled, alpha } from "@mui/material/styles"; import InputBase from "@mui/material/InputBase"; import SearchIcon from "@mui/icons-material/Search"; import LinearProgress, { linearProgressClasses, } from "@mui/material/LinearProgress"; import styles from "@/components/Apps/FileManager/LeftSidebar.module.css"; // Search field style const Search = styled("div")(({ theme }) => ({ position: "relative", borderRadius: 100, backgroundColor: alpha(theme.palette.common.white, 0.15), "&:hover": { backgroundColor: alpha(theme.palette.common.white, 0.25), }, marginRight: 0, marginLeft: 0, marginBottom: 15, width: "100%", [theme.breakpoints.up("xs")]: { marginRight: theme.spacing(1), width: "auto", }, })); const SearchIconWrapper = styled("div")(({ theme }) => ({ color: "#757FEF", padding: theme.spacing(0, 2), height: "100%", position: "absolute", right: "0", pointerEvents: "none", display: "flex", alignItems: "center", justifyContent: "center", zIndex: "5", })); const StyledInputBase = styled(InputBase)(({ theme }) => ({ color: "inherit", width: "100%", "& .MuiInputBase-input": { backgroundColor: "#F5F7FA", borderRadius: "30px", padding: theme.spacing(1.4, 0, 1.4, 2), }, })); // Storage Status Progress const BorderLinearProgress = styled(LinearProgress)(({ theme }) => ({ height: 5, borderRadius: 5, [`&.${linearProgressClasses.colorPrimary}`]: { backgroundColor: theme.palette.grey[theme.palette.mode === "light" ? 200 : 800], }, [`& .${linearProgressClasses.bar}`]: { borderRadius: 5, backgroundColor: theme.palette.mode === "light" ? "#757FEF" : "#308fe8", }, })); const LeftSidebar = () => { const router = useRouter(); return ( <> My Drive {/* Search */} {/* Nav */} {/* Storage status */} Storage Status 186.5 GB Used of 120 GB ); }; export default LeftSidebar;