added aside menu back

This commit was merged in pull request #67.
This commit is contained in:
victorAnumudu
2025-08-13 16:51:59 +01:00
parent 9eea804f71
commit b418ca7d58
3 changed files with 5 additions and 16 deletions
+1 -11
View File
@@ -9,19 +9,10 @@ import siteLinks from '../../links/siteLinks';
export default function Layout() {
const {pathname} = useLocation()
const isProfileComplete = pathname == siteLinks.profile_complete
// const isProfileComplete = pathname == siteLinks.profile_complete
return (
<div className="app">
{isProfileComplete ?
<div className="app-wrap">
<UserHeader />
<div className="container-fluid">
<Outlet />
</div>
<UserFooter isProfileComplete={isProfileComplete} />
</div>
:
<div className="app-wrap">
<UserHeader />
<div className="app-container">
@@ -37,7 +28,6 @@ export default function Layout() {
</div>
<UserFooter />
</div>
}
</div>
)
}
@@ -1,11 +1,11 @@
import React from "react";
export default function UserFooter({isProfileComplete=false}){
export default function UserFooter(){
const year = new Date().getFullYear()
return <>
<footer className={`${isProfileComplete && 'w-100'} footer`}>
<footer className={`footer`}>
<div className="row">
<div className="col-12 col-sm-6 text-center text-sm-left">
<p>&copy; Copyright {year}. All rights reserved.</p>
@@ -47,9 +47,8 @@ export default function ProfileCompleteCom(){
}
return <>
<div style={{marginTop: '90px'}}>
<BreadcrumbComBS title='Update Profile' paths={['Dashboard', 'Profile']} />
</div>
<BreadcrumbComBS title='Update Profile' paths={['Dashboard', 'Profile']} />
<div className="row pt-1">