File size: 758 Bytes
e19b30e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from landing import render_landing
from agent_manager import run_agents
from dashboard.logs import show_logs

st.set_page_config(page_title="AutoExec AI SaaS", layout="wide")

# Sidebar navigation
tab = st.sidebar.selectbox("Navigation", ["Home", "Launch", "Agent Logs", "Settings"])

if tab == "Home":
    render_landing()
elif tab == "Launch":
    niche = st.text_input("Niche (e.g. fitness, productivity)")
    biz_type = st.selectbox("Business Type", ["Dropshipping", "Print-on-Demand", "Newsletter", "Course"])
    if st.button("πŸš€ Launch Business"):
        results = run_agents(niche, biz_type)
        st.write(results)
elif tab == "Agent Logs":
    show_logs()
elif tab == "Settings":
    st.write("Settings placeholder (e.g., API keys, billing)")