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)