Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7dc8503861 | |||
| a819bcca1f | |||
| 161bac928b | |||
| 40834b9c38 | |||
| 7a823fcf74 | |||
| faa4fdf8a6 | |||
| a33d405c8c | |||
| 56570fbd33 |
+1
-1
@@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
<div id="splash-screen" class="splash-screen">
|
<div id="splash-screen" class="splash-screen">
|
||||||
<img src="%PUBLIC_URL%/media/logos/default-small.svg" alt="WrenchBoard" />
|
<img src="%PUBLIC_URL%/media/logos/favicon.ico" alt="Float Users" />
|
||||||
<span>Loading ...</span>
|
<span>Loading ...</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="root-modals"></div>
|
<div id="root-modals"></div>
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
.auth-gray {
|
||||||
|
background-color: $gray-200;
|
||||||
|
}
|
||||||
@@ -12,4 +12,5 @@
|
|||||||
@import "header/header-sidebar-light";
|
@import "header/header-sidebar-light";
|
||||||
@import "content";
|
@import "content";
|
||||||
@import "toolbar";
|
@import "toolbar";
|
||||||
@import "page-title";
|
@import "page-title";
|
||||||
|
@import "auth";
|
||||||
@@ -54,7 +54,7 @@ const AuthLayout = () => {
|
|||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='d-flex flex-column flex-lg-row flex-column-fluid overflow-auto'>
|
<div className='d-flex flex-column flex-lg-row flex-column-fluid overflow-auto' style={{backgroundImage: `${bgColor.backgroundImage}`}}>
|
||||||
{/* begin::Body */}
|
{/* begin::Body */}
|
||||||
<div className='d-flex flex-column flex-lg-row-fluid w-lg-50 p-10 order-2 order-lg-1 vh-100'>
|
<div className='d-flex flex-column flex-lg-row-fluid w-lg-50 p-10 order-2 order-lg-1 vh-100'>
|
||||||
{/* begin::Form */}
|
{/* begin::Form */}
|
||||||
@@ -64,7 +64,7 @@ const AuthLayout = () => {
|
|||||||
<img alt='Float Mobility' src={toAbsoluteUrl('/media/logos/logo.png')} className='h-35px' />
|
<img alt='Float Mobility' src={toAbsoluteUrl('/media/logos/logo.png')} className='h-35px' />
|
||||||
</div>
|
</div>
|
||||||
{/* begin::Wrapper */}
|
{/* begin::Wrapper */}
|
||||||
<div className='w-lg-500px p-10'>
|
<div className='auth-gray w-lg-500px p-10 shadow-lg rounded-sm'>
|
||||||
<Outlet />
|
<Outlet />
|
||||||
</div>
|
</div>
|
||||||
{/* end::Wrapper */}
|
{/* end::Wrapper */}
|
||||||
@@ -102,14 +102,13 @@ const AuthLayout = () => {
|
|||||||
{/* begin::Aside */}
|
{/* begin::Aside */}
|
||||||
<div
|
<div
|
||||||
className='position-relative d-flex flex-lg-row-fluid w-lg-50 p-10 order-1 order-lg-2'
|
className='position-relative d-flex flex-lg-row-fluid w-lg-50 p-10 order-1 order-lg-2'
|
||||||
style={{backgroundImage: `${bgColor.backgroundImage}`}}
|
|
||||||
>
|
>
|
||||||
{/* begin::Content */}
|
{/* begin::Content */}
|
||||||
<div className='position-relative d-flex flex-column flex-center px-5 px-md-15 w-100'>
|
<div className='position-relative d-flex flex-column flex-center px-5 px-md-15 w-100'>
|
||||||
{/* begin::Logo */}
|
{/* begin::Logo */}
|
||||||
<Link to='/' className='mb-12'>
|
{/* <Link to='/' className='mb-12'>
|
||||||
<img alt='Float Mobility' src={toAbsoluteUrl('/media/logos/logo.png')} className='h-35px' />
|
<img alt='Float Mobility' src={toAbsoluteUrl('/media/logos/logo.png')} className='h-35px' />
|
||||||
</Link>
|
</Link> */}
|
||||||
{/* end::Logo */}
|
{/* end::Logo */}
|
||||||
|
|
||||||
{/* <img
|
{/* <img
|
||||||
@@ -123,7 +122,7 @@ const AuthLayout = () => {
|
|||||||
className='img-fluid rounded'
|
className='img-fluid rounded'
|
||||||
src={toAbsoluteUrl('/media/misc/auth-bg-new.png')}
|
src={toAbsoluteUrl('/media/misc/auth-bg-new.png')}
|
||||||
alt=''
|
alt=''
|
||||||
style={{boxShadow: '0px 0px 10px white'}}
|
// style={{boxShadow: '0px 0px 10px white'}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{/* end::Image */}
|
{/* end::Image */}
|
||||||
@@ -135,7 +134,7 @@ const AuthLayout = () => {
|
|||||||
{/* end::Title */}
|
{/* end::Title */}
|
||||||
|
|
||||||
{/* begin::Text */}
|
{/* begin::Text */}
|
||||||
<div className='text-dark fs-base text-center'>
|
{/* <div className='text-dark fs-base text-center'>
|
||||||
In this kind of post,{' '}
|
In this kind of post,{' '}
|
||||||
<a href='#' className='opacity-75-hover text-warning fw-bold me-1'>
|
<a href='#' className='opacity-75-hover text-warning fw-bold me-1'>
|
||||||
the blogger
|
the blogger
|
||||||
@@ -146,7 +145,7 @@ const AuthLayout = () => {
|
|||||||
the interviewee
|
the interviewee
|
||||||
</a>
|
</a>
|
||||||
and their <br /> work following this is a transcript of the interview.
|
and their <br /> work following this is a transcript of the interview.
|
||||||
</div>
|
</div> */}
|
||||||
{/* end::Text */}
|
{/* end::Text */}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -21,10 +21,10 @@ const loginSchema = Yup.object().shape({
|
|||||||
})
|
})
|
||||||
|
|
||||||
const initialValues = {
|
const initialValues = {
|
||||||
email: 'admin@demo.com',
|
email: 'demo@float.sg',
|
||||||
password: 'demo',
|
password: '****',
|
||||||
}
|
}
|
||||||
|
//email: 'admin@demo.com',
|
||||||
/*
|
/*
|
||||||
Formik+YUP+Typescript:
|
Formik+YUP+Typescript:
|
||||||
https://jaredpalmer.com/formik/docs/tutorial#getfieldprops
|
https://jaredpalmer.com/formik/docs/tutorial#getfieldprops
|
||||||
|
|||||||
@@ -309,7 +309,7 @@ export function Registration() {
|
|||||||
<span>
|
<span>
|
||||||
I Accept the{' '}
|
I Accept the{' '}
|
||||||
<a
|
<a
|
||||||
href='https://keenthemes.com/metronic/?page=faq'
|
href='#'
|
||||||
target='_blank'
|
target='_blank'
|
||||||
className='ms-1 link-primary'
|
className='ms-1 link-primary'
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user