diff --git a/public/images/grid-background.png b/public/images/grid-background.png new file mode 100644 index 0000000..f5c00c0 Binary files /dev/null and b/public/images/grid-background.png differ diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index a705b7e..7b94987 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -1,19 +1,41 @@ -import React from 'react' -import '../scss/styles.scss' -import '../scss/components/_navbar.scss' +import React from "react"; +import "../scss/styles.scss"; +import "../scss/components/_navbar.scss"; +import { Link } from "react-router-dom"; const Navbar = () => { return ( - ) -} + ); +}; -export default Navbar \ No newline at end of file +export default Navbar; diff --git a/src/main.jsx b/src/main.jsx index b80fa22..f7abc3f 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -5,11 +5,10 @@ import "./scss/styles.scss"; import Navbar from "./components/Navbar"; import Hero from "./components/Hero"; import Services from "./components/Services"; +import Header from "./components/Header"; createRoot(document.getElementById("root")).render( - - ); diff --git a/src/pages/LoginPage.jsx b/src/pages/LoginPage.jsx index e7b1385..e3b4712 100644 --- a/src/pages/LoginPage.jsx +++ b/src/pages/LoginPage.jsx @@ -8,7 +8,7 @@ const LoginPage = () => { const [type, setType] = useState("signIn"); useEffect(() => { - document.title = "Login / Sign Up"; + document.title = "Login / Instructor"; }, []); const handleOnClick = (text) => { @@ -23,7 +23,7 @@ const LoginPage = () => { return (
-

Sign In/Sign Up

+

Student/Instructor

@@ -31,26 +31,24 @@ const LoginPage = () => {

Welcome Back!

-

- To keep connected with us please login with your personal info -

+

Please login with your personal info

-

Hello, Friend!

-

Enter your personal details and start journey with us

+

Hello, Instructor!

+

Please enter your personal details here

diff --git a/src/pages/SignIn.jsx b/src/pages/SignIn.jsx index b6a203a..9976eb5 100644 --- a/src/pages/SignIn.jsx +++ b/src/pages/SignIn.jsx @@ -31,22 +31,16 @@ function SignInForm() { return (
-

Sign in

-
- - - +

Student

+ {/* - or use your account +
*/} + - Forgot your password? +
diff --git a/src/pages/SignUp.jsx b/src/pages/SignUp.jsx index 64d9042..cba2444 100644 --- a/src/pages/SignUp.jsx +++ b/src/pages/SignUp.jsx @@ -18,7 +18,7 @@ function SignUpForm() { const { name, email, password } = state; alert( - `You are sign up with name: ${name} email: ${email} and password: ${password}` + `You are signed in with name: ${name} email: ${email} and password: ${password}` ); for (const key in state) { @@ -32,17 +32,11 @@ function SignUpForm() { return (
-

Create Account

+

Instructor

or use your email for registration - +
); diff --git a/src/routers/AppRouter.jsx b/src/routers/AppRouter.jsx index f1b5ffa..09eac42 100644 --- a/src/routers/AppRouter.jsx +++ b/src/routers/AppRouter.jsx @@ -19,22 +19,20 @@ const AppRouter = () => { return (
- {/*
*/} - - - + + } /> - } /> + } /> @@ -43,7 +41,7 @@ const AppRouter = () => { /> } /> - +
diff --git a/src/scss/page/_login.scss b/src/scss/page/_login.scss index d80b2f5..47d2f0e 100644 --- a/src/scss/page/_login.scss +++ b/src/scss/page/_login.scss @@ -1,3 +1,21 @@ +// .login-page { +// min-height: 100vh; +// display: flex; +// justify-content: center; +// align-items: center; + +// background-image: url("../../../public/images/grid-background.png"); +// background-size: cover; +// background-position: center; +// background-repeat: no-repeat; +// background-attachment: fixed; + +// section { +// width: 100%; +// max-width: 800px; +// padding: 20px; +// } +// } .App { font-family: sans-serif; text-align: center; @@ -10,7 +28,12 @@ } body { - background: #f6f5f7; + background: transparent; + background-image: url("../../../public/images/grid-background.png"); + background-size: cover; + background-position: center; + background-repeat: no-repeat; + background-attachment: fixed; display: flex; justify-content: center; align-items: center; @@ -27,6 +50,8 @@ h1 { h2 { text-align: center; + color: #fff; + text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); } p { @@ -227,8 +252,8 @@ input { justify-content: center; align-items: center; margin: 0 5px; - height: 40px; - width: 40px; + height: 60px; + width: 60px; } footer {