Dzung Doan commited on
Commit Β·
fa61279
1
Parent(s): adb9bd1
update book series promotion
Browse files
app.py
CHANGED
|
@@ -223,43 +223,25 @@ st.markdown("""
|
|
| 223 |
st.markdown('<h1 class="main-title">π World Cup AI Assistant</h1>', unsafe_allow_html=True)
|
| 224 |
st.write(f"**Environment:** `{ENVIRONMENT}` \nAsk any question about World Cup history and get an AI-powered answer!")
|
| 225 |
|
| 226 |
-
# Book Series Section - Toward World Cup 2026 (
|
| 227 |
-
with
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
<style>
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
with col1:
|
| 246 |
-
st.markdown('<div style="background: #ffd700; color: #1e3c72; padding: 4px 8px; border-radius: 12px; font-size: 0.7em; font-weight: bold; text-align: center;">π NEW</div>', unsafe_allow_html=True)
|
| 247 |
-
with col2:
|
| 248 |
-
st.markdown('<h4 style="color: #495057; margin: 0; font-size: 1.1em; font-weight: 600;">Book Series: Toward World Cup 2026</h4>', unsafe_allow_html=True)
|
| 249 |
-
|
| 250 |
-
# Book description
|
| 251 |
-
st.markdown('<p style="color: #6c757d; margin: 10px 0; font-size: 0.9em; line-height: 1.4;"><strong>Book 1: Lamine Yamal</strong> - A Golden Boy Who Becomes a Record-Breaking Star: Lessons for Kids</p>', unsafe_allow_html=True)
|
| 252 |
-
|
| 253 |
-
# Buttons and teaser
|
| 254 |
-
col1, col2, col3 = st.columns([1, 1, 2])
|
| 255 |
-
with col1:
|
| 256 |
-
st.link_button("π Amazon", "https://www.amazon.com/Yamal-Golden-Becomes-Record-Breaking-Lessons/dp/B0DPCRK64H/ref=tmm_pap_swatch_0?_encoding=UTF8&dib_tag=se&dib=eyJ2IjoiMSJ9.oXOBH7gVGsbO-2qUWdAdBA.qtAKMcQoOdUgIdIDUHYywjKRDvtOJsZTgn5Pe6ds7bo&qid=1755559111&sr=8-1", use_container_width=True)
|
| 257 |
-
with col2:
|
| 258 |
-
st.link_button("π Blog", "https://dzungdoan.com/2025/08/18/toward-world-cup-2026-book-series-first-book-lamine-yamal/", use_container_width=True)
|
| 259 |
-
with col3:
|
| 260 |
-
st.markdown('<p style="color: #6c757d; font-size: 0.8em; font-style: italic; margin: 0; padding: 8px 0;">More books coming soon! π</p>', unsafe_allow_html=True)
|
| 261 |
-
|
| 262 |
-
st.markdown("</div>", unsafe_allow_html=True)
|
| 263 |
|
| 264 |
# Background music (always visible audio player)
|
| 265 |
try:
|
|
|
|
| 223 |
st.markdown('<h1 class="main-title">π World Cup AI Assistant</h1>', unsafe_allow_html=True)
|
| 224 |
st.write(f"**Environment:** `{ENVIRONMENT}` \nAsk any question about World Cup history and get an AI-powered answer!")
|
| 225 |
|
| 226 |
+
# Book Series Section - Toward World Cup 2026 (Clean Integration)
|
| 227 |
+
# Header with NEW badge and title
|
| 228 |
+
col1, col2 = st.columns([1, 4])
|
| 229 |
+
with col1:
|
| 230 |
+
st.markdown('<div style="background: #ffd700; color: #1e3c72; padding: 4px 8px; border-radius: 12px; font-size: 0.7em; font-weight: bold; text-align: center;">π NEW</div>', unsafe_allow_html=True)
|
| 231 |
+
with col2:
|
| 232 |
+
st.markdown('<h4 style="color: #495057; margin: 0; font-size: 1.1em; font-weight: 600;">Book Series: Toward World Cup 2026</h4>', unsafe_allow_html=True)
|
| 233 |
+
|
| 234 |
+
# Book description
|
| 235 |
+
st.markdown('<p style="color: #6c757d; margin: 10px 0; font-size: 0.9em; line-height: 1.4;"><strong>Book 1: Lamine Yamal</strong> - A Golden Boy Who Becomes a Record-Breaking Star: Lessons for Kids</p>', unsafe_allow_html=True)
|
| 236 |
+
|
| 237 |
+
# Buttons and teaser
|
| 238 |
+
col1, col2, col3 = st.columns([1, 1, 2])
|
| 239 |
+
with col1:
|
| 240 |
+
st.link_button("π Amazon", "https://www.amazon.com/Yamal-Golden-Becomes-Record-Breaking-Lessons/dp/B0DPCRK64H/ref=tmm_pap_swatch_0?_encoding=UTF8&dib_tag=se&dib=eyJ2IjoiMSJ9.oXOBH7gVGsbO-2qUWdAdBA.qtAKMcQoOdUgIdIDUHYywjKRDvtOJsZTgn5Pe6ds7bo&qid=1755559111&sr=8-1", use_container_width=True)
|
| 241 |
+
with col2:
|
| 242 |
+
st.link_button("π Blog", "https://dzungdoan.com/2025/08/18/toward-world-cup-2026-book-series-first-book-lamine-yamal/", use_container_width=True)
|
| 243 |
+
with col3:
|
| 244 |
+
st.markdown('<p style="color: #6c757d; font-size: 0.8em; font-style: italic; margin: 0; padding: 8px 0;">More books coming soon! π</p>', unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 245 |
|
| 246 |
# Background music (always visible audio player)
|
| 247 |
try:
|