shengzi commited on
Commit
627c101
·
verified ·
1 Parent(s): 6a43860

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +124 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Deepsite
3
- emoji: 🚀
4
- colorFrom: red
5
- colorTo: indigo
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: deepsite
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: blue
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,124 @@
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">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>欢迎页面</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @keyframes float {
11
+ 0% { transform: translateY(0px); }
12
+ 50% { transform: translateY(-20px); }
13
+ 100% { transform: translateY(0px); }
14
+ }
15
+ .floating {
16
+ animation: float 3s ease-in-out infinite;
17
+ }
18
+ .text-shadow {
19
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
20
+ }
21
+ .gradient-text {
22
+ background: linear-gradient(45deg, #3b82f6, #10b981, #f59e0b);
23
+ -webkit-background-clip: text;
24
+ background-clip: text;
25
+ color: transparent;
26
+ }
27
+ </style>
28
+ </head>
29
+ <body class="bg-gradient-to-br from-blue-50 to-green-50 min-h-screen flex flex-col items-center justify-center p-4">
30
+ <div class="max-w-4xl w-full bg-white rounded-2xl shadow-xl overflow-hidden transition-all duration-500 hover:shadow-2xl">
31
+ <div class="md:flex">
32
+ <div class="md:w-1/2 p-8 md:p-12 flex flex-col justify-center items-center text-center bg-gradient-to-br from-blue-100 to-green-100">
33
+ <div class="floating mb-8">
34
+ <div class="w-40 h-40 rounded-full bg-white shadow-lg flex items-center justify-center">
35
+ <i class="fas fa-hand-peace text-6xl gradient-text"></i>
36
+ </div>
37
+ </div>
38
+ <h1 class="text-4xl md:text-5xl font-bold mb-4 gradient-text text-shadow">你好!</h1>
39
+ <p class="text-gray-600 mb-6">欢迎来到这个美丽的页面</p>
40
+ <div class="flex space-x-4">
41
+ <button class="px-6 py-2 bg-blue-500 text-white rounded-full hover:bg-blue-600 transition transform hover:-translate-y-1">
42
+ <i class="fas fa-smile mr-2"></i> 微笑
43
+ </button>
44
+ <button class="px-6 py-2 bg-green-500 text-white rounded-full hover:bg-green-600 transition transform hover:-translate-y-1">
45
+ <i class="fas fa-heart mr-2"></i> 爱心
46
+ </button>
47
+ </div>
48
+ </div>
49
+ <div class="md:w-1/2 p-8 md:p-12">
50
+ <h2 class="text-2xl font-bold text-gray-800 mb-6">欢迎信息</h2>
51
+ <p class="text-gray-600 mb-4">感谢您访问这个精心设计的页面。我们使用了现代的前端技术来创建这个响应式的布局。</p>
52
+
53
+ <div class="mb-6">
54
+ <div class="flex items-center mb-2">
55
+ <div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white mr-3">
56
+ <i class="fas fa-check"></i>
57
+ </div>
58
+ <span class="font-medium">响应式设计</span>
59
+ </div>
60
+ <div class="flex items-center mb-2">
61
+ <div class="w-8 h-8 rounded-full bg-green-500 flex items-center justify-center text-white mr-3">
62
+ <i class="fas fa-check"></i>
63
+ </div>
64
+ <span class="font-medium">动画效果</span>
65
+ </div>
66
+ <div class="flex items-center">
67
+ <div class="w-8 h-8 rounded-full bg-yellow-500 flex items-center justify-center text-white mr-3">
68
+ <i class="fas fa-check"></i>
69
+ </div>
70
+ <span class="font-medium">渐变色彩</span>
71
+ </div>
72
+ </div>
73
+
74
+ <div class="bg-gray-100 p-4 rounded-lg mb-6">
75
+ <p class="text-gray-700 italic">"美丽的设计不仅仅是外表,更是用户体验的体现。"</p>
76
+ </div>
77
+
78
+ <button class="w-full py-3 bg-gradient-to-r from-blue-500 to-green-500 text-white rounded-lg hover:from-blue-600 hover:to-green-600 transition shadow-md">
79
+ 了解更多 <i class="fas fa-arrow-right ml-2"></i>
80
+ </button>
81
+ </div>
82
+ </div>
83
+ </div>
84
+
85
+ <div class="mt-8 text-center text-gray-500">
86
+ <p>使用 <span class="font-bold text-blue-500">HTML</span>, <span class="font-bold text-green-500">CSS</span> 和 <span class="font-bold text-yellow-500">JavaScript</span> 创建</p>
87
+ <div class="flex justify-center space-x-4 mt-4">
88
+ <a href="#" class="text-blue-500 hover:text-blue-700"><i class="fab fa-twitter text-xl"></i></a>
89
+ <a href="#" class="text-pink-500 hover:text-pink-700"><i class="fab fa-instagram text-xl"></i></a>
90
+ <a href="#" class="text-gray-800 hover:text-gray-600"><i class="fab fa-github text-xl"></i></a>
91
+ </div>
92
+ </div>
93
+
94
+ <script>
95
+ document.addEventListener('DOMContentLoaded', function() {
96
+ // Add interactive effects
97
+ const buttons = document.querySelectorAll('button');
98
+ buttons.forEach(button => {
99
+ button.addEventListener('click', function() {
100
+ this.classList.add('animate-ping');
101
+ setTimeout(() => {
102
+ this.classList.remove('animate-ping');
103
+ }, 500);
104
+
105
+ if(this.textContent.includes('微笑')) {
106
+ alert('😊 谢谢你点击微笑按钮!');
107
+ } else if(this.textContent.includes('爱心')) {
108
+ alert('❤️ 谢谢你发送爱心!');
109
+ }
110
+ });
111
+ });
112
+
113
+ // Gradient animation for the title
114
+ const title = document.querySelector('.gradient-text');
115
+ let hue = 0;
116
+ setInterval(() => {
117
+ hue = (hue + 1) % 360;
118
+ title.style.background = `linear-gradient(45deg, hsl(${hue}, 80%, 60%), hsl(${(hue + 120) % 360}, 80%, 60%), hsl(${(hue + 240) % 360}, 80%, 60%))`;
119
+ title.style.backgroundClip = 'text';
120
+ }, 50);
121
+ });
122
+ </script>
123
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=shengzi/deepsite" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
124
+ </html>