File tree Expand file tree Collapse file tree 5 files changed +14
-18
lines changed Expand file tree Collapse file tree 5 files changed +14
-18
lines changed Original file line number Diff line number Diff line change 1
- import React from 'react' ;
2
- import { PrimaryHeader } from '../../pages/common/header' ;
3
- import { SideBar } from '../../pages/common/sidebar' ;
1
+ import React from "react" ;
4
2
5
3
export function Layout ( { children, location, history } ) {
6
- return (
7
- < >
8
- < div className = "flex h-[100vh] w-full bg-gray-100" >
9
- < SideBar location = { location } />
10
- < div className = "h-[100vh] w-full flex flex-col bg-primary-background min-h-screen w-full rounded md:pb-5" >
11
- < PrimaryHeader location = { location } history = { history } />
12
- < div className = "px-4 mt-4 w-full mx-auto flex flex-col h-full overflow-y-scroll overflow-x-hidden" >
13
- { children }
14
- </ div >
15
- </ div >
16
- </ div >
17
- </ >
18
- ) ;
4
+ return (
5
+ < >
6
+ < div className = "flex h-[100vh] w-full bg-gray-100" >
7
+ < div className = "h-[100vh] w-full flex flex-col bg-primary-background min-h-screen w-full rounded md:pb-5" >
8
+ < div className = "px-4 mt-4 w-full mx-auto flex flex-col h-full overflow-y-scroll overflow-x-hidden" >
9
+ { children }
10
+ </ div >
11
+ </ div >
12
+ </ div >
13
+ </ >
14
+ ) ;
19
15
}
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ export const PropertyDoc = () => {
76
76
< div className = "h-[100vh] w-full flex flex-col bg-primary-background min-h-screen rounded " >
77
77
< div className = "w-full flex justify-between text-center md:p-6 md:pr-8 py-4 px-2 pl-0 pb-10 bg-[#C6C6C63D]" >
78
78
< div
79
- className = "max-w-7xl sm:px-6 lg:px-8"
79
+ className = "max-w-7xl sm:px-6 lg:px-8 flex "
80
80
onClick = { ( ) => navigate ( "/" ) }
81
81
>
82
82
< img src = { logo } alt = "logo" className = "h-8 w-8 mr-2" />
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ export const PropertyOnMap = () => {
96
96
< div className = "h-[100vh] w-full flex flex-col bg-primary-background min-h-screen rounded " >
97
97
< div className = "w-full flex justify-between text-center md:p-6 md:pr-8 py-4 px-2 pl-0 pb-10 bg-[#C6C6C63D]" >
98
98
< div
99
- className = "max-w-7xl sm:px-6 lg:px-8"
99
+ className = "max-w-7xl sm:px-6 lg:px-8 flex "
100
100
onClick = { ( ) => navigate ( "/" ) }
101
101
>
102
102
< img src = { logo } alt = "logo" className = "h-8 w-8 mr-2" />
You can’t perform that action at this time.
0 commit comments