gkdivya commited on
Commit
b4878d6
·
1 Parent(s): 7cd86dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -23
app.py CHANGED
@@ -10,27 +10,8 @@ st.sidebar.title("Navigation")
10
  st.sidebar.markdown("Select the feature you want to explore:")
11
 
12
  # Define navigation options with a flag to indicate if they are enabled or disabled
13
- nav_options = [
14
- ("Homepage", True),
15
- ("Influencer Search", True),
16
- ("Onboard Influencers", True),
17
- ("Campaign Analytics", False),
18
- ("Market Trends", False)
19
- ]
20
-
21
- # Create a list of enabled options for the radio button
22
- enabled_options = [option for option, is_enabled in nav_options if is_enabled]
23
-
24
- # Display radio buttons for enabled options
25
- selected_option = st.sidebar.radio("Go to", enabled_options)
26
-
27
- # Display disabled options as text
28
- for option, is_enabled in nav_options:
29
- if not is_enabled:
30
- st.sidebar.markdown(f"* ~~{option}~~ (coming soon)")
31
-
32
- # Get the selected option
33
- selection = display_navigation_options(nav_options)
34
 
35
  # Homepage
36
  if selection == "Homepage":
@@ -56,8 +37,8 @@ elif selection == "Onboard Influencers":
56
  influencer_onboarding.show_onboarding_page()
57
  elif selection == "Campaign Analytics":
58
  st.header("Campaign Analytics")
59
- st.write("View and analyze your campaign performance.")
60
  elif selection == "Market Trends":
61
  st.header("Market Trends")
62
- st.write("Explore the latest trends in influencer marketing.")
63
 
 
10
  st.sidebar.markdown("Select the feature you want to explore:")
11
 
12
  # Define navigation options with a flag to indicate if they are enabled or disabled
13
+ nav_options = ["Homepage", "Influencer Search", "Onboard Influencers", "Campaign Analytics", "Market Trends"]
14
+ selection = st.sidebar.radio("Go to", nav_options)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
  # Homepage
17
  if selection == "Homepage":
 
37
  influencer_onboarding.show_onboarding_page()
38
  elif selection == "Campaign Analytics":
39
  st.header("Campaign Analytics")
40
+ st.write("View and analyze your campaign performance - Coming Soon")
41
  elif selection == "Market Trends":
42
  st.header("Market Trends")
43
+ st.write("Explore the latest trends in influencer marketing - Coming Soon")
44