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>
- index.html +38 -19
|
@@ -1,19 +1,38 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>
|