File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -158,17 +158,14 @@ $(document).ready(function () {
158
158
} ) ;
159
159
160
160
// Modal Popup
161
- $ ( ".popup-button" ) . magnificPopup ( {
162
- type : "iframe" ,
163
- iframe : {
164
- patterns : {
165
- youtube : {
166
- index : "youtube.com/" ,
167
- id : "v=" ,
168
- src : "//www.youtube.com/embed/tgbNymZ7vqY" ,
169
- } ,
170
- } ,
171
- } ,
161
+ $ ( '.popup-button' ) . magnificPopup ( {
162
+ disableOn : 700 ,
163
+ type : 'iframe' ,
164
+ mainClass : 'mfp-fade' ,
165
+ removalDelay : 160 ,
166
+ preloader : false ,
167
+
168
+ fixedContentPos : false
172
169
} ) ;
173
170
174
171
$ ( ".portfolio-item-grid" ) . masonry ( {
Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ buttonName: Contact me
10
10
buttonURL : contact
11
11
image : images/hero/2960351.jpg
12
12
videoThumb : images/hero/popup-thumb.png
13
- videoURL : https://www.youtube.com/embed/tgbNymZ7vqY
13
+ videoURL : https://www.youtube.com/watch?v=dQw4w9WgXcQ
Original file line number Diff line number Diff line change 12
12
{{ "<!-- Font Awesome --> " | safeHTML }}
13
13
< link rel ="stylesheet " href ="{{ "plugins /font-awesome/css/font-awesome.min.css" | absURL }}" />
14
14
15
+ {{ "<!-- Magnific Popup --> " | safeHTML }}
16
+ < link rel ="stylesheet " href ="{{ "plugins /magnafic-popup/magnific-popup.css" | absURL }}" />
17
+
15
18
{{ "<!-- Stylesheets --> " | safeHTML }}
16
19
{{ $style := resources.Get "scss/style.scss" | resources.ToCSS | minify }}
17
20
< link href ="{{ $style.Permalink }} " rel ="stylesheet " />
You can’t perform that action at this time.
0 commit comments