mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Add voice livestream card (#36278)
* Add voice livestream thumbnail * Undo replaced image * Add livestream thumbnail * Add voice chapter 8 livestream card * Improved target="_blank" issue * Added aria-label
This commit is contained in:
parent
121f122c6b
commit
45086b4f48
@ -73,6 +73,29 @@
|
||||
<div class="grid__item one-third lap-one-half palm-one-whole">
|
||||
|
||||
<!-- All landing pages have a block. -->
|
||||
<a
|
||||
href="https://www.youtube.com/watch?v=ZgoaoTpIhm8&ab_channel=HomeAssistant"
|
||||
class="material-card picture-promo"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
aria-label="Don't miss our Voice: Chapter 8 live stream on YouTube"
|
||||
style="
|
||||
background-image: url(/images/frontpage/feature-voice-c8.jpg);
|
||||
background-size: cover;
|
||||
padding-top: 55%;
|
||||
"
|
||||
>
|
||||
<div class="caption">
|
||||
<div>
|
||||
<div class="title">
|
||||
Product launch incoming
|
||||
</div>
|
||||
<div class="subtitle">
|
||||
Join our Voice Chapter 8 live stream and see our new hardware ushering in the era of open voice.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
{% assign pages_by_date = site.pages | sort: "date" | reverse %} {% for
|
||||
page in pages_by_date %} {% if page.layout == "landingpage" and
|
||||
page.frontpage != false %}
|
||||
|
BIN
source/images/frontpage/feature-voice-c8.jpg
Normal file
BIN
source/images/frontpage/feature-voice-c8.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
Loading…
x
Reference in New Issue
Block a user