Spaces:
Running
Running
Update modules/ui/ui.py
Browse files- modules/ui/ui.py +10 -12
modules/ui/ui.py
CHANGED
|
@@ -214,24 +214,22 @@ def display_videos_and_info(lang_code, t):
|
|
| 214 |
|
| 215 |
# Tab de Galería
|
| 216 |
with tab_gallery:
|
| 217 |
-
# Contenedor con ancho máximo
|
| 218 |
with st.container():
|
| 219 |
-
# Primera fila
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 220 |
col1, col2 = st.columns(2)
|
| 221 |
with col1:
|
| 222 |
-
st.image("assets/img/socialmedia/
|
| 223 |
-
caption="MakerFaire CDMX 2024",
|
| 224 |
-
use_column_width=True)
|
| 225 |
-
with col2:
|
| 226 |
-
st.image("assets/img/socialmedia/_MG_2845.JPG",
|
| 227 |
caption="MakerFaire CDMX 2023",
|
| 228 |
use_column_width=True)
|
| 229 |
-
|
| 230 |
-
# Segunda fila
|
| 231 |
-
col3, col4 = st.columns(2)
|
| 232 |
-
with col3:
|
| 233 |
st.image("assets/img/socialmedia/Facebook_CoverPhoto-1_820x312.jpg",
|
| 234 |
-
caption="
|
| 235 |
use_column_width=True)
|
| 236 |
|
| 237 |
# Tab de Videos
|
|
|
|
| 214 |
|
| 215 |
# Tab de Galería
|
| 216 |
with tab_gallery:
|
| 217 |
+
# Contenedor con ancho máximo
|
| 218 |
with st.container():
|
| 219 |
+
# Primera fila con imagen grande
|
| 220 |
+
st.image("assets/img/socialmedia/_MG_2790.jpg",
|
| 221 |
+
caption="MakerFaire CDMX 2024",
|
| 222 |
+
use_column_width=True)
|
| 223 |
+
|
| 224 |
+
# Segunda fila con dos imágenes más pequeñas
|
| 225 |
col1, col2 = st.columns(2)
|
| 226 |
with col1:
|
| 227 |
+
st.image("assets/img/socialmedia/_MG_2845.JPG",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
caption="MakerFaire CDMX 2023",
|
| 229 |
use_column_width=True)
|
| 230 |
+
with col2:
|
|
|
|
|
|
|
|
|
|
| 231 |
st.image("assets/img/socialmedia/Facebook_CoverPhoto-1_820x312.jpg",
|
| 232 |
+
caption="Evento X",
|
| 233 |
use_column_width=True)
|
| 234 |
|
| 235 |
# Tab de Videos
|