initial
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user