Spaces:
Running
Running
File size: 8,843 Bytes
65ea011 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 | <!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>عرض احترافي - المساعد السعودي</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #1a2a6c, #4a148c);
color: #fff;
height: 100vh;
overflow: hidden;
}
.header {
background: rgba(0, 0, 0, 0.7);
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.logo {
font-size: 24px;
font-weight: bold;
background: linear-gradient(90deg, #ff8a00, #e52e71);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.controls {
display: flex;
gap: 10px;
}
.btn {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
color: white;
padding: 8px 16px;
border-radius: 6px;
cursor: pointer;
transition: all 0.3s ease;
font-size: 14px;
}
.btn:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-2px);
}
.btn-primary {
background: linear-gradient(90deg, #ff8a00, #e52e71);
border: none;
}
.container {
display: flex;
height: calc(100vh - 70px);
}
.iframe-container {
flex: 1;
padding: 15px;
background: rgba(0, 0, 0, 0.5);
}
.iframe-wrapper {
width: 100%;
height: 100%;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.1);
}
iframe {
width: 100%;
height: 100%;
border: none;
background-color: white;
}
.info-panel {
width: 300px;
background: rgba(0, 0, 0, 0.6);
padding: 20px;
overflow-y: auto;
border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.info-title {
font-size: 18px;
margin-bottom: 15px;
color: #ff8a00;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
padding-bottom: 8px;
}
.info-text {
line-height: 1.6;
margin-bottom: 15px;
color: #ddd;
}
.features {
list-style: none;
margin-top: 15px;
}
.features li {
padding: 8px 0;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
display: flex;
align-items: center;
}
.features li:before {
content: "✓";
color: #4CAF50;
margin-left: 10px;
font-weight: bold;
}
.loading {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
font-size: 18px;
color: #aaa;
}
.status-bar {
background: rgba(0, 0, 0, 0.7);
padding: 8px 15px;
font-size: 14px;
display: flex;
justify-content: space-between;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.info-panel {
width: 100%;
height: 250px;
border-left: none;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.header {
flex-direction: column;
gap: 10px;
text-align: center;
}
}
</style>
</head>
<body>
<div class="header">
<div class="logo">المساعد السعودي الذكي</div>
<div class="controls">
<button class="btn" onclick="refreshFrame()">🔄 تحديث</button>
<button class="btn" onclick="openFullscreen()">📺 ملء الشاشة</button>
<button class="btn btn-primary" onclick="openOriginal()">🌐 فتح في نافذة جديدة</button>
</div>
</div>
<div class="container">
<div class="iframe-container">
<div class="iframe-wrapper">
<iframe id="mainFrame" src="https://rebot2.lahjai.net" title="المساعد السعودي"></iframe>
</div>
</div>
<div class="info-panel">
<div class="info-title">معلومات عن المساعد</div>
<div class="info-text">
هذا الإطار يعرض المساعد السعودي الذكي الذي يعمل باللهجة السعودية. يمكنك التفاعل مع المساعد مباشرة من خلال هذا الإطار.
</div>
<div class="info-text">
<strong>كيفية الاستخدام:</strong>
<ul class="features">
<li>أدخل مفتاح LAHJA للبدء</li>
<li>تفاعل مع المساعد باللهجة السعودية</li>
<li>استخدم الأزرار أعلاه للتحكم في العرض</li>
<li>يمكنك تحديث الصفحة أو فتحها في نافذة جديدة</li>
</ul>
</div>
<div class="info-text">
<strong>ملاحظة:</strong> إذا ظهرت صفحة فارغة، قد تكون هناك قيود على عرض الموقع عبر الإطارات من قبل الخادم المصدر.
</div>
</div>
</div>
<div class="status-bar">
<div id="urlStatus">جارٍ تحميل: https://rebot2.lahjai.net</div>
<div id="frameStatus">الإطار نشط وجاهز للاستخدام</div>
</div>
<script>
const iframe = document.getElementById('mainFrame');
// تحديث الإطار
function refreshFrame() {
iframe.src = iframe.src;
document.getElementById('frameStatus').textContent = 'جارٍ التحديث...';
setTimeout(() => {
document.getElementById('frameStatus').textContent = 'تم التحديث بنجاح';
}, 1500);
}
// فتح في وضع ملء الشاشة
function openFullscreen() {
const iframeContainer = document.querySelector('.iframe-container');
if (iframeContainer.requestFullscreen) {
iframeContainer.requestFullscreen();
} else if (iframeContainer.webkitRequestFullscreen) {
iframeContainer.webkitRequestFullscreen();
} else if (iframeContainer.msRequestFullscreen) {
iframeContainer.msRequestFullscreen();
}
document.getElementById('frameStatus').textContent = 'وضع ملء الشاشة نشط';
}
// فتح في نافذة جديدة
function openOriginal() {
window.open('https://rebot2.lahjai.net', '_blank');
}
// تحديث حالة التحمير
iframe.onload = function() {
document.getElementById('frameStatus').textContent = 'تم التحميل بنجاح';
};
iframe.onerror = function() {
document.getElementById('frameStatus').textContent = 'حدث خطأ في التحميل';
};
// إضافة تأثير عند تحميل الصفحة
window.onload = function() {
document.body.style.opacity = '0';
document.body.style.transition = 'opacity 0.5s ease';
setTimeout(() => {
document.body.style.opacity = '1';
}, 100);
};
</script>
</body>
</html> |