переделал на "sx"
This commit is contained in:
parent
1d42b0b7ad
commit
4a4fad1f58
4
public/fonts.css
Normal file
4
public/fonts.css
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: "GilroyRegular";
|
||||||
|
src: local("GilroyRegular"), url(fonts/GilroyRegular.woff) format("woff");
|
||||||
|
}
|
BIN
public/fonts/GilroyRegular.woff
Normal file
BIN
public/fonts/GilroyRegular.woff
Normal file
Binary file not shown.
BIN
public/images/logoPenaHub.png
Normal file
BIN
public/images/logoPenaHub.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
@ -10,7 +10,7 @@
|
|||||||
content="Web site created using create-react-app"
|
content="Web site created using create-react-app"
|
||||||
/>
|
/>
|
||||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" />
|
<link rel="stylesheet" href="fonts.css" />
|
||||||
<!--
|
<!--
|
||||||
manifest.json provides metadata used when your web app is installed on a
|
manifest.json provides metadata used when your web app is installed on a
|
||||||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||||
|
@ -1,20 +1,95 @@
|
|||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
import { Box, CssBaseline } from "@mui/material";
|
import { Box, CssBaseline } from "@mui/material";
|
||||||
import useStyles from "./styles";
|
import theme from "../../theme";
|
||||||
|
|
||||||
|
|
||||||
const Authorization: React.FC = () => {
|
const Authorization: React.FC = () => {
|
||||||
const classes = useStyles();
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<CssBaseline />
|
<CssBaseline />
|
||||||
|
|
||||||
<Box className={ classes.wrapper }>
|
<Box sx={{
|
||||||
<Box className={ classes.form }>
|
backgroundColor: theme.palette.primary.main,
|
||||||
|
height: "100vh",
|
||||||
|
display: "flex",
|
||||||
|
flexDirection: "column",
|
||||||
|
justifyContent: "center",
|
||||||
|
alignItems: "center"
|
||||||
|
}}>
|
||||||
|
<Box sx={{
|
||||||
|
width: "350px",
|
||||||
|
height: "700px",
|
||||||
|
color: "#ffffff",
|
||||||
|
fontFamily: "GilroyRegular",
|
||||||
|
display: "flex",
|
||||||
|
flexDirection: "column",
|
||||||
|
justifyContent: "space-between",
|
||||||
|
alignItems: "center",
|
||||||
|
border: "1px dashed gray"
|
||||||
|
}}>
|
||||||
|
|
||||||
<Box className={ classes.caption }>
|
<Box sx={{
|
||||||
pam pam
|
display: "flex",
|
||||||
|
fontSize: "21px",
|
||||||
|
border: "1px dashed red"
|
||||||
|
}}>
|
||||||
|
<Box sx={{
|
||||||
|
fontWeight: "600",
|
||||||
|
}}>
|
||||||
|
PENA
|
||||||
|
</Box>
|
||||||
|
<Box sx={{
|
||||||
|
|
||||||
|
}}>
|
||||||
|
HUB
|
||||||
|
</Box>
|
||||||
|
</Box>
|
||||||
|
|
||||||
|
<Box sx={{
|
||||||
|
width: "100%",
|
||||||
|
border: "1px solid purple",
|
||||||
|
fontWeight: "600",
|
||||||
|
display: "flex",
|
||||||
|
justifyContent: "right",
|
||||||
|
}}>
|
||||||
|
<Box sx={{
|
||||||
|
width: "340px",
|
||||||
|
border: "1px solid red"
|
||||||
|
}}>
|
||||||
|
<Box sx={{
|
||||||
|
fontSize: "33px",
|
||||||
|
}}>
|
||||||
|
Добро пожаловать
|
||||||
|
</Box>
|
||||||
|
<Box>
|
||||||
|
Мы рады что вы выбрали нас!
|
||||||
|
</Box>
|
||||||
|
</Box>
|
||||||
|
</Box>
|
||||||
|
|
||||||
|
<Box sx={{
|
||||||
|
width: "100%",
|
||||||
|
height: "146px",
|
||||||
|
display: "flex",
|
||||||
|
flexDirection: "column",
|
||||||
|
justifyContent: "space-between",
|
||||||
|
alignItems: "center",
|
||||||
|
border: "1px solid purple",
|
||||||
|
}}>
|
||||||
|
<Box sx={{
|
||||||
|
width: "100%",
|
||||||
|
height: "65px",
|
||||||
|
border: "1px solid red"
|
||||||
|
}}>
|
||||||
|
1
|
||||||
|
</Box>
|
||||||
|
<Box sx={{
|
||||||
|
width: "100%",
|
||||||
|
height: "65px",
|
||||||
|
border: "1px solid red"
|
||||||
|
}}>
|
||||||
|
2
|
||||||
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
</Box>
|
</Box>
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
import { makeStyles } from "@material-ui/core/styles";
|
|
||||||
import theme from "../../theme";
|
|
||||||
|
|
||||||
|
|
||||||
const useStyles = makeStyles(() => ({
|
|
||||||
wrapper: {
|
|
||||||
background: theme.palette.primary.main,
|
|
||||||
width: "100%",
|
|
||||||
height: "100vh",
|
|
||||||
color: "#ffffff",
|
|
||||||
display: "flex"
|
|
||||||
},
|
|
||||||
form: {
|
|
||||||
width: "350px",
|
|
||||||
height: "700px",
|
|
||||||
margin: "auto",
|
|
||||||
border: "1px solid gray"
|
|
||||||
},
|
|
||||||
caption: {
|
|
||||||
border: "1px solid white"
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
|
|
||||||
|
|
||||||
export default useStyles;
|
|
Loading…
Reference in New Issue
Block a user