diff --git a/cometvisor/public/logingraphicblue1.png b/cometvisor/public/logingraphicblue1.png new file mode 100644 index 0000000..5eddca8 Binary files /dev/null and b/cometvisor/public/logingraphicblue1.png differ diff --git a/cometvisor/public/utdfintechlogo1.png b/cometvisor/public/utdfintechlogo1.png new file mode 100644 index 0000000..4f6416a Binary files /dev/null and b/cometvisor/public/utdfintechlogo1.png differ diff --git a/cometvisor/src/GlassCard.js b/cometvisor/src/GlassCard.js new file mode 100644 index 0000000..cda50f2 --- /dev/null +++ b/cometvisor/src/GlassCard.js @@ -0,0 +1,22 @@ +import { useTheme } from "@emotion/react"; +import { Box, BoxProps, createTheme, ThemeProvider } from "@mui/material"; + +const theme = createTheme({ + glass: { + backgroundColor: "rgba(255, 255, 255, 0.3)", + backgroundImage: "linear-gradient(to bottom right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0))", + backdropFilter: `blur(7px)`, + boxShadow: "10px 10px 10px rgba(30, 30, 30, 0.1)", + borderLeft: "solid 1px rgba(255, 255, 255, 0.3)", + borderYop: "solid 1px rgba(255, 255, 255, 0.8)", + }, +}); + +export function GlassCard() { + const classes = useTheme()(); + return ( + + ); +} \ No newline at end of file diff --git a/cometvisor/src/MainPages/Login.js b/cometvisor/src/MainPages/Login.js new file mode 100644 index 0000000..aacec5c --- /dev/null +++ b/cometvisor/src/MainPages/Login.js @@ -0,0 +1,104 @@ +import { Box, TextField, Drawer, Button, CssBaseline, Link, Paper, Grid, Typography } from '@mui/material'; +import { createTheme, ThemeProvider } from '@mui/material/styles'; +import * as React from 'react'; +import "./login.css"; +import { GlassCard } from "../GlassCard"; + +const theme = createTheme(); + +const Login = (props) => { + return ( + + + + + + + + + + + + + + Welcome Back, + + + Sign in + + + +
+ +
+ + + + + {"Sign Up"} + + + + + + Forgot your password? + + + + +
+
+
+
+
+
+ ); +} +export default Login; \ No newline at end of file diff --git a/cometvisor/src/MainPages/index.js b/cometvisor/src/MainPages/index.js index 67c6099..4976fec 100644 --- a/cometvisor/src/MainPages/index.js +++ b/cometvisor/src/MainPages/index.js @@ -9,6 +9,7 @@ import Homepage from "./Homepage"; import Informatives from "./Informatives"; import Research from "./Research"; import Settings from "./Settings"; +import Login from "./Login"; import ProfileBar from "./Components/profileBar"; const theme = createTheme({ @@ -162,7 +163,11 @@ export default() => { }} >
- + Sign out
@@ -183,8 +188,9 @@ export default() => { +
); -} \ No newline at end of file + } \ No newline at end of file diff --git a/cometvisor/src/MainPages/login.css b/cometvisor/src/MainPages/login.css new file mode 100644 index 0000000..2c4a1c3 --- /dev/null +++ b/cometvisor/src/MainPages/login.css @@ -0,0 +1,76 @@ +.photo { + height: 100px; + width: 100px; + padding-left: 20px; + padding-top: 20px; +} + +.logoText { + padding-top: 33px; + font-family: Avenir; + font-style: normal; + font-weight: 800; + font-size: 36px; + text-align:left; + line-height: 95.6%; + /* or 34px */ + + + color: #000000; +} + +.welcomePhoto { + padding-top: 50px; + padding-left: 10px; +} + +/* Info Card */ +.infoCard { + height: 100%; + background: linear-gradient(152.97deg, rgba(112, 112, 112, 0.2) 0%, rgba(181, 181, 181, 0) 100%); + backdrop-filter: blur(42px); + /* Note: backdrop-filter has minimal browser support */ +} + + +.loginHeader { + padding-top: 300px; + + font-family: Avenir; + font-style: normal; + font-weight: bold; + font-size: 24px; + + color: #000000; +} + +.lowerLoginHeader { + font-family: Avenir; + font-style: normal; + font-weight: normal; + font-size: 16px; + + color: #949494; +} + +.textField { + width: 313px; + height: 54px; +} + +.loginButton { + background: linear-gradient(277.48deg, #00827F -4.46%, #2596FF 125.88%); + border-radius: 10px; + width : 20%; +} + +.noAcc { + font-family: Avenir; + font-style: normal; + font-weight: normal; + font-size: 16px; + /* or 20px */ + + + color: #949494; +}