import * as React from "react";
import Avatar from "@mui/material/Avatar";
import Button from "@mui/material/Button";
import CssBaseline from "@mui/material/CssBaseline";
import TextField from "@mui/material/TextField";
import FormControlLabel from "@mui/material/FormControlLabel";
import Checkbox from "@mui/material/Checkbox";
import Link from "@mui/material/Link";
import Paper from "@mui/material/Paper";
import Box from "@mui/material/Box";
import Grid from "@mui/material/Grid";
import LockOutlinedIcon from "@mui/icons-material/LockOutlined";
import Typography from "@mui/material/Typography";
function Copyright(props: any) {
return (
{"Copyright © "}
Pierre HUBERT
{" "}
{new Date().getFullYear()}
{"."}
);
}
export function LoginRoute() {
const [user, setUser] = React.useState("");
const [password, setPassword] = React.useState("");
const handleSubmit = (event: React.FormEvent) => {
event.preventDefault();
// TODO
};
return (
t.palette.mode === "light"
? t.palette.grey[50]
: t.palette.grey[900],
backgroundSize: "cover",
backgroundPosition: "left",
}}
/>
SolarEnergy
setUser(v.target.value)}
/>
setPassword(v.target.value)}
/>
);
}