WACATW commited on
Commit
e0606ee
·
verified ·
1 Parent(s): f953999

index.html

Browse files

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>HF静态测试网页</title>
<style>
body {
background: linear-gradient(#4facfe, #00f2fe);
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-family: 微软雅黑;
}
.card {
background: white;
padding: 50px;
border-radius: 16px;
text-align: center;
}
button {
padding: 10px 25px;
border: none;
background: #0088ff;
color: white;
border-radius: 6px;
cursor: pointer;
}
</style>
</head>
<body>
<div class="card">
<h1>部署成功!静态网页</h1>
<p>这个页面托管在 Hugging Face Spaces</p>
<button onclick="alert('网页正常运行')">点击测试</button>
</div>
</body>
</html>

Files changed (1) hide show
  1. index.html +38 -19
index.html CHANGED
@@ -1,19 +1,38 @@
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="zh-CN">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>HF静态测试网页</title>
6
+ <style>
7
+ body {
8
+ background: linear-gradient(#4facfe, #00f2fe);
9
+ height: 100vh;
10
+ display: flex;
11
+ align-items: center;
12
+ justify-content: center;
13
+ font-family: 微软雅黑;
14
+ }
15
+ .card {
16
+ background: white;
17
+ padding: 50px;
18
+ border-radius: 16px;
19
+ text-align: center;
20
+ }
21
+ button {
22
+ padding: 10px 25px;
23
+ border: none;
24
+ background: #0088ff;
25
+ color: white;
26
+ border-radius: 6px;
27
+ cursor: pointer;
28
+ }
29
+ </style>
30
+ </head>
31
+ <body>
32
+ <div class="card">
33
+ <h1>部署成功!静态网页</h1>
34
+ <p>这个页面托管在 Hugging Face Spaces</p>
35
+ <button onclick="alert('网页正常运行')">点击测试</button>
36
+ </div>
37
+ </body>
38
+ </html>