File tree 8 files changed +14
-33
lines changed
8 files changed +14
-33
lines changed Original file line number Diff line number Diff line change 1
1
import React , { memo } from 'react'
2
2
import PropTypes from 'prop-types'
3
- // import classnames from 'classnames'
3
+ import classnames from 'classnames'
4
4
// import BackgroundImage from 'components/common/BackgroundImage'
5
5
6
6
const Container = memo ( ( { className, children } ) => {
7
7
return (
8
- < div className = " relative w-screen h-screen" >
9
- < div className = { className } > { children } </ div >
8
+ < div className = { classnames ( ' relative w-screen h-screen' , className ) } >
9
+ < div > { children } </ div >
10
10
</ div >
11
11
)
12
12
} )
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import Button from 'components/common/Button'
23
23
import MapBox from 'components/common/MapBox'
24
24
import LoadingOverlay from 'components/common/LoadingOverlay'
25
25
import DetailIcon from 'components/icons/DetailIcon'
26
- // import Popup from 'components/common/Popup'
27
26
import { useRouter } from 'next/router'
28
27
import urls from 'consts/urls'
29
28
@@ -43,8 +42,6 @@ const Step1 = memo(({ formData, setFormData }) => {
43
42
const [ userLocation , setUserLocation ] = useState ( null )
44
43
const [ isToggleView , setIsToggleView ] = useState ( true )
45
44
const [ dataOldSessions , setDataOldSessions ] = useState ( [ ] )
46
- // // const [openPopup, setOpenPopup] = useState(false)
47
- // const [idDetail, setIdDetail] = useState('')
48
45
const router = useRouter ( )
49
46
sessionStorage . getItem ( 'redirectURL' ) && sessionStorage . removeItem ( 'redirectURL' )
50
47
sessionStorage . getItem ( 'isSessionExpired' ) && sessionStorage . removeItem ( 'isSessionExpired' )
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default function Home() {
38
38
</ Head >
39
39
< Container className = "bg-image" >
40
40
< Center >
41
- < div className = "py-36 md:py-60 " >
41
+ < div className = "py-34 md:py-40 " >
42
42
< h1 className = "mb-3 text-gray-800 text-2xl md:text-5xl font-bold" > GO OUT TOGETHER</ h1 >
43
43
< h1 className = "mb-3 text-gray-800 text-2xl md:text-5xl font-bold" >
44
44
Tạo nhóm và cùng bạn bè chọn địa điểm vui chơi
Original file line number Diff line number Diff line change 1
1
.bg-image {
2
2
/* The image used */
3
- background : url ('/assets/images/bg25 .png' ) no-repeat;
3
+ background : url ('/assets/images/bg34 .png' ) no-repeat;
4
4
background-size : cover;
5
5
background-position : center;
6
6
background-repeat : no-repeat;
7
7
min-height : 100% ;
8
8
}
9
9
.bg-image1 {
10
10
/* The image used */
11
- background : url ('/assets/images/bg30 .png' ) no-repeat;
12
- /* background-attachment: fixed ; */
11
+ background : url ('/assets/images/bg32 .png' ) no-repeat;
12
+ /* background-attachment: local ; */
13
13
background-size : cover;
14
14
background-position : center;
15
15
background-repeat : no-repeat;
16
- /* min-width: 100%; */
16
+ min-width : 100% ;
17
17
min-height : 100% ;
18
+ overflow-y : auto;
18
19
}
19
20
.bg-image2 {
20
21
/* The image used */
21
- width : 100% ;
22
- background : url ('/assets/images/bg31.png' ) no-repeat;
23
- /* background-attachment: fixed; */
22
+ background : url ('/assets/images/bg25.png' ) no-repeat;
23
+ background-attachment : local;
24
24
background-size : cover;
25
25
background-position : center;
26
26
background-repeat : no-repeat;
27
27
min-height : 100% ;
28
+ min-width : 100% ;
28
29
}
29
- body ::before {
30
- content : '' ;
31
- position : fixed;
32
- left : 0 ;
33
- right : 0 ;
34
- z-index : -1 ;
35
- width : 100% ;
36
- height : 100% ;
37
-
38
- display : block;
39
- background-size : cover;
40
- background-position : center;
41
- background-repeat : no-repeat;
42
-
43
- -webkit-filter : blur (2px );
44
- -moz-filter : blur (2px );
45
- -o-filter : blur (2px );
46
- -ms-filter : blur (2px );
47
- filter : blur (2px );
30
+ body {
31
+ overflow-x : hidden;
48
32
}
49
33
50
34
.popup-direction {
You can’t perform that action at this time.
0 commit comments