update demo-dictionary-app,

This commit is contained in:
louiscklaw
2025-06-04 18:04:47 +08:00
parent d76d43d17f
commit 9caca30e1e
30 changed files with 799 additions and 425 deletions

View File

@@ -0,0 +1,22 @@
import { IonCol, IonLabel, IonRow } from '@ionic/react';
export const NoFavourites = () => (
<IonRow className="ion-text-center ion-justify-content-center ion-margin-top ion-padding-top">
<IonCol size="10" className="ion-padding-top ion-margin-top">
<IonLabel className="ion-padding-top ion-margin-top">
<h2>You don't have any favourites yet!</h2>
<p>
Any time you see the heart icon, press it to add the related word to your favourites and
quickly access it from here.
</p>
<lottie-player
src="https://assets9.lottiefiles.com/packages/lf20_LK2KVy.json"
background="transparent"
speed="1"
loop
autoplay
></lottie-player>
</IonLabel>
</IonCol>
</IonRow>
);