Skip to content

Commit e28c92b

Browse files
committed
New image for home page
1 parent 210af69 commit e28c92b

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

src/_langs/en/index.html

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
border-top: 2px solid #e0e0e0;
1818
}
1919

20+
#heroImage {
21+
max-height: 350px;
22+
margin-left: auto;
23+
margin-right: auto;
24+
}
25+
2026
</style>
2127
<meta itemprop="url" content="https://developers.google.com/web/fundamentals"/>
2228
<form id="potentialAction" itemprop="potentialAction" itemscope itemtype="http://schema.org/SearchAction">
@@ -27,7 +33,11 @@
2733

2834

2935
<div class="container clear">
30-
<img src="/web/imgs/placeholder--device-landscape.png" style="max-height: 350px; margin-left: auto; margin-right: auto;">
36+
<picture>
37+
<source media="(max-width:399px)" srcset="/web/imgs/dgc-web-n1x.jpg, /web/imgs/dgc-web-w1x.jpg 2x">
38+
<source media="(min-width:400px)" srcset="/web/imgs/dgc-web-w1x.jpg, /web/imgs/dgc-web-w2x.jpg 2x">
39+
<img src="/web/imgs/dgc-web-w1x.jpg" id="heroImage">
40+
</picture>
3141
</div>
3242

3343
<div class="container related-items clear" style="margin-top: 2em;">

src/imgs/dgc-web-n1x.jpg

15.5 KB
Loading

src/imgs/dgc-web-w1x.jpg

39 KB
Loading

src/imgs/dgc-web-w2x.jpg

113 KB
Loading

0 commit comments

Comments
 (0)