Spaces:
Running
Running
TomatoFull
commited on
Create index.html
Browse files- index.html +96 -0
index.html
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="ar">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>معرض الصور</title>
|
7 |
+
<style>
|
8 |
+
body {
|
9 |
+
font-family: Arial, sans-serif;
|
10 |
+
display: flex;
|
11 |
+
justify-content: center;
|
12 |
+
align-items: center;
|
13 |
+
flex-direction: column;
|
14 |
+
background: linear-gradient(135deg, #f0f4f8, #c0cde0);
|
15 |
+
min-height: 100vh;
|
16 |
+
margin: 0;
|
17 |
+
color: #333;
|
18 |
+
}
|
19 |
+
h1 {
|
20 |
+
font-size: 2em;
|
21 |
+
color: #4a4a4a;
|
22 |
+
margin-bottom: 10px;
|
23 |
+
}
|
24 |
+
.gallery {
|
25 |
+
display: flex;
|
26 |
+
flex-wrap: wrap;
|
27 |
+
gap: 20px;
|
28 |
+
justify-content: center;
|
29 |
+
}
|
30 |
+
.image-container {
|
31 |
+
text-align: center;
|
32 |
+
width: 220px;
|
33 |
+
padding: 10px;
|
34 |
+
background: #fff;
|
35 |
+
border-radius: 10px;
|
36 |
+
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
|
37 |
+
transition: transform 0.2s, box-shadow 0.2s;
|
38 |
+
}
|
39 |
+
.image-container:hover {
|
40 |
+
transform: scale(1.05);
|
41 |
+
box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
|
42 |
+
}
|
43 |
+
.image-container img {
|
44 |
+
width: 100%;
|
45 |
+
height: auto;
|
46 |
+
border-radius: 8px;
|
47 |
+
cursor: pointer;
|
48 |
+
}
|
49 |
+
.instruction {
|
50 |
+
font-size: 0.9em;
|
51 |
+
color: #666;
|
52 |
+
margin-bottom: 5px;
|
53 |
+
}
|
54 |
+
</style>
|
55 |
+
</head>
|
56 |
+
<body>
|
57 |
+
|
58 |
+
<h1>معرض الصور</h1>
|
59 |
+
<p>اضغط على أي صورة لتحميلها. بعد ذلك يمكنك فتح معرض الصور ومشاركتها عبر واتساب.</p>
|
60 |
+
<div class="gallery">
|
61 |
+
<div class="image-container">
|
62 |
+
<p class="instruction">اضغط لتحميل ومشاركة الصورة</p>
|
63 |
+
<a href="http://192.168.44.1:8081/1.jpg" download="1.jpg">
|
64 |
+
<img src="http://192.168.44.1:8081/1.jpg" alt="صورة 1">
|
65 |
+
</a>
|
66 |
+
</div>
|
67 |
+
<div class="image-container">
|
68 |
+
<p class="instruction">اضغط لتحميل ومشاركة الصورة</p>
|
69 |
+
<a href="http://192.168.44.1:8081/2.jpg" download="2.jpg">
|
70 |
+
<img src="http://192.168.44.1:8081/2.jpg" alt="صورة 2">
|
71 |
+
</a>
|
72 |
+
</div>
|
73 |
+
<div class="image-container">
|
74 |
+
<p class="instruction">اضغط لتحميل ومشاركة الصورة</p>
|
75 |
+
<a href="http://192.168.44.1:8081/3.jpg" download="3.jpg">
|
76 |
+
<img src="http://192.168.44.1:8081/3.jpg" alt="صورة 3">
|
77 |
+
</a>
|
78 |
+
</div>
|
79 |
+
<div class="image-container">
|
80 |
+
<p class="instruction">اضغط لتحميل ومشاركة الصورة</p>
|
81 |
+
<a href="http://192.168.44.1:8081/4.jpg" download="4.jpg">
|
82 |
+
<img src="http://192.168.44.1:8081/4.jpg" alt="صورة 4">
|
83 |
+
</a>
|
84 |
+
</div>
|
85 |
+
</div>
|
86 |
+
|
87 |
+
<script>
|
88 |
+
document.querySelectorAll('.image-container a').forEach(link => {
|
89 |
+
link.addEventListener('click', () => {
|
90 |
+
alert("تم تحميل الصورة، الآن يمكنك الذهاب إلى معرض الصور ومشاركتها عبر واتساب.");
|
91 |
+
});
|
92 |
+
});
|
93 |
+
</script>
|
94 |
+
|
95 |
+
</body>
|
96 |
+
</html>
|