|
@@ -14,7 +14,7 @@ def more() -> None:
|
|
@text_demo('Eva icons', '''
|
|
@text_demo('Eva icons', '''
|
|
You can use [Eva icons](https://akveo.github.io/eva-icons/) in your app.
|
|
You can use [Eva icons](https://akveo.github.io/eva-icons/) in your app.
|
|
''')
|
|
''')
|
|
- async def eva_icons():
|
|
|
|
|
|
+ def eva_icons():
|
|
# ui.add_head_html('<link href="https://unpkg.com/eva-icons@1.1.3/style/eva-icons.css" rel="stylesheet">')
|
|
# ui.add_head_html('<link href="https://unpkg.com/eva-icons@1.1.3/style/eva-icons.css" rel="stylesheet">')
|
|
|
|
|
|
ui.element('i').classes('eva eva-github').classes('text-5xl')
|
|
ui.element('i').classes('eva eva-github').classes('text-5xl')
|
|
@@ -22,7 +22,7 @@ def more() -> None:
|
|
@text_demo('Lottie files', '''
|
|
@text_demo('Lottie files', '''
|
|
You can also use [Lottie files](https://lottiefiles.com/) with animations.
|
|
You can also use [Lottie files](https://lottiefiles.com/) with animations.
|
|
''')
|
|
''')
|
|
- async def lottie():
|
|
|
|
|
|
+ def lottie():
|
|
# ui.add_body_html('<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>')
|
|
# ui.add_body_html('<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>')
|
|
|
|
|
|
src = 'https://assets5.lottiefiles.com/packages/lf20_MKCnqtNQvg.json'
|
|
src = 'https://assets5.lottiefiles.com/packages/lf20_MKCnqtNQvg.json'
|