import React, { useEffect, useState } from 'react'; import type { ReactElement } from 'react'; import Head from 'next/head'; import Link from 'next/link'; import { useAppSelector } from '../stores/hooks'; import LayoutGuest from '../layouts/Guest'; import WebSiteHeader from '../components/WebPageComponents/Header'; import WebSiteFooter from '../components/WebPageComponents/Footer'; import { HeroDesigns, FeaturesDesigns, AboutUsDesigns, ContactFormDesigns, } from '../components/WebPageComponents/designs'; import HeroSection from '../components/WebPageComponents/HeroComponent'; import FeaturesSection from '../components/WebPageComponents/FeaturesComponent'; import AboutUsSection from '../components/WebPageComponents/AboutUsComponent'; import ContactFormSection from '../components/WebPageComponents/ContactFormComponent'; export default function WebSite() { const cardsStyle = useAppSelector((state) => state.style.cardsStyle); const bgColor = useAppSelector((state) => state.style.bgLayoutColor); const projectName = 'icabinet'; useEffect(() => { const darkElement = document.querySelector('body .dark'); if (darkElement) { darkElement.classList.remove('dark'); } }, []); const pages = [ { href: '/home', label: 'home', }, { href: '/services', label: 'services', }, { href: '/contact', label: 'contact', }, ]; const features_points = [ { name: 'User Management', description: 'Effortlessly manage user roles and permissions, ensuring secure access for super-admins, admins, doctors, and secretaries.', icon: 'mdiAccountGroup', }, { name: 'Patient Scheduling', description: 'Streamline appointment bookings with an intuitive interface, allowing easy scheduling, rescheduling, and cancellations.', icon: 'mdiCalendarCheck', }, { name: 'Real-time Messaging', description: 'Enhance communication with instant messaging between users, facilitating quick and effective collaboration.', icon: 'mdiMessageText', }, { name: 'Excel Integration', description: 'Seamlessly import and export patient data using Excel, ensuring data accuracy and easy record management.', icon: 'mdiFileExcel', }, { name: 'Waiting Room Management', description: 'Optimize patient flow with drag-and-drop status updates, improving the waiting room experience.', icon: 'mdiChairRolling', }, { name: 'Prescription Management', description: 'Simplify prescription creation and management, allowing doctors to quickly generate and print prescriptions.', icon: 'mdiPill', }, ]; return (