@@ -34,29 +34,46 @@ <h1 class="mb-4 text-h3 lg:text-h1">
3434 {{ end }}
3535 <!-- /Banner -->
3636
37- <!-- Demo Video -->
37+ <!-- Demo Video (Full Bleed) -->
3838 {{ with .Params.demo_video }}
3939 {{ if .enable }}
40- < section class ="section py-2 ">
41- < div class ="container ">
42- < div class ="mx-auto max-w-8xl text-center ">
40+ < section class ="w-full py-2 px-0 mb-16 ">
41+ <!-- Full-width wrapper -->
42+ < div class ="w-full mx-auto px-0 ">
43+ <!-- Optional heading -->
44+ < div class ="text-center mb-10 ">
4345 < h2 class ="h2 mb-4 ">
4446 {{ .title | markdownify }}
4547 </ h2 >
46- < p class ="text-lg mb-8 text-gray-600 ">
48+ < p class ="text-lg text-gray-600 ">
4749 {{ .description | markdownify }}
4850 </ p >
4951
50- < div
51- class ="relative "
52- style ="padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px; ">
53- < iframe
54- src ="{{ .video }} "
55- frameborder ="0 "
56- allowfullscreen
57- style ="position: absolute; top:0; left:0; width:100%; height:100%; border-radius: 12px; ">
58- </ iframe >
59- </ div >
52+ {{ with .button }}
53+ {{ if .enable }}
54+ < a
55+ class ="btn btn-primary block w-fit mx-auto mt-6 "
56+ href ="{{ .link | absURL }} "
57+ {{ if strings.HasPrefix .link `http` }}
58+ target ="_blank " rel ="noopener "
59+ {{ end }} >
60+ {{ .label }}
61+ < i class ="fa fa-arrow-right pl-2 "> </ i >
62+ </ a >
63+ {{ end }}
64+ {{ end }}
65+ </ div >
66+
67+ <!-- Full-bleed responsive video -->
68+ < div
69+ class ="relative w-full "
70+ style ="padding-bottom: 56.25%; height: 0; overflow: hidden; ">
71+ < iframe
72+ src ="{{ .video }} "
73+ frameborder ="0 "
74+ allowfullscreen
75+ style ="position:absolute; top:0; left:0; width:100%; height:100%; ">
76+ </ iframe >
6077 </ div >
6178 </ div >
6279 </ section >
@@ -66,7 +83,7 @@ <h2 class="h2 mb-4">
6683
6784 <!-- Features -->
6885 {{ range $i, $e:= .Params.features }}
69- < section class ="section-sm {{ if (modBool $i 2) }} bg-gradient{{ end }} ">
86+ < section class ="section-sm bg-gradient ">
7087 < div class ="container ">
7188 < div class ="row items-center justify-between ">
7289 < div
@@ -111,7 +128,7 @@ <h2 class="mb-4">
111128 <!-- Testimonials -->
112129 {{ with site.GetPage "sections/testimonial" }}
113130 {{ if .Params.enable }}
114- < section class ="section ">
131+ < section class ="section bg-gradient ">
115132 < div class ="container ">
116133 < div class ="row ">
117134 < div class ="md:col-10 lg:col-8 xl:col-6 mx-auto mb-12 text-center ">
0 commit comments