Skip to content

Commit

Permalink
feat: welcome video (#1135)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianpoy authored Nov 17, 2023
2 parents 4340a73 + 16c9171 commit 9ad9e44
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,19 @@ <h1 *ngIf="!isSelfHost">{{ 'pages.welcome.title' | translate }}</h1>
</div>

<div class="screen">
<picture>
<img
*ngIf="!isIOS"
src="assets/stockphotos/my-recipes-cap-dec-22.jpg"
alt="{{ 'pages.welcome.appDemoImageAlt' | translate }}"
<video
width="100%"
controls
loop
preload="none"
muted
poster="https://static.recipesage.com/assets/{{ isIOS ? 'ios' : 'android' }}-autoimport-demo.png"
>
<source
src="https://static.recipesage.com/assets/{{ isIOS ? 'ios' : 'android' }}-autoimport-demo.mp4"
type="video/mp4"
/>
<img
*ngIf="isIOS"
class="ios"
src="assets/stockphotos/my-recipes-ios.jpg"
alt="{{ 'pages.welcome.appDemoImageAlt' | translate }}"
/>
</picture>
</video>
</div>

<div class="ion-padding welcomeContent">
Expand Down

0 comments on commit 9ad9e44

Please sign in to comment.