Update modules/ui/ui.py
Browse files- modules/ui/ui.py +11 -11
modules/ui/ui.py
CHANGED
@@ -213,6 +213,16 @@ def display_videos_and_info(lang_code, t):
|
|
213 |
])
|
214 |
|
215 |
# Tab de Videos
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
with tab_videos:
|
217 |
videos = {
|
218 |
"Reel AIdeaText": "https://youtu.be/UA-md1VxaRc",
|
@@ -230,17 +240,7 @@ def display_videos_and_info(lang_code, t):
|
|
230 |
st_player(videos[selected_title])
|
231 |
except Exception as e:
|
232 |
st.error(f"Error al cargar el video: {str(e)}")
|
233 |
-
|
234 |
-
# Tab de Galería
|
235 |
-
with tab_gallery:
|
236 |
-
col1, col2 = st.columns(2)
|
237 |
-
with col1:
|
238 |
-
st.image("assets/img/socialmedia/_MG_2790.jpg", caption="MakerFaire CDMX 2024", use_column_width=True)
|
239 |
-
st.image("assets/img/socialmedia/_MG_2587.jpg", caption="MakerFaire CDMX 2024", use_column_width=True)
|
240 |
-
with col2:
|
241 |
-
st.image("assets/img/socialmedia/_MG_2790.jpg", caption="MakerFaire CDMX 2023", use_column_width=True)
|
242 |
-
st.image("assets/img/socialmedia/_MG_2587.jpg", caption="MakerFaire CDMX 2023", use_column_width=True)
|
243 |
-
|
244 |
# Tab de Eventos
|
245 |
with tab_events:
|
246 |
st.markdown("""
|
|
|
213 |
])
|
214 |
|
215 |
# Tab de Videos
|
216 |
+
# Tab de Galería
|
217 |
+
with tab_gallery:
|
218 |
+
col1, col2 = st.columns(2)
|
219 |
+
with col1:
|
220 |
+
st.image("assets/img/socialmedia/_MG_2790.jpg", caption="MakerFaire CDMX 2024", use_column_width=True)
|
221 |
+
st.image("assets/img/socialmedia/_MG_2587.jpg", caption="MakerFaire CDMX 2024", use_column_width=True)
|
222 |
+
with col2:
|
223 |
+
st.image("assets/img/socialmedia/_MG_2790.jpg", caption="MakerFaire CDMX 2023", use_column_width=True)
|
224 |
+
st.image("assets/img/socialmedia/_MG_2587.jpg", caption="MakerFaire CDMX 2023", use_column_width=True)
|
225 |
+
|
226 |
with tab_videos:
|
227 |
videos = {
|
228 |
"Reel AIdeaText": "https://youtu.be/UA-md1VxaRc",
|
|
|
240 |
st_player(videos[selected_title])
|
241 |
except Exception as e:
|
242 |
st.error(f"Error al cargar el video: {str(e)}")
|
243 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
# Tab de Eventos
|
245 |
with tab_events:
|
246 |
st.markdown("""
|