This commit is contained in:
2024-01-04 09:02:44 +01:00
parent ed19c7c6cb
commit 689c71deb1
48 changed files with 1464 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
"""The home page of the app."""
from reflex_ipad import styles
from reflex_ipad.templates import template
import reflex as rx
@template(route="/", title="Home", image="/github.svg")
def index() -> rx.Component:
"""The home page.
Returns:
The UI for the home page.
"""
with open("README.md", encoding="utf-8") as readme:
content = readme.read()
return rx.markdown(content, component_map=styles.markdown_style)