Compare commits

...

2 Commits

Author SHA1 Message Date
victorAnumudu 0a31a25162 added border radius 2024-09-05 17:25:51 +01:00
victor.ebuka 50e2385b50 Merge branch 'height-adjust' of DigiFi/digifi-bko into master 2024-09-04 20:17:20 +00:00
5 changed files with 17 additions and 5 deletions
@@ -18,11 +18,12 @@ const EngageWidget10 = ({className}: Props) => (
<div className='mb-10'> <div className='mb-10'>
<div className='fs-2hx fw-bold text-gray-800 text-center mb-13'> <div className='fs-2hx fw-bold text-gray-800 text-center mb-13'>
<span className='me-2'> <span className='me-2'>
Need more help to manage to the platform Need more help to manage the platform
<br /> <br />
<span className='position-relative d-inline-block text-danger'> <span className='position-relative d-inline-block text-danger'>
<Link <Link
to='/crafted/pages/profile/overview' to='/help'
// target='_blank'
className='text-danger className='text-danger
opacity-75-hover' opacity-75-hover'
> >
@@ -108,13 +108,14 @@ const TablesWidget10: FC<Props> = ({className, dashData}) => {
<td className='text-end'> <td className='text-end'>
<div className='d-flex flex-column w-100 me-2'> <div className='d-flex flex-column w-100 me-2'>
<div className='d-flex flex-stack mb-2'> <div className='d-flex flex-stack mb-2'>
<span className='text-muted me-2 fs-7 fw-semibold'>50%</span> {/* <span className='text-muted me-2 fs-7 fw-semibold'>50%</span> */}
<span className='text-muted me-2 fs-7 fw-semibold'>{(Number(item?.status)/5)*100}%</span>
</div> </div>
<div className='progress h-6px w-100'> <div className='progress h-6px w-100'>
<div <div
className='progress-bar bg-primary' className='progress-bar bg-primary'
role='progressbar' role='progressbar'
style={{width: '50%'}} style={{width: `${(Number(item?.status)/5)*100}%`}}
></div> ></div>
</div> </div>
</div> </div>
+1 -1
View File
@@ -27,7 +27,7 @@ const AuthLayout = () => {
className="d-flex h-100 align-items-center" className="d-flex h-100 align-items-center"
> >
{/* begin::Wrapper */} {/* begin::Wrapper */}
<div className="w-lg-500px p-10 bg-white shadow-sm"> <div className="w-lg-500px p-10 bg-white shadow-sm rounded">
{/* begin::Title */} {/* begin::Title */}
<h1 className="text-black fs-2qx fw-bolder text-center mb-7"> <h1 className="text-black fs-2qx fw-bolder text-center mb-7">
{/* begin::Logo */} {/* begin::Logo */}
+8
View File
@@ -0,0 +1,8 @@
export default function HelpPage() {
return (
<div className="w-100 h-100">
<h1 className="fs-2hx fw-bold text-gray-800">Help</h1>
</div>
)
}
+2
View File
@@ -11,6 +11,7 @@ import {PrivateRoutes} from './PrivateRoutes'
import {ErrorsPage} from '../modules/errors/ErrorsPage' import {ErrorsPage} from '../modules/errors/ErrorsPage'
import {Logout, AuthPage, useAuth} from '../modules/auth' import {Logout, AuthPage, useAuth} from '../modules/auth'
import {App} from '../App' import {App} from '../App'
import HelpPage from '../modules/help/HelpPage'
/** /**
* Base URL of the website. * Base URL of the website.
@@ -26,6 +27,7 @@ const AppRoutes: FC = () => {
<Routes> <Routes>
<Route element={<App />}> <Route element={<App />}>
<Route path='error/*' element={<ErrorsPage />} /> <Route path='error/*' element={<ErrorsPage />} />
<Route path='/help' element={<HelpPage />} />
<Route path='logout' element={<Logout />} /> <Route path='logout' element={<Logout />} />
{currentUser ? ( {currentUser ? (
<> <>