import streamlit as st import base64 import os st.set_page_config( page_title="InsightLoop", page_icon="🔁", layout="wide", initial_sidebar_state="collapsed" ) # Set dark theme programmatically st.markdown( """ """, unsafe_allow_html=True ) # --- LOGO --- def get_logo_base64(logo_path): if not os.path.exists(logo_path): return None with open(logo_path, "rb") as img_file: b64 = base64.b64encode(img_file.read()).decode("utf-8") return b64 logo_path = "src/logo.png" logo_b64 = get_logo_base64(logo_path) if logo_b64: st.markdown( f"""
Logo
""", unsafe_allow_html=True ) else: st.markdown( """
InsightLoop
""", unsafe_allow_html=True ) # --- GLASSY INTRO BOX --- st.markdown("""
Stop guessing. Start knowing—every persona, every opinion, every launch.

InsightLoop isn’t just another dashboard. It’s your on-demand product research team—powered by AI, fueled by every kind of customer feedback.

🔀
Multimodal Magic
Bring your reviews, screenshots, or even audio rants—InsightLoop reads, listens, and sees to give you the whole customer picture. No more missing context, no more “one channel” blind spots.
🧬
Persona Discovery
Our AI auto-sorts your users into real-world groups—think loyalists, price hawks, fitness geeks, skeptics, and more. It finds them by their words, their tone, their buying patterns—even if you’ve never tagged or labeled a thing.
⚡
Instant, Actionable Insights
Get beautiful, interactive dashboards for every persona: see what excites them, what drives them nuts, and what’ll keep them coming back (or send them running). All charted, all explained—no stats degree needed.
🚀
Launch Simulation Superpower
Curious about a new product or feature? Instantly predict how each persona will react—with auto-generated marketing hooks and push notifications written for them, by AI. Turn “blind launch” into “bullseye launch.”

Fully automated. Zero spreadsheets.
Just drop your data, and let InsightLoop surface the real market signals you’ve been missing.


Why does this matter? Most brands guess. The best brands know. InsightLoop makes it effortless to know.
""", unsafe_allow_html=True) # --- GLOW BUTTON (Streamlit native for navigation) --- st.markdown(""" """, unsafe_allow_html=True) center = """
{content}
""" # Place this where you want your big button (centered and as wide as your boxes): st.markdown("""
💡 Let’s Start
""", unsafe_allow_html=True) # --- HEADS UP & DEMO BOXES (smaller) --- st.markdown("""

🤖 Heads up: InsightLoop is working hard behind the scenes!

Analyzing images and audio takes a few seconds—so just sit back, relax, and let the AI do the heavy lifting.
You’ll have deeper insights in less time than it takes to reheat your coffee. ☕🦾

🚀 Demo mode: This dashboard is running on real chocolate protein powder reviews—just to show what’s possible.
InsightLoop adapts to any product or dataset. When you’re ready, upload your own and watch the magic happen.
""", unsafe_allow_html=True)