Update landing.py
Browse files- landing.py +12 -7
landing.py
CHANGED
|
@@ -1,20 +1,25 @@
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
-
def
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
st.markdown(
|
| 5 |
"""
|
| 6 |
# π AutoExec AI
|
| 7 |
**Your Autonomous AI Business Builder**
|
| 8 |
-
Launch, manage, and optimize
|
| 9 |
"""
|
| 10 |
)
|
| 11 |
|
| 12 |
# Feature columns
|
| 13 |
col1, col2, col3 = st.columns(3)
|
| 14 |
features = [
|
| 15 |
-
("π€ LLM
|
| 16 |
("π LoopAgent", "Daily automatic optimizations"),
|
| 17 |
-
("π Dashboard", "Real
|
| 18 |
]
|
| 19 |
for col, (title, desc) in zip([col1, col2, col3], features):
|
| 20 |
col.subheader(title)
|
|
@@ -22,9 +27,9 @@ def show_landing():
|
|
| 22 |
|
| 23 |
st.markdown("---")
|
| 24 |
|
| 25 |
-
# Callback to switch page
|
| 26 |
def go_to_launch():
|
| 27 |
-
st.session_state.
|
| 28 |
|
| 29 |
-
# Button uses the callback before
|
| 30 |
st.button("π Try the Demo", on_click=go_to_launch)
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
|
| 3 |
+
def show_landing_content():
|
| 4 |
+
"""
|
| 5 |
+
Renders the landing page features with a hero and a 'Try the Demo' button
|
| 6 |
+
that navigates to the Launch page.
|
| 7 |
+
"""
|
| 8 |
+
# Hero copy
|
| 9 |
st.markdown(
|
| 10 |
"""
|
| 11 |
# π AutoExec AI
|
| 12 |
**Your Autonomous AI Business Builder**
|
| 13 |
+
Launch, manage, and optimize AIβpowered businesses with one click.
|
| 14 |
"""
|
| 15 |
)
|
| 16 |
|
| 17 |
# Feature columns
|
| 18 |
col1, col2, col3 = st.columns(3)
|
| 19 |
features = [
|
| 20 |
+
("π€ LLMβPowered", "Gemini Pro + GPTβ4 fallback"),
|
| 21 |
("π LoopAgent", "Daily automatic optimizations"),
|
| 22 |
+
("π Dashboard", "Realβtime logs & analytics"),
|
| 23 |
]
|
| 24 |
for col, (title, desc) in zip([col1, col2, col3], features):
|
| 25 |
col.subheader(title)
|
|
|
|
| 27 |
|
| 28 |
st.markdown("---")
|
| 29 |
|
| 30 |
+
# Callback to switch page to 'Launch'
|
| 31 |
def go_to_launch():
|
| 32 |
+
st.session_state.current_page = "Launch"
|
| 33 |
|
| 34 |
+
# Button uses the callback before the next rerun
|
| 35 |
st.button("π Try the Demo", on_click=go_to_launch)
|