Compare commits

1 Commits

Author SHA1 Message Date
Ebube 813489c67e initial commit 2023-04-14 06:09:08 +01:00
4 changed files with 60 additions and 7 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ PUBLIC_URL=http://localhost:3000/
PORT=3000 PORT=3000
PRIMARY_APP_API_URL=https://preview.keenthemes.com/metronic8/laravel/api PRIMARY_APP_API_URL=https://preview.keenthemes.com/metronic8/laravel/api
REACT_APP_BASE_LAYOUT_CONFIG_KEY='metronic-react-demo1-8150' REACT_APP_BASE_LAYOUT_CONFIG_KEY='metronic-react-demo1-8150'
REACT_APP_API_URL=https://preview.keenthemes.com/metronic8/laravel/api REACT_APP_API_URL=https://float-gat.dev.chiefsoft.net/en/userweb/api/v1
REACT_APP_VERSION=v8.1.5 REACT_APP_VERSION=v8.1.5
REACT_APP_THEME_NAME=WrenchBoard REACT_APP_THEME_NAME=WrenchBoard
REACT_APP_THEME_DEMO=dashboard REACT_APP_THEME_DEMO=dashboard
+2 -2
View File
@@ -1,4 +1,4 @@
.auth-height { .auth-gray {
min-height: 100vh; background-color: $gray-200;
} }
+56 -3
View File
@@ -54,9 +54,9 @@ const AuthLayout = () => {
}, []) }, [])
return ( return (
<div className='auth-height d-flex flex-column flex-lg-row flex-column-fluid' style={{backgroundImage: `${bgColor.backgroundImage}`}}> <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'> <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 */}
<div className='d-flex flex-center flex-column flex-lg-row-fluid'> <div className='d-flex flex-center flex-column flex-lg-row-fluid'>
<div className='text-center mb-11'> <div className='text-center mb-11'>
@@ -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='bg-white w-lg-500px p-10 shadow-lg rounded'> <div className='auth-gray w-lg-500px p-10 shadow-lg rounded-sm'>
<Outlet /> <Outlet />
</div> </div>
{/* end::Wrapper */} {/* end::Wrapper */}
@@ -99,6 +99,59 @@ const AuthLayout = () => {
</div> </div>
{/* end::Body */} {/* end::Body */}
{/* begin::Aside */}
<div
className='position-relative d-flex flex-lg-row-fluid w-lg-50 p-10 order-1 order-lg-2'
>
{/* begin::Content */}
<div className='position-relative d-flex flex-column flex-center px-5 px-md-15 w-100'>
{/* begin::Logo */}
{/* <Link to='/' className='mb-12'>
<img alt='Float Mobility' src={toAbsoluteUrl('/media/logos/logo.png')} className='h-35px' />
</Link> */}
{/* end::Logo */}
{/* <img
className='mx-auto w-350px w-md-50 w-xl-500px mb-10 mb-lg-20 rounded'
src={toAbsoluteUrl('/media/misc/auth-bg-new.png')}
alt=''
style={{boxShadow: '0px 0px 10px white'}}
/> */}
<div className='mx-auto w-75 w-xl-500px mb-10 mb-lg-20 rounded'>
<img
className='img-fluid rounded'
src={toAbsoluteUrl('/media/misc/auth-bg-new.png')}
alt=''
// style={{boxShadow: '0px 0px 10px white'}}
/>
</div>
{/* end::Image */}
<div className='w-100 w-md-75'>
{/* begin::Title */}
<h1 className='text-dark fs-2qx fw-bolder text-center mb-7'>
Fast, Efficient and Productive
</h1>
{/* end::Title */}
{/* begin::Text */}
{/* <div className='text-dark fs-base text-center'>
In this kind of post,{' '}
<a href='#' className='opacity-75-hover text-warning fw-bold me-1'>
the blogger
</a>
introduces a person theyve interviewed <br /> and provides some background information
about {' '}
<a href='#' className='opacity-75-hover text-warning fw-bold me-1'>
the interviewee
</a>
and their <br /> work following this is a transcript of the interview.
</div> */}
{/* end::Text */}
</div>
</div>
{/* end::Content */}
</div>
{/* end::Aside */}
</div> </div>
) )
} }
+1 -1
View File
@@ -1,7 +1,7 @@
import axios from 'axios' import axios from 'axios'
import {AuthModel, UserModel} from './_models' import {AuthModel, UserModel} from './_models'
const API_URL = process.env.REACT_APP_API_URL const API_URL = process?.env.REACT_APP_API_URL
export const GET_USER_BY_ACCESSTOKEN_URL = `${API_URL}/verify_token` export const GET_USER_BY_ACCESSTOKEN_URL = `${API_URL}/verify_token`
export const LOGIN_URL = `${API_URL}/login` export const LOGIN_URL = `${API_URL}/login`