import streamlit as st def main(): # Updated CSS for Contact page st.markdown(""" """, unsafe_allow_html=True) # Main Container st.markdown('
', unsafe_allow_html=True) # Header Section st.markdown("""

📋 TruthCheck - Advanced Fake News Detector

Reach out for inquiries, feedback, or support

""", unsafe_allow_html=True) # Get in Touch Section st.markdown("""

Get in Touch

Have questions or need assistance? Use the form below or our contact details to connect with us.

""", unsafe_allow_html=True) # Contact Layout st.markdown('
', unsafe_allow_html=True) # Contact Form Column st.markdown("""

Send a Message

""", unsafe_allow_html=True) # Contact Form with st.form(key="contact_form", clear_on_submit=True): col1, col2 = st.columns([1, 1]) with col1: name = st.text_input("Full Name", placeholder="Your full name") with col2: email = st.text_input("Email", placeholder="Your email address") subject = st.text_input("Subject", placeholder="What's your inquiry about?") message = st.text_area("Message", placeholder="Your message here...", height=100) submit_button = st.form_submit_button("Send Message") if submit_button: if name and email and subject and message: st.success("Thank you! Your message has been sent. We'll respond within 24 hours.") else: st.error("Please complete all fields before submitting.") st.markdown('
', unsafe_allow_html=True) # Map Container Column st.markdown("""

Our Location

""", unsafe_allow_html=True) st.markdown('
', unsafe_allow_html=True) # Close contact-layout # Contact Information Cards st.markdown("""
📧
Email
adnantariq966@gmail.com
khaqannasir01@gmail.com
📞
Phone
+92309-1111977
+92336-6569117
Mon-Fri 9AM-5PM
📍
Address
COMSATS University Islamabad
Sahiwal Campus
""", unsafe_allow_html=True) # Footer st.markdown("---") st.markdown( '

💻 Developed with ❤️ using Streamlit | © 2025

', unsafe_allow_html=True ) st.markdown('
', unsafe_allow_html=True) # Close main-container if __name__ == "__main__": main()