InstaImpact / app.py
gkdivya's picture
Update app.py
b4878d6
raw
history blame
1.68 kB
import streamlit as st
import influencer_ui
import influencer_onboarding
# Page Configuration
st.set_page_config(page_title="InstaImpact", layout="wide")
# Sidebar for Navigation
st.sidebar.title("Navigation")
st.sidebar.markdown("Select the feature you want to explore:")
# Define navigation options with a flag to indicate if they are enabled or disabled
nav_options = ["Homepage", "Influencer Search", "Onboard Influencers", "Campaign Analytics", "Market Trends"]
selection = st.sidebar.radio("Go to", nav_options)
# Homepage
if selection == "Homepage":
st.title("Welcome to InstaImpact")
st.markdown("""
**InstaImpact is your comprehensive tool for influencer marketing.
- Discover and analyze influencers
- Plan and manage your campaigns
- Get insights on the latest market trends
""")
st.markdown("## Platform Capabilities")
st.markdown("""
- **Influencer Search**: Find the perfect influencer match for your brand.
- **Campaign Analytics**: Measure the success of your campaigns.
- **Market Trends**: Stay ahead with the latest in influencer marketing.
""")
# Influencer Search
elif selection == "Influencer Search":
influencer_ui.show_influencer_search_page()
# Add a navigation option for Onboarding
elif selection == "Onboard Influencers":
influencer_onboarding.show_onboarding_page()
elif selection == "Campaign Analytics":
st.header("Campaign Analytics")
st.write("View and analyze your campaign performance - Coming Soon")
elif selection == "Market Trends":
st.header("Market Trends")
st.write("Explore the latest trends in influencer marketing - Coming Soon")