diff --git a/src/app/modules/auth/AuthLayout.tsx b/src/app/modules/auth/AuthLayout.tsx index 38b4544..25f9a5b 100644 --- a/src/app/modules/auth/AuthLayout.tsx +++ b/src/app/modules/auth/AuthLayout.tsx @@ -1,47 +1,10 @@ /* eslint-disable jsx-a11y/anchor-is-valid */ -import {useEffect, useState} from 'react' +import {useEffect} from 'react' import {Outlet, Link} from 'react-router-dom' import {toAbsoluteUrl} from '../../../_res/helpers' const AuthLayout = () => { - //initial background color - let [bgColor, setBgColor] = useState({ - backgroundImage: 'linear-gradient(70deg, #E6E7F9, #b4caed)' - }) - - // function to determine background color - let changeBgColor = () => { - // let randomNum = Math.round(Math.random() * 3) - let randomNum = Number(localStorage.getItem('bg-num')) - if(randomNum){ - if(randomNum <= 1){ - setBgColor({ - backgroundImage: 'linear-gradient(70deg, #E6E7F9, #b4caed)' - }) - localStorage.setItem('bg-num', '2') - }else if(randomNum <= 2){ - setBgColor({ - backgroundImage: 'linear-gradient(70deg, #eee, #fff)' - }) - localStorage.setItem('bg-num', '3') - }else{ - setBgColor({ - backgroundImage: 'linear-gradient(70deg, #d5e1f5, #75a5f0)' - }) - localStorage.setItem('bg-num', '1') - } - }else{ - setBgColor({ - backgroundImage: 'linear-gradient(70deg, #E6E7F9, #b4caed)' - }) - localStorage.setItem('bg-num', '1') - } - } - useEffect(() => { - - changeBgColor() // calls the change color function after page loads - const root = document.getElementById('root') if (root) { root.style.height = '100%' @@ -54,17 +17,13 @@ const AuthLayout = () => { }, []) return ( -
+
{/* begin::Body */}
{/* begin::Form */}
-
- {/*

Sign In

*/} - Float Mobility -
{/* begin::Wrapper */} -
+
{/* end::Wrapper */} @@ -81,16 +40,16 @@ const AuthLayout = () => { - + Terms - - Contact Us + + Plans - - About Us + + Contact Us
{/* end::Links */} @@ -99,6 +58,51 @@ const AuthLayout = () => {
{/* end::Body */} + {/* begin::Aside */} +
+ {/* begin::Content */} +
+ {/* begin::Logo */} + + Float Mobility + + {/* end::Logo */} + + {/* begin::Image */} + + {/* end::Image */} + + {/* begin::Title */} +

+ Fast, Efficient and Productive +

+ {/* end::Title */} + + {/* begin::Text */} +
+ In this kind of post,{' '} + + the blogger + + introduces a person they’ve interviewed
and provides some background information + about + + the interviewee + + and their
work following this is a transcript of the interview. +
+ {/* end::Text */} +
+ {/* end::Content */} +
+ {/* end::Aside */}
) }