mui / index.html
mtrakretech's picture
clone clone this https://dtqa.univsul.edu.iq/ with all its pages but add RTl support for lang arabi and kurdish - Initial Deployment
df42a7c verified
Raw History Blame Contribute Delete
31.9 kB
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>جامعة السليمانية | University of Sulaimani</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');
body {
font-family: 'Noto Naskh Arabic', serif;
background-color: #f5f7fa;
}
.rtl-support {
direction: rtl;
text-align: right;
}
.navbar {
background: linear-gradient(90deg, #1a3a6c 0%, #2c5282 100%);
}
.hero-section {
background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80');
background-size: cover;
background-position: center;
}
.news-card {
transition: transform 0.3s ease;
}
.news-card:hover {
transform: translateY(-5px);
}
.faculty-card {
border-left: 4px solid #2c5282;
}
.language-switcher .active {
background-color: #2c5282;
color: white;
}
.footer {
background: linear-gradient(90deg, #1a3a6c 0%, #2c5282 100%);
}
.quick-link {
transition: all 0.3s ease;
}
.quick-link:hover {
background-color: #2c5282;
color: white;
transform: translateX(-5px);
}
.stat-card {
background: linear-gradient(135deg, #1a3a6c 0%, #2c5282 100%);
}
.rtl-table th, .rtl-table td {
text-align: right;
}
</style>
</head>
<body class="rtl-support">
<!-- Top Bar -->
<div class="bg-gray-800 text-white py-2">
<div class="container mx-auto px-4 flex justify-between items-center">
<div class="flex space-x-4">
<a href="#" class="hover:text-blue-300"><i class="fas fa-phone-alt mr-2"></i> 0770 123 4567</a>
<a href="#" class="hover:text-blue-300"><i class="fas fa-envelope mr-2"></i> info@univsul.edu.iq</a>
</div>
<div class="flex items-center space-x-3">
<div class="language-switcher flex border border-gray-600 rounded overflow-hidden">
<button class="px-3 py-1 active">العربية</button>
<button class="px-3 py-1 bg-gray-700 hover:bg-gray-600">کوردی</button>
<button class="px-3 py-1 bg-gray-700 hover:bg-gray-600">English</button>
</div>
<div class="flex space-x-2">
<a href="#" class="w-8 h-8 flex items-center justify-center bg-blue-600 rounded-full hover:bg-blue-500">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="w-8 h-8 flex items-center justify-center bg-blue-400 rounded-full hover:bg-blue-300">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="w-8 h-8 flex items-center justify-center bg-red-600 rounded-full hover:bg-red-500">
<i class="fab fa-youtube"></i>
</a>
</div>
</div>
</div>
</div>
<!-- Navigation -->
<nav class="navbar py-4 shadow-md">
<div class="container mx-auto px-4 flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center mb-4 md:mb-0">
<img src="https://via.placeholder.com/60" alt="University Logo" class="h-16 w-16 mr-3">
<div>
<h1 class="text-white text-xl font-bold">جامعة السليمانية</h1>
<p class="text-blue-200 text-sm">University of Sulaimani</p>
</div>
</div>
<ul class="flex flex-wrap justify-center space-x-1 md:space-x-4">
<li><a href="#" class="text-white px-4 py-2 rounded hover:bg-blue-700 transition">الرئيسية</a></li>
<li><a href="#" class="text-white px-4 py-2 rounded hover:bg-blue-700 transition">عن الجامعة</a></li>
<li><a href="#" class="text-white px-4 py-2 rounded hover:bg-blue-700 transition">الكليات</a></li>
<li><a href="#" class="text-white px-4 py-2 rounded hover:bg-blue-700 transition">الدراسات العليا</a></li>
<li><a href="#" class="text-white px-4 py-2 rounded hover:bg-blue-700 transition">البحث العلمي</a></li>
<li><a href="#" class="text-white px-4 py-2 rounded hover:bg-blue-700 transition">الخدمات الإلكترونية</a></li>
<li><a href="#" class="text-white px-4 py-2 rounded hover:bg-blue-700 transition">اتصل بنا</a></li>
</ul>
<div class="mt-4 md:mt-0">
<button class="bg-yellow-500 hover:bg-yellow-600 text-gray-900 font-bold py-2 px-6 rounded-full flex items-center">
<i class="fas fa-user-graduate mr-2"></i> بوابة الطالب
</button>
</div>
</div>
</nav>
<!-- Hero Section -->
<div class="hero-section py-20 text-white">
<div class="container mx-auto px-4 text-center">
<h1 class="text-4xl md:text-5xl font-bold mb-4">مرحباً بكم في جامعة السليمانية</h1>
<p class="text-xl mb-8 max-w-3xl mx-auto">جامعة رائدة في التعليم العالي والبحث العلمي في إقليم كوردستان العراق</p>
<div class="flex flex-wrap justify-center gap-4">
<button class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded-full text-lg">
التقديم للقبول
</button>
<button class="bg-transparent border-2 border-white hover:bg-white hover:text-blue-900 text-white font-bold py-3 px-6 rounded-full text-lg">
الجولة الافتراضية
</button>
</div>
</div>
</div>
<!-- Quick Links -->
<div class="bg-white py-8 shadow-sm">
<div class="container mx-auto px-4">
<div class="grid grid-cols-2 md:grid-cols-4 lg:grid-cols-6 gap-4">
<a href="#" class="quick-link bg-gray-100 p-4 rounded-lg flex items-center">
<i class="fas fa-book-open text-blue-600 text-2xl ml-3"></i>
<span>المناهج الدراسية</span>
</a>
<a href="#" class="quick-link bg-gray-100 p-4 rounded-lg flex items-center">
<i class="fas fa-calendar-alt text-blue-600 text-2xl ml-3"></i>
<span>الجدول الأكاديمي</span>
</a>
<a href="#" class="quick-link bg-gray-100 p-4 rounded-lg flex items-center">
<i class="fas fa-graduation-cap text-blue-600 text-2xl ml-3"></i>
<span>نتائج الامتحانات</span>
</a>
<a href="#" class="quick-link bg-gray-100 p-4 rounded-lg flex items-center">
<i class="fas fa-building text-blue-600 text-2xl ml-3"></i>
<span>دليل الكليات</span>
</a>
<a href="#" class="quick-link bg-gray-100 p-4 rounded-lg flex items-center">
<i class="fas fa-users text-blue-600 text-2xl ml-3"></i>
<span>الهيئة التدريسية</span>
</a>
<a href="#" class="quick-link bg-gray-100 p-4 rounded-lg flex items-center">
<i class="fas fa-bullhorn text-blue-600 text-2xl ml-3"></i>
<span>الإعلانات</span>
</a>
</div>
</div>
</div>
<!-- Main Content -->
<div class="container mx-auto px-4 py-12">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- News Section -->
<div class="lg:col-span-2">
<h2 class="text-2xl font-bold text-gray-800 mb-6 pb-2 border-b-2 border-blue-600">أحدث الأخبار</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://images.unsplash.com/photo-1523580494863-6f3031224c94?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="News" class="w-full h-48 object-cover">
<div class="p-4">
<span class="text-blue-600 text-sm">10 سبتمبر 2023</span>
<h3 class="font-bold text-lg my-2">افتتاح مركز جديد للبحوث العلمية في مجال التكنولوجيا الحيوية</h3>
<p class="text-gray-600">تم اليوم افتتاح مركز متطور للبحوث العلمية في مجال التكنولوجيا الحيوية بتمويل من وزارة التعليم العالي والبحث العلمي.</p>
<a href="#" class="text-blue-600 font-medium mt-3 inline-block">قراءة المزيد <i class="fas fa-arrow-left ml-1"></i></a>
</div>
</div>
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://images.unsplash.com/photo-1541339907198-e08756dedf3f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="News" class="w-full h-48 object-cover">
<div class="p-4">
<span class="text-blue-600 text-sm">5 سبتمبر 2023</span>
<h3 class="font-bold text-lg my-2">جامعة السليمانية تحتل المرتبة الثانية على مستوى العراق في تصنيف التايمز</h3>
<p class="text-gray-600">حصلت جامعة السليمانية على المرتبة الثانية في تصنيف التايمز للجامعات العالمية للعام 2023.</p>
<a href="#" class="text-blue-600 font-medium mt-3 inline-block">قراءة المزيد <i class="fas fa-arrow-left ml-1"></i></a>
</div>
</div>
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="News" class="w-full h-48 object-cover">
<div class="p-4">
<span class="text-blue-600 text-sm">1 سبتمبر 2023</span>
<h3 class="font-bold text-lg my-2">بدء التسجيل للفصل الدراسي الأول للعام الأكاديمي 2023-2024</h3>
<p class="text-gray-600">تعلن الجامعة عن بدء التسجيل للفصل الدراسي الأول للعام الأكاديمي 2023-2024 لطلبة الدراسات الأولية والعليا.</p>
<a href="#" class="text-blue-600 font-medium mt-3 inline-block">قراءة المزيد <i class="fas fa-arrow-left ml-1"></i></a>
</div>
</div>
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://images.unsplash.com/photo-1562774053-701939374585?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80" alt="News" class="w-full h-48 object-cover">
<div class="p-4">
<span class="text-blue-600 text-sm">28 أغسطس 2023</span>
<h3 class="font-bold text-lg my-2">ورشة عمل حول تطوير المناهج الدراسية وفق المعايير العالمية</h3>
<p class="text-gray-600">ينظم مركز التطوير الأكاديمي ورشة عمل حول تطوير المناهج الدراسية وفق المعايير العالمية بمشاركة خبراء دوليين.</p>
<a href="#" class="text-blue-600 font-medium mt-3 inline-block">قراءة المزيد <i class="fas fa-arrow-left ml-1"></i></a>
</div>
</div>
</div>
<div class="text-center mt-8">
<a href="#" class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-8 rounded-full inline-flex items-center">
المزيد من الأخبار <i class="fas fa-arrow-left ml-2"></i>
</a>
</div>
</div>
<!-- Sidebar -->
<div>
<!-- Stats -->
<div class="bg-white rounded-lg shadow-md p-6 mb-8">
<h3 class="text-xl font-bold text-gray-800 mb-4 pb-2 border-b-2 border-blue-600">إحصائيات الجامعة</h3>
<div class="space-y-4">
<div class="stat-card text-white rounded-lg p-4">
<div class="flex justify-between items-center">
<div>
<p class="text-sm">الطلبة</p>
<p class="text-2xl font-bold">25,000+</p>
</div>
<i class="fas fa-user-graduate text-3xl"></i>
</div>
</div>
<div class="stat-card text-white rounded-lg p-4">
<div class="flex justify-between items-center">
<div>
<p class="text-sm">الهيئة التدريسية</p>
<p class="text-2xl font-bold">1,200+</p>
</div>
<i class="fas fa-chalkboard-teacher text-3xl"></i>
</div>
</div>
<div class="stat-card text-white rounded-lg p-4">
<div class="flex justify-between items-center">
<div>
<p class="text-sm">البرامج الدراسية</p>
<p class="text-2xl font-bold">85+</p>
</div>
<i class="fas fa-book text-3xl"></i>
</div>
</div>
<div class="stat-card text-white rounded-lg p-4">
<div class="flex justify-between items-center">
<div>
<p class="text-sm">الكليات</p>
<p class="text-2xl font-bold">16</p>
</div>
<i class="fas fa-building text-3xl"></i>
</div>
</div>
</div>
</div>
<!-- Events -->
<div class="bg-white rounded-lg shadow-md p-6 mb-8">
<h3 class="text-xl font-bold text-gray-800 mb-4 pb-2 border-b-2 border-blue-600">الفعاليات القادمة</h3>
<div class="space-y-4">
<div class="border-l-4 border-blue-600 pl-4 py-2">
<p class="text-blue-600 font-medium">12 سبتمبر 2023</p>
<p class="font-medium">المؤتمر الدولي للهندسة والتكنولوجيا</p>
</div>
<div class="border-l-4 border-green-600 pl-4 py-2">
<p class="text-green-600 font-medium">18 سبتمبر 2023</p>
<p class="font-medium">معرض التوظيف السنوي</p>
</div>
<div class="border-l-4 border-yellow-600 pl-4 py-2">
<p class="text-yellow-600 font-medium">25 سبتمبر 2023</p>
<p class="font-medium">يوم التراث الكوردي</p>
</div>
<div class="border-l-4 border-red-600 pl-4 py-2">
<p class="text-red-600 font-medium">3 أكتوبر 2023</p>
<p class="font-medium">حفل تخريج الدفعة الـ 45</p>
</div>
</div>
<div class="text-center mt-4">
<a href="#" class="text-blue-600 font-medium">عرض جميع الفعاليات <i class="fas fa-arrow-left ml-1"></i></a>
</div>
</div>
<!-- Quick Contacts -->
<div class="bg-white rounded-lg shadow-md p-6">
<h3 class="text-xl font-bold text-gray-800 mb-4 pb-2 border-b-2 border-blue-600">اتصل بنا</h3>
<div class="space-y-3">
<div class="flex items-start">
<i class="fas fa-map-marker-alt text-blue-600 mt-1 ml-2"></i>
<p>السليمانية، إقليم كوردستان - العراق</p>
</div>
<div class="flex items-center">
<i class="fas fa-phone-alt text-blue-600 ml-2"></i>
<p>0770 123 4567</p>
</div>
<div class="flex items-center">
<i class="fas fa-envelope text-blue-600 ml-2"></i>
<p>info@univsul.edu.iq</p>
</div>
<div class="flex items-center">
<i class="fas fa-globe text-blue-600 ml-2"></i>
<p>www.univsul.edu.iq</p>
</div>
</div>
<div class="mt-4">
<button class="w-full bg-blue-600 hover:bg-blue-700 text-white py-2 rounded-lg">
<i class="fas fa-paper-plane mr-2"></i> إرسال رسالة
</button>
</div>
</div>
</div>
</div>
<!-- Faculties Section -->
<div class="mt-16">
<h2 class="text-2xl font-bold text-gray-800 mb-6 pb-2 border-b-2 border-blue-600">كليات الجامعة</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<div class="faculty-card bg-white rounded-lg shadow-md p-6">
<div class="flex items-center mb-4">
<div class="bg-blue-100 p-3 rounded-full mr-4">
<i class="fas fa-gavel text-blue-600 text-xl"></i>
</div>
<h3 class="font-bold text-lg">كلية القانون</h3>
</div>
<p class="text-gray-600 mb-4">تقدم برامج دراسية في القانون العام والخاص، وتعد من أقدم كليات الجامعة.</p>
<a href="#" class="text-blue-600 font-medium">زيارة الكلية <i class="fas fa-arrow-left ml-1"></i></a>
</div>
<div class="faculty-card bg-white rounded-lg shadow-md p-6">
<div class="flex items-center mb-4">
<div class="bg-green-100 p-3 rounded-full mr-4">
<i class="fas fa-leaf text-green-600 text-xl"></i>
</div>
<h3 class="font-bold text-lg">كلية الزراعة</h3>
</div>
<p class="text-gray-600 mb-4">تختص بعلوم الزراعة والبيئة وتنمية الموارد الطبيعية.</p>
<a href="#" class="text-blue-600 font-medium">زيارة الكلية <i class="fas fa-arrow-left ml-1"></i></a>
</div>
<div class="faculty-card bg-white rounded-lg shadow-md p-6">
<div class="flex items-center mb-4">
<div class="bg-red-100 p-3 rounded-full mr-4">
<i class="fas fa-heartbeat text-red-600 text-xl"></i>
</div>
<h3 class="font-bold text-lg">كلية الطب</h3>
</div>
<p class="text-gray-600 mb-4">تعد من الكليات الرائدة في مجال التعليم الطبي والبحث العلمي.</p>
<a href="#" class="text-blue-600 font-medium">زيارة الكلية <i class="fas fa-arrow-left ml-1"></i></a>
</div>
<div class="faculty-card bg-white rounded-lg shadow-md p-6">
<div class="flex items-center mb-4">
<div class="bg-yellow-100 p-3 rounded-full mr-4">
<i class="fas fa-laptop-code text-yellow-600 text-xl"></i>
</div>
<h3 class="font-bold text-lg">كلية الهندسة</h3>
</div>
<p class="text-gray-600 mb-4">تقدم برامج في مختلف تخصصات الهندسة وفق المعايير العالمية.</p>
<a href="#" class="text-blue-600 font-medium">زيارة الكلية <i class="fas fa-arrow-left ml-1"></i></a>
</div>
<div class="faculty-card bg-white rounded-lg shadow-md p-6">
<div class="flex items-center mb-4">
<div class="bg-purple-100 p-3 rounded-full mr-4">
<i class="fas fa-book text-purple-600 text-xl"></i>
</div>
<h3 class="font-bold text-lg">كلية الآداب</h3>
</div>
<p class="text-gray-600 mb-4">تضم أقسام اللغة العربية، الكوردية، الإنكليزية، التاريخ والجغرافيا.</p>
<a href="#" class="text-blue-600 font-medium">زيارة الكلية <i class="fas fa-arrow-left ml-1"></i></a>
</div>
<div class="faculty-card bg-white rounded-lg shadow-md p-6">
<div class="flex items-center mb-4">
<div class="bg-indigo-100 p-3 rounded-full mr-4">
<i class="fas fa-calculator text-indigo-600 text-xl"></i>
</div>
<h3 class="font-bold text-lg">كلية العلوم</h3>
</div>
<p class="text-gray-600 mb-4">تقدم برامج في الفيزياء، الكيمياء، الأحياء والرياضيات.</p>
<a href="#" class="text-blue-600 font-medium">زيارة الكلية <i class="fas fa-arrow-left ml-1"></i></a>
</div>
</div>
<div class="text-center mt-8">
<a href="#" class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-8 rounded-full inline-flex items-center">
جميع الكليات <i class="fas fa-arrow-left ml-2"></i>
</a>
</div>
</div>
</div>
<!-- Footer -->
<footer class="footer text-white mt-16">
<div class="container mx-auto px-4 py-12">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4">عن الجامعة</h3>
<p class="mb-4">جامعة السليمانية مؤسسة تعليمية رائدة في إقليم كوردستان العراق، تأسست عام 1968 وتضم 16 كلية وأكثر من 25,000 طالب وطالبة.</p>
<div class="flex space-x-3">
<a href="#" class="w-10 h-10 flex items-center justify-center bg-blue-500 rounded-full hover:bg-blue-400">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="w-10 h-10 flex items-center justify-center bg-blue-400 rounded-full hover:bg-blue-300">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="w-10 h-10 flex items-center justify-center bg-red-600 rounded-full hover:bg-red-500">
<i class="fab fa-youtube"></i>
</a>
<a href="#" class="w-10 h-10 flex items-center justify-center bg-purple-600 rounded-full hover:bg-purple-500">
<i class="fab fa-instagram"></i>
</a>
</div>
</div>
<div>
<h3 class="text-xl font-bold mb-4">روابط سريعة</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-blue-300 flex items-center"><i class="fas fa-arrow-left mr-2 text-sm"></i> الرئيسية</a></li>
<li><a href="#" class="hover:text-blue-300 flex items-center"><i class="fas fa-arrow-left mr-2 text-sm"></i> عن الجامعة</a></li>
<li><a href="#" class="hover:text-blue-300 flex items-center"><i class="fas fa-arrow-left mr-2 text-sm"></i> الكليات</a></li>
<li><a href="#" class="hover:text-blue-300 flex items-center"><i class="fas fa-arrow-left mr-2 text-sm"></i> الدراسات العليا</a></li>
<li><a href="#" class="hover:text-blue-300 flex items-center"><i class="fas fa-arrow-left mr-2 text-sm"></i> البحث العلمي</a></li>
<li><a href="#" class="hover:text-blue-300 flex items-center"><i class="fas fa-arrow-left mr-2 text-sm"></i> المكتبة الإلكترونية</a></li>
</ul>
</div>
<div>
<h3 class="text-xl font-bold mb-4">اتصل بنا</h3>
<ul class="space-y-3">
<li class="flex items-start">
<i class="fas fa-map-marker-alt mt-1 mr-2"></i>
<span>السليمانية، إقليم كوردستان - العراق</span>
</li>
<li class="flex items-center">
<i class="fas fa-phone-alt mr-2"></i>
<span>0770 123 4567</span>
</li>
<li class="flex items-center">
<i class="fas fa-envelope mr-2"></i>
<span>info@univsul.edu.iq</span>
</li>
<li class="flex items-center">
<i class="fas fa-globe mr-2"></i>
<span>www.univsul.edu.iq</span>
</li>
</ul>
</div>
<div>
<h3 class="text-xl font-bold mb-4">النشرة الإخبارية</h3>
<p class="mb-4">اشترك في نشرتنا الإخبارية لتصلك آخر أخبار الجامعة وفعالياتها.</p>
<form>
<div class="flex">
<input type="email" placeholder="بريدك الإلكتروني" class="px-4 py-2 w-full rounded-l-lg text-gray-800">
<button class="bg-yellow-500 hover:bg-yellow-600 text-gray-900 font-bold px-4 rounded-r-lg">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</form>
</div>
</div>
</div>
<div class="border-t border-blue-400 mt-8 pt-6 pb-4">
<div class="container mx-auto px-4 text-center">
<p>© 2023 جامعة السليمانية. جميع الحقوق محفوظة.</p>
</div>
</div>
</footer>
<script>
// Language switcher functionality
document.querySelectorAll('.language-switcher button').forEach(button => {
button.addEventListener('click', function() {
document.querySelector('.language-switcher .active').classList.remove('active');
this.classList.add('active');
// In a real implementation, this would change the site language
alert('لغة الموقع تغيرت إلى: ' + this.textContent);
});
});
// Simple news slider functionality
let currentNewsIndex = 0;
const newsCards = document.querySelectorAll('.news-card');
function showNextNews() {
newsCards[currentNewsIndex].classList.add('hidden');
currentNewsIndex = (currentNewsIndex + 1) % newsCards.length;
newsCards[currentNewsIndex].classList.remove('hidden');
}
// Set interval for news rotation
setInterval(showNextNews, 5000);
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=mtrakretech/mui" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>