đī¸ Hulhumale Direct
Real-time rooms in Male', Hulhumale & Villingili
import gradio as gr import pandas as pd from datetime import datetime # --- CUSTOM CSS FOR SOOTHING UI --- custom_css = """ .gradio-container { background-color: #f0f7f9 !important; font-family: 'Inter', sans-serif !important; } .main-header { text-align: center; color: #0077b6; margin-bottom: 20px; } .promo-card { background: linear-gradient(135deg, #00b4d8, #0077b6); color: white; padding: 20px; border-radius: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); margin-bottom: 20px; text-align: center; } .hotel-card { border-radius: 12px !important; border: 1px solid #e0e0e0 !important; background: white !important; transition: all 0.3s ease; } .hotel-card:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); } footer {display: none !important;} """ # --- DATA --- data = { "đ¨ Hotel Name": ["Coral Reef View", "Male Grand Stay", "Villi Blue Inn"], "đ Location": ["Hulhumale Phase 1", "Male' City", "Villingili"], "đ° Price/Night": ["850 MVR", "1,100 MVR", "650 MVR"], "â Status": ["Available", "Available", "Occupied"], "đ Direct Contact": ["+960 7771234", "+960 7785678", "+960 7799101"] } df = pd.DataFrame(data) # --- FUNCTIONS --- def send_deal(hotel, msg): if not msg: return gr.update(visible=False), "" time_now = datetime.now().strftime("%H:%M") alert_html = f"""
đĨ FLASH DEAL from {hotel}
"{msg}"
Posted at {time_now} âĸ Valid for tonight only
Real-time rooms in Male', Hulhumale & Villingili
Reliable Local App Concept Š 2024