Zhasjsjsus commited on
Commit
b5f2cf9
·
verified ·
1 Parent(s): 31e8f86

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +32 -19
index.html CHANGED
@@ -1,19 +1,32 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="ar" dir="rtl">
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
+ *{margin:0;padding:0;box-sizing:border-box;font-family:'Segoe UI',sans-serif}
9
+ body{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%);color:#eaeaea}
10
+ .card{background:rgba(255,255,255,0.05);backdrop-filter:blur(10px);padding:3rem;border-radius:20px;border:1px solid rgba(255,255,255,0.1);text-align:center;max-width:400px}
11
+ h1{font-size:2.5rem;margin-bottom:1rem;background:linear-gradient(90deg,#e94560,#ff6b6b);-webkit-background-clip:text;-webkit-text-fill-color:transparent}
12
+ p{color:#a0a0a0;line-height:1.8;font-size:1.1rem}
13
+ .counter{font-size:4rem;font-weight:700;color:#e94560;margin:1rem 0;text-shadow:0 0 30px rgba(233,69,96,0.5)}
14
+ button{background:linear-gradient(90deg,#e94560,#ff6b6b);border:none;padding:1rem 2.5rem;color:white;font-size:1.1rem;border-radius:50px;cursor:pointer;transition:all 0.3s}
15
+ button:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(233,69,96,0.4)}
16
+ .built-with{position:fixed;top:1rem;left:1rem;font-size:0.75rem;opacity:0.6}
17
+ .built-with a{color:#e94560;text-decoration:none}
18
+ </style>
19
+ </head>
20
+ <body>
21
+ <div class="card">
22
+ <h1>سبع أسطر فقط!</h1>
23
+ <p>هذا التطبيق بسيط وجميل، مبني بـ 7 أسطر من JavaScript</p>
24
+ <div class="counter" id="count">0</div>
25
+ <button onclick="increment()">اضغط هنا!</button>
26
+ </div>
27
+ <div class="built-with">Built with <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank">anycoder</a></div>
28
+ <script>
29
+ let c=0;const increment=()=>{c++;document.getElementById('count').textContent=c;const b=document.querySelector('button');b.style.transform='scale(0.95)';setTimeout(()=>b.style.transform='scale(1)',100)}
30
+ </script>
31
+ </body>
32
+ </html>