Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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("
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|