import streamlit as st from PIL import Image import base64 from pathlib import Path # Set page configuration st.set_page_config( page_title="Healthcare Team Portal", page_icon="🏥", layout="wide", initial_sidebar_state="collapsed" ) # Custom CSS st.markdown(""" """, unsafe_allow_html=True) # Header Section st.markdown("""

Our Healthcare Team

Dedicated to Innovation and Excellence in Healthcare

""", unsafe_allow_html=True) # Team Section Header st.markdown('

Leadership Team

', unsafe_allow_html=True) def display_team_member(name, title, specialization, img_path, mission, contact_info): col1, col2, col3 = st.columns([1, 2, 1]) with col2: # st.markdown('
', unsafe_allow_html=True) # Image handling with error management try: img = Image.open(img_path) st.image(img, width=200, use_column_width=True, output_format="PNG", caption="", clamp=True) except Exception as e: st.image("https://via.placeholder.com/200x250?text=Photo+Not+Found", width=200, use_column_width=True) st.markdown(f"""

{name}

{title}

🎯 Specialization: {specialization}

Mission:
{mission}

Connect:
{contact_info}

""", unsafe_allow_html=True) st.markdown('
', unsafe_allow_html=True) # Team member data team_members = [ { "name": "Rai Abhishek", "title": "Lead Developer & Technical Architect", "specialization": "Full-Stack Development & Healthcare Systems", "img_path": "E:/health/flask/team_details/abhishek.png", "mission": "Driving innovation in healthcare technology through cutting-edge solutions and seamless integration.", "contact_info": "📧 raiabhishek@gmail.com
🔗 LinkedIn Profile" }, { "name": "Shashi", "title": "Senior Project Manager", "specialization": "Healthcare Project Management & Strategy", "img_path": "E:/health/flask/team_details/shashi.png", "mission": "Ensuring successful delivery of healthcare solutions while maintaining highest quality standards.", "contact_info": "📧 s.shashi@example.com
🔗 LinkedIn Profile" }, { "name": "Revanth", "title": "Lead Data Scientist", "specialization": "Healthcare Analytics & Machine Learning", "img_path": "E:/health/flask/team_details/revanth.png", "mission": "Leveraging data science to transform healthcare outcomes and patient experiences.", "contact_info": "📧 revanth@example.com
🔗 LinkedIn Profile" }, { "name": "Rakesh", "title": "Senior UX/UI Designer", "specialization": "Healthcare Interface Design & User Research", "img_path": "E:/health/flask/team_details/rakesh.png", "mission": "Creating intuitive and accessible healthcare interfaces that enhance user experience.", "contact_info": "📧 rakesh@example.com
🔗 LinkedIn Profile" } ] # Display team members for member in team_members: display_team_member( member["name"], member["title"], member["specialization"], member["img_path"], member["mission"], member["contact_info"] )