@@ -82,9 +82,9 @@ const Banner1 = (props) => {
82
82
return (
83
83
< Banner1SectionWrapper { ...props } >
84
84
< BGImg title = "heroImage" image = { pluginImage } >
85
- < Row style = { { marginRight : 0 } } >
86
- < Col $sm = { 4 } $lg = { 6 } className = "section-title-wrapper text-col" >
87
- < Container $fullWidthSM >
85
+ < Container >
86
+ < Row style = { { marginRight : 0 } } >
87
+ < Col $sm = { 4 } $lg = { 6 } className = "section-title-wrapper text-col" >
88
88
< SectionTitle
89
89
className = "section-title"
90
90
$leftAlign = { true }
@@ -105,52 +105,52 @@ const Banner1 = (props) => {
105
105
</ Button >
106
106
</ VintageBox >
107
107
</ span >
108
- </ Container >
109
- </ Col >
110
- { hasMounted && window . innerWidth > 760 && (
111
- < Col $sm = { 4 } $lg = { 6 } className = "section-title-wrapper video-col" >
112
- < div
113
- className = { `video-wrapper ${ videoReady ? "video-loaded" : "" } ` }
114
- ref = { thumbnailRef }
115
- onClick = { handleThumbnailClick }
116
- >
117
- < ReactPlayer
118
- url = "https://youtu.be/034nVaQUyME?si=Yya8m6i7JUoSdZm4"
119
- playing
120
- controls
121
- light = { videoThumbnail }
122
- playIcon = {
123
- < img
124
- src = { playIcon }
125
- className = "playBtn"
126
- loading = "eager"
127
- alt = "Play"
128
- role = "button"
129
- aria-label = "Play"
130
- style = { { fontSize : "24px" } }
131
- />
132
- }
133
- width = "100%"
134
- height = "100%"
135
- className = "embedVideo"
136
- onReady = { handleVideoReady }
137
- onStart = { handleVideoReady }
138
- onPlay = { handleVideoReady }
139
- onBufferEnd = { handleVideoReady }
140
- onClickPreview = { handleVideoReady }
141
- config = { {
142
- youtube : {
143
- playerVars : {
144
- rel : 0 ,
145
- modestbranding : 1 ,
146
- }
147
- }
148
- } }
149
- />
150
- </ div >
151
108
</ Col >
152
- ) }
153
- </ Row >
109
+ { hasMounted && window . innerWidth > 760 && (
110
+ < Col $sm = { 4 } $lg = { 6 } className = "section-title-wrapper video-col" >
111
+ < div
112
+ className = { `video-wrapper ${ videoReady ? "video-loaded" : "" } ` }
113
+ ref = { thumbnailRef }
114
+ onClick = { handleThumbnailClick }
115
+ >
116
+ < ReactPlayer
117
+ url = "https://youtu.be/034nVaQUyME?si=Yya8m6i7JUoSdZm4"
118
+ playing
119
+ controls
120
+ light = { videoThumbnail }
121
+ playIcon = {
122
+ < img
123
+ src = { playIcon }
124
+ className = "playBtn"
125
+ loading = "eager"
126
+ alt = "Play"
127
+ role = "button"
128
+ aria-label = "Play"
129
+ style = { { fontSize : "24px" } }
130
+ />
131
+ }
132
+ width = "100%"
133
+ height = "100%"
134
+ className = "embedVideo"
135
+ onReady = { handleVideoReady }
136
+ onStart = { handleVideoReady }
137
+ onPlay = { handleVideoReady }
138
+ onBufferEnd = { handleVideoReady }
139
+ onClickPreview = { handleVideoReady }
140
+ config = { {
141
+ youtube : {
142
+ playerVars : {
143
+ rel : 0 ,
144
+ modestbranding : 1 ,
145
+ }
146
+ }
147
+ } }
148
+ />
149
+ </ div >
150
+ </ Col >
151
+ ) }
152
+ </ Row >
153
+ </ Container >
154
154
</ BGImg >
155
155
</ Banner1SectionWrapper >
156
156
) ;
0 commit comments