mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
add devops video
This commit is contained in:
parent
4897582879
commit
464bb62c4a
|
|
@ -166,6 +166,15 @@ html {
|
|||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
iframe {
|
||||
margin-top: 40px;
|
||||
|
||||
@media only screen and (max-width: $mobile-max-width) {
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
margin-top: 56px;
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ section2:
|
|||
|
||||
section3:
|
||||
title: See KubeSphere One-stop DevOps Workflow In Action
|
||||
videoLink: https://www.youtube.com/embed/c3V-2RX9yGY
|
||||
image: /images/service-mesh/15.jpg
|
||||
content: Want to get started in action by following with the hands-on lab?
|
||||
btnContent: Start Hands-on Lab
|
||||
|
|
|
|||
|
|
@ -49,7 +49,19 @@
|
|||
<img class="bg-right" src="{{ .bgRight }}" alt="">
|
||||
<div class="common-layout">
|
||||
<h2 class="title-black-h2">{{ .title }}</h2>
|
||||
{{ if .videoLink }}
|
||||
<iframe
|
||||
id='iframe-player'
|
||||
src="{{ .videoLink }}"
|
||||
width="900"
|
||||
height="580"
|
||||
frameborder="0"
|
||||
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
|
||||
allowfullscreen>
|
||||
</iframe>
|
||||
{{ else }}
|
||||
<img src="{{ .image }}" alt="">
|
||||
{{ end }}
|
||||
<p class="common-p">{{ .content }}</p>
|
||||
<a href="{{ .link }}"><button class="common-btn">{{ .btnContent }}</button></a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue