Update modules/ui/ui.py
Browse files- modules/ui/ui.py +12 -10
modules/ui/ui.py
CHANGED
@@ -214,21 +214,23 @@ 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 |
-
st.image("assets/img/socialmedia/_MG_2790.jpg",
|
221 |
-
caption="MakerFaire CDMX 2024",
|
222 |
-
use_column_width=False)
|
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/
|
228 |
-
caption="MakerFaire CDMX
|
229 |
use_column_width=True)
|
230 |
with col2:
|
231 |
-
st.image("assets/img/socialmedia/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
caption="Evento X",
|
233 |
use_column_width=True)
|
234 |
|
|
|
214 |
|
215 |
# Tab de Galería
|
216 |
with tab_gallery:
|
217 |
+
# Contenedor con ancho máximo para controlar el espacio
|
218 |
with st.container():
|
219 |
+
# Primera fila
|
|
|
|
|
|
|
|
|
|
|
220 |
col1, col2 = st.columns(2)
|
221 |
with col1:
|
222 |
+
st.image("assets/img/socialmedia/_MG_2790.jpg",
|
223 |
+
caption="MakerFaire CDMX 2024",
|
224 |
use_column_width=True)
|
225 |
with col2:
|
226 |
+
st.image("assets/img/socialmedia/_MG_2587.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/_MG_2790.jpg",
|
234 |
caption="Evento X",
|
235 |
use_column_width=True)
|
236 |
|