import streamlit as st from streamlit_lottie import st_lottie import requests # Set page config st.set_page_config(page_title="AI Mentor", page_icon="πŸ€–", layout="wide") # Load Lottie animation def load_lottieurl(url: str): r = requests.get(url) if r.status_code != 200: return None return r.json() lottie_data_analysis = load_lottieurl("https://lottie.host/571aba1a-4b17-422d-a872-94bd6f4cfdcf/kQf4QzPvsF.json") # Custom Styling st.markdown(""" """, unsafe_allow_html=True) # Title & Animation st.markdown('
πŸ€– AI Mentor – Learn Smarter, Not Harder
', unsafe_allow_html=True) st_lottie(lottie_data_analysis, height=180, key="data_analysis") # Tabs tab1, tab2, tab3 = st.tabs(["🏠 Home", "🧠 Mentors", "πŸ“ž Contact"]) # Home Tab with tab1: st.markdown('
Welcome to AI Mentor
', unsafe_allow_html=True) st.markdown('
', unsafe_allow_html=True) st.write(""" AI Mentor is your all-in-one intelligent learning assistant. Whether you're writing Python code, building ML models, or querying databases, our expert mentors guide you step-by-step β€” anytime you need. """) st.markdown('
', unsafe_allow_html=True) with st.expander("πŸ“Œ About the Creator"): st.markdown('
', unsafe_allow_html=True) st.write(""" I'm a developer passionate about making tech education more accessible. I created AI Mentor to help learners master complex concepts with ease β€” powered by clarity, not confusion. """) st.markdown('
', unsafe_allow_html=True) # Mentors Tab with tab2: st.markdown('
Meet Your Mentors
', unsafe_allow_html=True) st.markdown('
', unsafe_allow_html=True) mentor_list = { "🐍 Python Mentor": "Learn clean code, logic building, and solve real-world problems.", "πŸ€– Machine Learning Mentor": "Understand core ML concepts, models, and workflows.", "🧠 Deep Learning Mentor": "Master CNNs, RNNs, and transformers for deep neural networks.", "πŸ“Š Data Analytics Mentor": "Explore, clean, visualize, and explain your data with confidence.", "πŸ“ Statistics Mentor": "Build strong intuition for distributions, hypothesis testing & probability.", "πŸ›’οΈ SQL & Power BI Mentor": "Query data smartly and build dashboards that deliver insight." } for title, desc in mentor_list.items(): st.markdown(f"**{title}** β€” {desc}") st.markdown('
', unsafe_allow_html=True) # Contact Tab with tab3: st.markdown('
Let’s Connect
', unsafe_allow_html=True) st.markdown('
', unsafe_allow_html=True) st.write("Feel free to reach out or explore my work!") col1, col2, col3 = st.columns(3) with col1: st.markdown( '' '', unsafe_allow_html=True, ) with col2: st.markdown( '' '', unsafe_allow_html=True, ) with col3: st.markdown( '' '', unsafe_allow_html=True, ) st.markdown('
', unsafe_allow_html=True)