Skip to content

Commit 4ba449d

Browse files
committed
Switch New York Times case study to use youtube shortcode
1 parent 1e38b53 commit 4ba449d

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

content/en/case-studies/newyorktimes/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ <h2>Impact</h2>
2626

2727
<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>
2828

29-
{{< case-studies/quote author="Deep Kapadia, Executive Director, Engineering at The New York Times">}}
30-
<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>
31-
<iframe style="padding:1%:" width="380" height="215" src="https://www.youtube.com/embed/Tm4VfJtOHt8" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
32-
<br>
29+
{{< case-studies/quote author="Deep Kapadia, Executive Director, Engineering at The New York Times" >}}
30+
{{< youtube DqS_IPw-c6o youtube-quote-sm >}}
31+
{{< youtube Tm4VfJtOHt8 youtube-quote-sm >}}
3332
"I think once you get over the initial hump, things get a lot easier and actually a lot faster."
3433
{{< /case-studies/quote >}}
3534

layouts/shortcodes/case-studies/quote.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
{{ else }}
44
<div class="quote banner">
55
{{ end }}
6-
<p class="quote-text">
7-
{{ .Inner }}
6+
<div class="quote-text">
7+
{{ .Inner | markdownify }}
88
{{ if .Get "author" }}
99
<span class="quote-author">&mdash; {{ .Get "author" }}</span>
1010
{{ end }}
11-
</p>
11+
</div>
1212
</div>

static/css/new-case-studies.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,13 @@ h4[id]:before {
126126
margin: 0 auto;
127127
}
128128

129+
.content .quote-text p {
130+
color: #fff;
131+
font-size: 100%;
132+
line-height: 1.4em;
133+
margin-bottom: 0;
134+
}
135+
129136
.quote-author {
130137
display: block;
131138
margin-top: 3em;
@@ -144,6 +151,18 @@ h4[id]:before {
144151
letter-spacing: 0.03em;
145152
}
146153

154+
.youtube-quote-sm {
155+
display: inline-block;
156+
width: 380px;
157+
height: 215px;
158+
}
159+
160+
.youtube-quote-sm iframe {
161+
width: 100%;
162+
height: 100%;
163+
border: 0;
164+
}
165+
147166
@media screen and (max-width: 910px) {
148167
h1 {
149168
font-size: 32px;

0 commit comments

Comments
 (0)