import { Component } from '@angular/core'; import { Platform } from '@ionic/angular'; import { SplashScreen } from '@capacitor/splash-screen'; import { StatusBar } from '@capacitor/status-bar'; @Component({ selector: 'app-root', template: ` الرئيسية الخدمات الإلكترونية حجز المواعيد المعاملات الدليل الإرشادي الأسئلة الشائعة اتصل بنا حول المنصة `, styles: [` .menu-content { --background: #ffffff; } .menu-header { background: linear-gradient(135deg, #006C35 0%, #009F4D 100%); padding: 30px 20px; color: white; text-align: center; } .logo-section { display: flex; flex-direction: column; align-items: center; } .logo-circle { width: 70px; height: 70px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; border: 2px solid rgba(255,255,255,0.3); } .logo-section h2 { margin: 0; font-size: 20px; font-weight: bold; font-family: 'Tajawal', sans-serif; } .logo-section p { margin: 5px 0 0; font-size: 14px; opacity: 0.9; font-family: 'Tajawal', sans-serif; } .menu-list { padding: 20px 0; } .menu-list ion-item { --padding-start: 20px; --padding-end: 20px; --min-height: 50px; font-family: 'Tajawal', sans-serif; margin: 5px 10px; border-radius: 10px; } .menu-list ion-item.selected { --background: rgba(0, 108, 53, 0.1); --color: #006C35; font-weight: bold; } .menu-list ion-icon { margin-left: 10px; } .menu-footer { padding: 20px; position: absolute; bottom: 0; width: 100%; } .login-btn { --background: #006C35; --background-hover: #005a2d; --border-radius: 10px; font-family: 'Tajawal', sans-serif; font-weight: bold; } `] }) export class AppComponent { constructor(private platform: Platform) { this.initializeApp(); } async initializeApp() { await this.platform.ready(); if (this.platform.is('hybrid')) { await StatusBar.setBackgroundColor({ color: '#006C35' }); await StatusBar.setStyle({ style: 'light' }); await SplashScreen.hide(); } } }