diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 1c61745..2fbface 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -16,18 +16,22 @@ function App() { const programs = [CGSC, CPSC, ECON, HIST]; const strPrograms = JSON.stringify(programs); localStorage.setItem("programList", strPrograms); - - return (
- : }/> + {/* : }/> : }/> : }/> : }/> - : }/> + : }/> */} + }/> + }/> + + }/> + }/> + }/>
); diff --git a/frontend/src/commons/images/reallycoolguy.jpg b/frontend/src/commons/images/reallycoolguy.jpg new file mode 100644 index 0000000..dabaf1d Binary files /dev/null and b/frontend/src/commons/images/reallycoolguy.jpg differ diff --git a/frontend/src/pages/Login/Login.module.css b/frontend/src/pages/Login/Login.module.css new file mode 100644 index 0000000..18d1c45 --- /dev/null +++ b/frontend/src/pages/Login/Login.module.css @@ -0,0 +1,59 @@ +.centerDiv { + min-height: 100vh; + text-align: center; + max-width: 1000px; + margin-left: auto; + margin-right: auto; + justify-content: center; + align-items: center; + padding: 1rem; + display: flex; + flex-wrap: wrap; +} + +.featureListStyle { + list-style: none; + display: flex; + flex-direction: column; + gap: .5rem; + margin: 0; + padding: 0; +} + +.featureItemStyle { + font-weight: 500; + transition: transform .3s; + cursor: default; + text-align: left; +} + +.featureItemStyle:hover { + transform: translateX(7px); +} + +.loginButtons { + display: flex; + margin-left: auto; + margin-right: auto; + margin-top: 3px; + justify-content: start; + justify-content: center; +} + +.btn { + padding: 8px 24px; + border-radius: 10px; + font-weight: 500; + color: black; + background-color: lightblue; + transition: + transform 0.3s, + filter 0.3s; + margin-top: 8px; +} + +.btn:hover { + text-decoration: none; + transform: translateY(-5px); + filter: brightness(90%); + } \ No newline at end of file diff --git a/frontend/src/pages/Login/Login.tsx b/frontend/src/pages/Login/Login.tsx index c4dce4d..f8919d0 100644 --- a/frontend/src/pages/Login/Login.tsx +++ b/frontend/src/pages/Login/Login.tsx @@ -1,27 +1,62 @@ - import React, { useState } from "react"; -import navStyles from "./../../navbar/NavBar.module.css"; -import logo from "./../../commons/images/ma_logo.png"; +import { Link } from "react-router-dom"; +import styles from "./Login.module.css"; + +import navStyles from "../../navbar/NavBar.module.css"; +import logo from "../../commons/images/ma_logo.png"; +import loginPageImage from "../../commons/images/reallycoolguy.jpg"; function NavBar() { - return( + return (
- +
+ {/* + */}
); } - -function Login(){ - return( +function Login() { + return (
- - + +
+
+

The best place to explore and plan your major at Yale

+
    +
  • Explore all 80+ majors at Yale
  • +
  • Check all your distributional requirements are satisfied
  • +
  • Plan out all your courses in the traditional four-year plan
  • +
  • Look at this really cool guy to the right
  • +
+
+ {/* + Login with CAS + */} + + Login with CAS + + + About Us + + + Guest + +
+
+ Landing page +
- ) + ); } export default Login; -