mgbam commited on
Commit
89f5c28
Β·
verified Β·
1 Parent(s): 156893b

Update landing.py

Browse files
Files changed (1) hide show
  1. landing.py +12 -7
landing.py CHANGED
@@ -1,20 +1,25 @@
1
  import streamlit as st
2
 
3
- def show_landing():
 
 
 
 
 
4
  st.markdown(
5
  """
6
  # πŸš€ AutoExec AI
7
  **Your Autonomous AI Business Builder**
8
- Launch, manage, and optimize digital businesses at the click of a button.
9
  """
10
  )
11
 
12
  # Feature columns
13
  col1, col2, col3 = st.columns(3)
14
  features = [
15
- ("πŸ€– LLM-Powered", "Gemini Pro + GPT-4 fallback"),
16
  ("πŸ”„ LoopAgent", "Daily automatic optimizations"),
17
- ("πŸ“Š Dashboard", "Real-time logs & analytics"),
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.page = "Launch"
28
 
29
- # Button uses the callback before rerunning
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)