Merge pull request #25138 from habibrosyad/gh-25124

Switch New York Times case study to use youtube shortcode
pull/25243/head
Kubernetes Prow Robot 2020-11-25 07:10:39 -08:00 committed by GitHub
commit a712d2b0de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 7 deletions

View File

@ -26,10 +26,9 @@ case_study_details:
<p>Speed of delivery increased. Some of the legacy VM-based deployments took 45 minutes; with Kubernetes, that time was "just a few seconds to a couple of minutes," says Engineering Manager Brian Balser. Adds Li: "Teams that used to deploy on weekly schedules or had to coordinate schedules with the infrastructure team now deploy their updates independently, and can do it daily when necessary." Adopting Cloud Native Computing Foundation technologies allows for a more unified approach to deployment across the engineering staff, and portability for the company.</p> <p>Speed of delivery increased. Some of the legacy VM-based deployments took 45 minutes; with Kubernetes, that time was "just a few seconds to a couple of minutes," says Engineering Manager Brian Balser. Adds Li: "Teams that used to deploy on weekly schedules or had to coordinate schedules with the infrastructure team now deploy their updates independently, and can do it daily when necessary." Adopting Cloud Native Computing Foundation technologies allows for a more unified approach to deployment across the engineering staff, and portability for the company.</p>
{{< case-studies/quote author="Deep Kapadia, Executive Director, Engineering at The New York Times">}} {{< case-studies/quote author="Deep Kapadia, Executive Director, Engineering at The New York Times" >}}
<iframe style="padding:1%:" width="380" height="215" src="https://www.youtube.com/embed/DqS_IPw-c6o" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> {{< youtube DqS_IPw-c6o youtube-quote-sm >}}
<iframe style="padding:1%:" width="380" height="215" src="https://www.youtube.com/embed/Tm4VfJtOHt8" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe> {{< youtube Tm4VfJtOHt8 youtube-quote-sm >}}
<br>
"I think once you get over the initial hump, things get a lot easier and actually a lot faster." "I think once you get over the initial hump, things get a lot easier and actually a lot faster."
{{< /case-studies/quote >}} {{< /case-studies/quote >}}

View File

@ -3,10 +3,10 @@
{{ else }} {{ else }}
<div class="quote banner"> <div class="quote banner">
{{ end }} {{ end }}
<p class="quote-text"> <div class="quote-text">
{{ .Inner }} {{ .Inner | markdownify }}
{{ if .Get "author" }} {{ if .Get "author" }}
<span class="quote-author">&mdash; {{ .Get "author" }}</span> <span class="quote-author">&mdash; {{ .Get "author" }}</span>
{{ end }} {{ end }}
</p> </div>
</div> </div>

View File

@ -126,6 +126,13 @@ h4[id]:before {
margin: 0 auto; margin: 0 auto;
} }
.content .quote-text p {
color: #fff;
font-size: 100%;
line-height: 1.4em;
margin-bottom: 0;
}
.quote-author { .quote-author {
display: block; display: block;
margin-top: 3em; margin-top: 3em;
@ -144,6 +151,18 @@ h4[id]:before {
letter-spacing: 0.03em; letter-spacing: 0.03em;
} }
.youtube-quote-sm {
display: inline-block;
width: 380px;
height: 215px;
}
.youtube-quote-sm iframe {
width: 100%;
height: 100%;
border: 0;
}
@media screen and (max-width: 910px) { @media screen and (max-width: 910px) {
h1 { h1 {
font-size: 32px; font-size: 32px;