Skip to content

Commit

Permalink
Add voice livestream card (home-assistant#36278)
Browse files Browse the repository at this point in the history
* Add voice livestream thumbnail

* Undo replaced image

* Add livestream thumbnail

* Add voice chapter 8 livestream card

* Improved target="_blank" issue

* Added aria-label
  • Loading branch information
mrdarrengriffin authored Dec 10, 2024
1 parent 121f122 commit 45086b4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions source/_includes/custom/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,29 @@ <h1>{% icon "mdi:people-group-outline" %} Join The Community</h1>
<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 %}
Expand Down
Binary file added source/images/frontpage/feature-voice-c8.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 45086b4

Please sign in to comment.