import streamlit as st from frontend.app import common_functions WELCOME_TEXT = "Welcome to the Yuvabe Care Companion AI!" # Page Configuration common_functions.config_homepage() common_functions.set_bg_image("src/frontend/images/health_care_baner.png") common_functions.custom_navbar() st.divider() def render_homepage(): """ Renders the Yuvabe Care Companion AI homepage with improved visuals and enhanced user experience. Features: - Displays a warm welcome message with animated text. - Highlights key features using clean and modern UI design. - Encourages user engagement with a prominent 'Get Started' call-to-action. Visual Enhancements: - Consistent color theme with improved contrast for readability. - Box shadows and rounded corners for a modern touch. - Organized content using bullet points, ensuring clarity and focus. """ # Welcome Text with Animation common_functions.typewriter_effect(WELCOME_TEXT, speed=0.02, gradient=True) # Key Features Section st.markdown( """

Key Features

💡 Explore each section to unlock powerful features tailored to enhance your experience.

""", unsafe_allow_html=True ) # Call-to-Action Section st.markdown( """
🌿 Ready to Get Started? Begin Your Journey Now! 🚀
""", unsafe_allow_html=True ) if __name__ == "__main__": render_homepage()