Em4e commited on
Commit
7c1fc85
·
verified ·
1 Parent(s): a16a63f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -158,7 +158,12 @@ class SeoAppUI:
158
  with col_ad2: st.metric("Ad Spend", value=f"${add_spend:,.2f}")
159
  with col_advice:
160
  if metrics["incremental_mrr"] > add_spend:
161
- st.markdown("<span style='color: green; font-weight: bold; font-size: 2em;'>SEO is a better investment!</span>", unsafe_allow_html=True)
 
 
 
 
 
162
  else:
163
  st.markdown("<span style='color: red; font-weight: bold;'>Ad Spend may yield higher returns.</span>", unsafe_allow_html=True)
164
 
 
158
  with col_ad2: st.metric("Ad Spend", value=f"${add_spend:,.2f}")
159
  with col_advice:
160
  if metrics["incremental_mrr"] > add_spend:
161
+ st.markdown("""
162
+ <div style="background-color: #f0fff0; padding: 20px; border-radius: 12px; text-align: center; box-shadow: 0 0 8px rgba(0,0,0,0.05);">
163
+ <p style="margin: 0; font-size: 1.2em; font-weight: bold; color: #333;">Advice</p>
164
+ <p style="margin: 10px 0 0 0; color: green; font-size: 2em; font-weight: bold;">SEO is a better investment!</p>
165
+ </div>
166
+ """, unsafe_allow_html=True)
167
  else:
168
  st.markdown("<span style='color: red; font-weight: bold;'>Ad Spend may yield higher returns.</span>", unsafe_allow_html=True)
169