File size: 1,043 Bytes
eec5f94
 
89f5c28
 
 
 
 
 
eec5f94
 
9f693f3
 
89f5c28
eec5f94
9f693f3
5bd7142
 
9f693f3
 
89f5c28
9f693f3
89f5c28
9f693f3
 
 
 
 
ab11f85
5bd7142
89f5c28
5bd7142
89f5c28
5bd7142
89f5c28
5bd7142
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import streamlit as st

def show_landing_content():
    """
    Renders the landing page features with a hero and a 'Try the Demo' button
    that navigates to the Launch page.
    """
    # Hero copy
    st.markdown(
        """
        # 🚀 AutoExec AI  
        **Your Autonomous AI Business Builder**  
        Launch, manage, and optimize AI‑powered businesses with one click.
        """
    )

    # Feature columns
    col1, col2, col3 = st.columns(3)
    features = [
        ("🤖 LLM‑Powered", "Gemini Pro + GPT‑4 fallback"),
        ("🔄 LoopAgent", "Daily automatic optimizations"),
        ("📊 Dashboard", "Real‑time logs & analytics"),
    ]
    for col, (title, desc) in zip([col1, col2, col3], features):
        col.subheader(title)
        col.write(desc)

    st.markdown("---")

    # Callback to switch page to 'Launch'
    def go_to_launch():
        st.session_state.current_page = "Launch"

    # Button uses the callback before the next rerun
    st.button("👉 Try the Demo", on_click=go_to_launch)