import streamlit as st def apply_dashboard_style(): """Apply common glassmorphic styling for all dashboards (AI Writers, SEO Tools, Social Media).""" st.markdown(""" """, unsafe_allow_html=True) def render_dashboard_header(title, description): """Render a standardized dashboard header.""" st.markdown(f"""

{title}

{description}

""", unsafe_allow_html=True) def render_category_header(category_name): """Render a standardized category header.""" st.markdown(f"""

{category_name}

""", unsafe_allow_html=True) def render_card(icon, title, description, category, key_suffix="", help_text=""): """Render a standardized premium card with button.""" st.markdown(f"""
{icon}
{title}
{description}
""", unsafe_allow_html=True) # Return button for functionality return st.button( f"Select {title}", key=f"card_{key_suffix}", help=help_text or f"Launch {title} - {description}", use_container_width=True )