Spaces:
Running
Running
نور کم را به کد اصافه کن - Follow Up Deployment
Browse files- index.html +32 -1
index.html
CHANGED
|
@@ -9,6 +9,11 @@
|
|
| 9 |
<style>
|
| 10 |
@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
body {
|
| 13 |
font-family: 'Noto Naskh Arabic', serif;
|
| 14 |
background: linear-gradient(45deg, rgba(0, 0, 255, 0.7), rgba(255, 255, 255, 0.5), rgba(255, 0, 0, 0.7));
|
|
@@ -38,7 +43,10 @@
|
|
| 38 |
<body class="min-h-screen">
|
| 39 |
<div class="container mx-auto px-4 py-8">
|
| 40 |
<!-- Header -->
|
| 41 |
-
<header class="text-center mb-12">
|
|
|
|
|
|
|
|
|
|
| 42 |
<h1 class="text-4xl md:text-5xl font-bold mb-4">App Kaddeh</h1>
|
| 43 |
<p class="text-xl md:text-2xl">اپلیکیشن های کاربردی،سرگرمی و بازی های ما را از کافه بازار دانلود کنید.</p>
|
| 44 |
</header>
|
|
@@ -76,5 +84,28 @@
|
|
| 76 |
<p>© 2025 App Kaddeh. تمامی حقوق محفوظ است.</p>
|
| 77 |
</footer>
|
| 78 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
<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=Pendaaar/https-www-appkadeh-ir" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 80 |
</html>
|
|
|
|
| 9 |
<style>
|
| 10 |
@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');
|
| 11 |
|
| 12 |
+
.dark-mode {
|
| 13 |
+
background: linear-gradient(45deg, rgba(0, 0, 50, 0.9), rgba(20, 20, 20, 0.7), rgba(50, 0, 0, 0.9)) !important;
|
| 14 |
+
color: #e5e5e5 !important;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
body {
|
| 18 |
font-family: 'Noto Naskh Arabic', serif;
|
| 19 |
background: linear-gradient(45deg, rgba(0, 0, 255, 0.7), rgba(255, 255, 255, 0.5), rgba(255, 0, 0, 0.7));
|
|
|
|
| 43 |
<body class="min-h-screen">
|
| 44 |
<div class="container mx-auto px-4 py-8">
|
| 45 |
<!-- Header -->
|
| 46 |
+
<header class="text-center mb-12 relative">
|
| 47 |
+
<button id="darkModeToggle" class="absolute left-4 top-4 bg-white bg-opacity-20 p-2 rounded-full">
|
| 48 |
+
<i class="fas fa-moon text-white"></i>
|
| 49 |
+
</button>
|
| 50 |
<h1 class="text-4xl md:text-5xl font-bold mb-4">App Kaddeh</h1>
|
| 51 |
<p class="text-xl md:text-2xl">اپلیکیشن های کاربردی،سرگرمی و بازی های ما را از کافه بازار دانلود کنید.</p>
|
| 52 |
</header>
|
|
|
|
| 84 |
<p>© 2025 App Kaddeh. تمامی حقوق محفوظ است.</p>
|
| 85 |
</footer>
|
| 86 |
</div>
|
| 87 |
+
|
| 88 |
+
<script>
|
| 89 |
+
const darkModeToggle = document.getElementById('darkModeToggle');
|
| 90 |
+
const body = document.body;
|
| 91 |
+
|
| 92 |
+
// Check for saved user preference
|
| 93 |
+
if (localStorage.getItem('darkMode') === 'enabled') {
|
| 94 |
+
body.classList.add('dark-mode');
|
| 95 |
+
darkModeToggle.innerHTML = '<i class="fas fa-sun text-white"></i>';
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
darkModeToggle.addEventListener('click', () => {
|
| 99 |
+
body.classList.toggle('dark-mode');
|
| 100 |
+
|
| 101 |
+
if (body.classList.contains('dark-mode')) {
|
| 102 |
+
localStorage.setItem('darkMode', 'enabled');
|
| 103 |
+
darkModeToggle.innerHTML = '<i class="fas fa-sun text-white"></i>';
|
| 104 |
+
} else {
|
| 105 |
+
localStorage.setItem('darkMode', 'disabled');
|
| 106 |
+
darkModeToggle.innerHTML = '<i class="fas fa-moon text-white"></i>';
|
| 107 |
+
}
|
| 108 |
+
});
|
| 109 |
+
</script>
|
| 110 |
<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=Pendaaar/https-www-appkadeh-ir" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 111 |
</html>
|