import streamlit as st # Set page configuration st.set_page_config(page_title="Innomatics Online Trainer Bot", layout="centered") # Custom CSS styling st.markdown(""" """, unsafe_allow_html=True) # Header content st.title("🤖 Innomatics Online Trainer Bot") st.markdown("### 👋 Welcome to your personalized learning companion!") st.markdown("This smart assistant helps you navigate your doubts in Data Science and related fields.") st.markdown("## 📚 Choose a module where you need help:") # Grid of subject buttons subjects = [ ("Python", "pages/python.py"), ("Machine Learning", "pages/machine_learning.py"), ("Deep Learning", "pages/deep_learning.py"), ("Statistics", "pages/statistics.py"), ("GenAI", "pages/gen_ai.py"), ("SQL", "pages/sql.py") ] # Render buttons in a grid (3 per row) for i in range(0, len(subjects), 2): cols = st.columns(2) for j in range(2): if i + j < len(subjects): with cols[j]: if st.button(subjects[i + j][0]): st.switch_page(subjects[i + j][1]) # Footer note st.markdown("---") st.markdown("🧠 *Empowering your journey through every concept, one question at a time.*")