Add 3 files
Browse files- README.md +7 -5
- index.html +740 -19
- prompts.txt +0 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 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: home
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: pink
|
| 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,740 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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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 |
+
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&family=Poppins:wght@300;400;500;600&display=swap');
|
| 11 |
+
|
| 12 |
+
:root {
|
| 13 |
+
--primary: #3a86ff;
|
| 14 |
+
--secondary: #8338ec;
|
| 15 |
+
--accent: #ff006e;
|
| 16 |
+
--dark: #1a1a2e;
|
| 17 |
+
--light: #f8f9fa;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
body {
|
| 21 |
+
font-family: 'Poppins', sans-serif;
|
| 22 |
+
background-color: #0f0f1a;
|
| 23 |
+
color: var(--light);
|
| 24 |
+
overflow-x: hidden;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
.tech-font {
|
| 28 |
+
font-family: 'Orbitron', sans-serif;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.card {
|
| 32 |
+
background: rgba(26, 26, 46, 0.7);
|
| 33 |
+
backdrop-filter: blur(10px);
|
| 34 |
+
border-radius: 16px;
|
| 35 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 36 |
+
transition: all 0.3s ease;
|
| 37 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
.card:hover {
|
| 41 |
+
transform: translateY(-5px);
|
| 42 |
+
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
|
| 43 |
+
border-color: rgba(58, 134, 255, 0.3);
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.glow {
|
| 47 |
+
position: relative;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.glow::before {
|
| 51 |
+
content: '';
|
| 52 |
+
position: absolute;
|
| 53 |
+
top: -2px;
|
| 54 |
+
left: -2px;
|
| 55 |
+
right: -2px;
|
| 56 |
+
bottom: -2px;
|
| 57 |
+
z-index: -1;
|
| 58 |
+
background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent), var(--primary));
|
| 59 |
+
background-size: 400%;
|
| 60 |
+
border-radius: 18px;
|
| 61 |
+
opacity: 0;
|
| 62 |
+
transition: 0.5s;
|
| 63 |
+
animation: animate 20s linear infinite;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
.glow:hover::before {
|
| 67 |
+
opacity: 0.3;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
@keyframes animate {
|
| 71 |
+
0% {
|
| 72 |
+
background-position: 0 0;
|
| 73 |
+
}
|
| 74 |
+
50% {
|
| 75 |
+
background-position: 300% 0;
|
| 76 |
+
}
|
| 77 |
+
100% {
|
| 78 |
+
background-position: 0 0;
|
| 79 |
+
}
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
.gradient-text {
|
| 83 |
+
background: linear-gradient(45deg, var(--primary), var(--secondary), var(--accent));
|
| 84 |
+
-webkit-background-clip: text;
|
| 85 |
+
background-clip: text;
|
| 86 |
+
color: transparent;
|
| 87 |
+
background-size: 300% 300%;
|
| 88 |
+
animation: gradient 8s ease infinite;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
@keyframes gradient {
|
| 92 |
+
0% {
|
| 93 |
+
background-position: 0% 50%;
|
| 94 |
+
}
|
| 95 |
+
50% {
|
| 96 |
+
background-position: 100% 50%;
|
| 97 |
+
}
|
| 98 |
+
100% {
|
| 99 |
+
background-position: 0% 50%;
|
| 100 |
+
}
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
.hexagon {
|
| 104 |
+
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
.skill-bar {
|
| 108 |
+
height: 6px;
|
| 109 |
+
background: rgba(255, 255, 255, 0.1);
|
| 110 |
+
border-radius: 3px;
|
| 111 |
+
overflow: hidden;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.skill-progress {
|
| 115 |
+
height: 100%;
|
| 116 |
+
background: linear-gradient(90deg, var(--primary), var(--secondary));
|
| 117 |
+
border-radius: 3px;
|
| 118 |
+
transition: width 1.5s ease;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
.timeline-item {
|
| 122 |
+
position: relative;
|
| 123 |
+
padding-left: 30px;
|
| 124 |
+
margin-bottom: 30px;
|
| 125 |
+
}
|
| 126 |
+
|
| 127 |
+
.timeline-item::before {
|
| 128 |
+
content: '';
|
| 129 |
+
position: absolute;
|
| 130 |
+
left: 0;
|
| 131 |
+
top: 5px;
|
| 132 |
+
width: 15px;
|
| 133 |
+
height: 15px;
|
| 134 |
+
border-radius: 50%;
|
| 135 |
+
background: var(--primary);
|
| 136 |
+
box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.3);
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
.timeline-item::after {
|
| 140 |
+
content: '';
|
| 141 |
+
position: absolute;
|
| 142 |
+
left: 7px;
|
| 143 |
+
top: 20px;
|
| 144 |
+
width: 1px;
|
| 145 |
+
height: calc(100% - 15px);
|
| 146 |
+
background: rgba(255, 255, 255, 0.1);
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
.timeline-item:last-child::after {
|
| 150 |
+
display: none;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
.floating {
|
| 154 |
+
animation: floating 3s ease-in-out infinite;
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
@keyframes floating {
|
| 158 |
+
0% {
|
| 159 |
+
transform: translateY(0px);
|
| 160 |
+
}
|
| 161 |
+
50% {
|
| 162 |
+
transform: translateY(-10px);
|
| 163 |
+
}
|
| 164 |
+
100% {
|
| 165 |
+
transform: translateY(0px);
|
| 166 |
+
}
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
.pulse {
|
| 170 |
+
animation: pulse 2s infinite;
|
| 171 |
+
}
|
| 172 |
+
|
| 173 |
+
@keyframes pulse {
|
| 174 |
+
0% {
|
| 175 |
+
box-shadow: 0 0 0 0 rgba(58, 134, 255, 0.4);
|
| 176 |
+
}
|
| 177 |
+
70% {
|
| 178 |
+
box-shadow: 0 0 0 10px rgba(58, 134, 255, 0);
|
| 179 |
+
}
|
| 180 |
+
100% {
|
| 181 |
+
box-shadow: 0 0 0 0 rgba(58, 134, 255, 0);
|
| 182 |
+
}
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
.grid-bg {
|
| 186 |
+
background-image:
|
| 187 |
+
linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
|
| 188 |
+
linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
|
| 189 |
+
background-size: 30px 30px;
|
| 190 |
+
}
|
| 191 |
+
</style>
|
| 192 |
+
</head>
|
| 193 |
+
<body class="grid-bg min-h-screen">
|
| 194 |
+
<!-- 加载动画 -->
|
| 195 |
+
<div id="loader" class="fixed inset-0 bg-dark z-50 flex items-center justify-center transition-opacity duration-500">
|
| 196 |
+
<div class="text-center">
|
| 197 |
+
<div class="hexagon w-20 h-20 mx-auto bg-gradient-to-r from-primary to-secondary flex items-center justify-center mb-4">
|
| 198 |
+
<i class="fas fa-code text-3xl text-white"></i>
|
| 199 |
+
</div>
|
| 200 |
+
<h2 class="tech-font text-2xl gradient-text">LOADING PORTFOLIO</h2>
|
| 201 |
+
<div class="w-48 h-1 bg-gray-700 rounded-full mx-auto mt-4 overflow-hidden">
|
| 202 |
+
<div id="progress-bar" class="h-full bg-gradient-to-r from-primary to-secondary" style="width: 0%"></div>
|
| 203 |
+
</div>
|
| 204 |
+
</div>
|
| 205 |
+
</div>
|
| 206 |
+
|
| 207 |
+
<!-- 主内容 -->
|
| 208 |
+
<div class="container mx-auto px-4 py-12 opacity-0" id="main-content">
|
| 209 |
+
<!-- 头部 -->
|
| 210 |
+
<header class="flex flex-col md:flex-row items-center justify-between mb-16">
|
| 211 |
+
<div class="flex items-center mb-6 md:mb-0">
|
| 212 |
+
<div class="hexagon w-16 h-16 bg-gradient-to-r from-primary to-secondary flex items-center justify-center mr-4">
|
| 213 |
+
<i class="fas fa-code text-xl text-white"></i>
|
| 214 |
+
</div>
|
| 215 |
+
<h1 class="tech-font text-3xl gradient-text">TECH<span class="text-white">FOLIO</span></h1>
|
| 216 |
+
</div>
|
| 217 |
+
|
| 218 |
+
<nav class="flex space-x-1">
|
| 219 |
+
<a href="#about" class="px-4 py-2 rounded-full hover:bg-gray-800 transition-all duration-300 flex items-center">
|
| 220 |
+
<i class="fas fa-user mr-2 text-sm"></i>
|
| 221 |
+
<span>关于</span>
|
| 222 |
+
</a>
|
| 223 |
+
<a href="#skills" class="px-4 py-2 rounded-full hover:bg-gray-800 transition-all duration-300 flex items-center">
|
| 224 |
+
<i class="fas fa-cog mr-2 text-sm"></i>
|
| 225 |
+
<span>技能</span>
|
| 226 |
+
</a>
|
| 227 |
+
<a href="#projects" class="px-4 py-2 rounded-full hover:bg-gray-800 transition-all duration-300 flex items-center">
|
| 228 |
+
<i class="fas fa-project-diagram mr-2 text-sm"></i>
|
| 229 |
+
<span>项目</span>
|
| 230 |
+
</a>
|
| 231 |
+
<a href="#contact" class="px-4 py-2 rounded-full hover:bg-gray-800 transition-all duration-300 flex items-center">
|
| 232 |
+
<i class="fas fa-envelope mr-2 text-sm"></i>
|
| 233 |
+
<span>联系</span>
|
| 234 |
+
</a>
|
| 235 |
+
</nav>
|
| 236 |
+
</header>
|
| 237 |
+
|
| 238 |
+
<!-- 英雄区域 -->
|
| 239 |
+
<section class="flex flex-col md:flex-row items-center justify-between mb-24">
|
| 240 |
+
<div class="md:w-1/2 mb-12 md:mb-0">
|
| 241 |
+
<h2 class="text-4xl md:text-5xl font-bold mb-4 tech-font">
|
| 242 |
+
<span class="gradient-text">你好, 我是</span>
|
| 243 |
+
<span class="block text-white">张科技</span>
|
| 244 |
+
</h2>
|
| 245 |
+
<h3 class="text-xl md:text-2xl text-gray-400 mb-6">全栈开发工程师 & UI/UX设计师</h3>
|
| 246 |
+
<p class="text-gray-400 mb-8 leading-relaxed">
|
| 247 |
+
我专注于创造美观、高效且用户友好的数字体验。拥有5年以上的开发经验,擅长将复杂的技术转化为直观的解决方案。
|
| 248 |
+
</p>
|
| 249 |
+
<div class="flex space-x-4">
|
| 250 |
+
<a href="#contact" class="px-6 py-3 bg-gradient-to-r from-primary to-secondary rounded-full text-white font-medium hover:shadow-lg transition-all duration-300 flex items-center">
|
| 251 |
+
<i class="fas fa-paper-plane mr-2"></i>
|
| 252 |
+
<span>联系我</span>
|
| 253 |
+
</a>
|
| 254 |
+
<a href="#projects" class="px-6 py-3 border border-gray-700 rounded-full text-white font-medium hover:bg-gray-800 transition-all duration-300 flex items-center">
|
| 255 |
+
<i class="fas fa-eye mr-2"></i>
|
| 256 |
+
<span>查看作品</span>
|
| 257 |
+
</a>
|
| 258 |
+
</div>
|
| 259 |
+
</div>
|
| 260 |
+
|
| 261 |
+
<div class="md:w-1/2 flex justify-center relative">
|
| 262 |
+
<div class="relative">
|
| 263 |
+
<div class="w-64 h-64 md:w-80 md:h-80 bg-gradient-to-br from-primary to-secondary rounded-full flex items-center justify-center overflow-hidden">
|
| 264 |
+
<img src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=774&q=80"
|
| 265 |
+
alt="Profile"
|
| 266 |
+
class="w-full h-full object-cover">
|
| 267 |
+
</div>
|
| 268 |
+
<div class="absolute -bottom-5 -right-5 bg-dark p-4 rounded-lg shadow-lg card">
|
| 269 |
+
<div class="flex items-center">
|
| 270 |
+
<div class="w-10 h-10 bg-primary rounded-full flex items-center justify-center text-white mr-3">
|
| 271 |
+
<i class="fas fa-trophy"></i>
|
| 272 |
+
</div>
|
| 273 |
+
<div>
|
| 274 |
+
<p class="text-xs text-gray-400">获奖项目</p>
|
| 275 |
+
<p class="text-sm font-medium">年度最佳应用</p>
|
| 276 |
+
</div>
|
| 277 |
+
</div>
|
| 278 |
+
</div>
|
| 279 |
+
<div class="absolute -top-5 -left-5 bg-dark p-4 rounded-lg shadow-lg card">
|
| 280 |
+
<div class="flex items-center">
|
| 281 |
+
<div class="w-10 h-10 bg-secondary rounded-full flex items-center justify-center text-white mr-3">
|
| 282 |
+
<i class="fas fa-code-branch"></i>
|
| 283 |
+
</div>
|
| 284 |
+
<div>
|
| 285 |
+
<p class="text-xs text-gray-400">项目完成</p>
|
| 286 |
+
<p class="text-sm font-medium">50+</p>
|
| 287 |
+
</div>
|
| 288 |
+
</div>
|
| 289 |
+
</div>
|
| 290 |
+
</div>
|
| 291 |
+
</div>
|
| 292 |
+
</section>
|
| 293 |
+
|
| 294 |
+
<!-- 关于部分 -->
|
| 295 |
+
<section id="about" class="mb-24">
|
| 296 |
+
<div class="flex items-center mb-12">
|
| 297 |
+
<h2 class="text-3xl font-bold tech-font gradient-text mr-4">关于我</h2>
|
| 298 |
+
<div class="flex-1 h-px bg-gradient-to-r from-primary to-transparent"></div>
|
| 299 |
+
</div>
|
| 300 |
+
|
| 301 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 302 |
+
<div class="card glow p-8">
|
| 303 |
+
<div class="w-16 h-16 bg-primary bg-opacity-20 rounded-lg flex items-center justify-center text-primary text-2xl mb-6">
|
| 304 |
+
<i class="fas fa-lightbulb"></i>
|
| 305 |
+
</div>
|
| 306 |
+
<h3 class="text-xl font-bold mb-3">创新思维</h3>
|
| 307 |
+
<p class="text-gray-400">
|
| 308 |
+
我热衷于探索新技术和创意解决方案,能够将复杂问题分解为可管理的部分,并找到创新的解决途径。
|
| 309 |
+
</p>
|
| 310 |
+
</div>
|
| 311 |
+
|
| 312 |
+
<div class="card glow p-8">
|
| 313 |
+
<div class="w-16 h-16 bg-secondary bg-opacity-20 rounded-lg flex items-center justify-center text-secondary text-2xl mb-6">
|
| 314 |
+
<i class="fas fa-users"></i>
|
| 315 |
+
</div>
|
| 316 |
+
<h3 class="text-xl font-bold mb-3">团队协作</h3>
|
| 317 |
+
<p class="text-gray-400">
|
| 318 |
+
作为团队的一员,我重视沟通与协作,能够与设计师、产品经理和其他开发者有效合作,共同实现项目目标。
|
| 319 |
+
</p>
|
| 320 |
+
</div>
|
| 321 |
+
|
| 322 |
+
<div class="card glow p-8">
|
| 323 |
+
<div class="w-16 h-16 bg-accent bg-opacity-20 rounded-lg flex items-center justify-center text-accent text-2xl mb-6">
|
| 324 |
+
<i class="fas fa-rocket"></i>
|
| 325 |
+
</div>
|
| 326 |
+
<h3 class="text-xl font-bold mb-3">快速学习</h3>
|
| 327 |
+
<p class="text-gray-400">
|
| 328 |
+
技术领域日新月异,我始终保持学习的态度,能够快速掌握新技术并将其应用到实际项目中。
|
| 329 |
+
</p>
|
| 330 |
+
</div>
|
| 331 |
+
</div>
|
| 332 |
+
</section>
|
| 333 |
+
|
| 334 |
+
<!-- 技能部分 -->
|
| 335 |
+
<section id="skills" class="mb-24">
|
| 336 |
+
<div class="flex items-center mb-12">
|
| 337 |
+
<h2 class="text-3xl font-bold tech-font gradient-text mr-4">我的技能</h2>
|
| 338 |
+
<div class="flex-1 h-px bg-gradient-to-r from-primary to-transparent"></div>
|
| 339 |
+
</div>
|
| 340 |
+
|
| 341 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 342 |
+
<div class="card p-8">
|
| 343 |
+
<h3 class="text-xl font-bold mb-6 flex items-center">
|
| 344 |
+
<i class="fas fa-laptop-code mr-3 text-primary"></i>
|
| 345 |
+
<span>技术技能</span>
|
| 346 |
+
</h3>
|
| 347 |
+
|
| 348 |
+
<div class="space-y-6">
|
| 349 |
+
<div>
|
| 350 |
+
<div class="flex justify-between mb-2">
|
| 351 |
+
<span class="text-gray-300">HTML/CSS</span>
|
| 352 |
+
<span class="text-primary">95%</span>
|
| 353 |
+
</div>
|
| 354 |
+
<div class="skill-bar">
|
| 355 |
+
<div class="skill-progress" style="width: 95%"></div>
|
| 356 |
+
</div>
|
| 357 |
+
</div>
|
| 358 |
+
|
| 359 |
+
<div>
|
| 360 |
+
<div class="flex justify-between mb-2">
|
| 361 |
+
<span class="text-gray-300">JavaScript</span>
|
| 362 |
+
<span class="text-primary">90%</span>
|
| 363 |
+
</div>
|
| 364 |
+
<div class="skill-bar">
|
| 365 |
+
<div class="skill-progress" style="width: 90%"></div>
|
| 366 |
+
</div>
|
| 367 |
+
</div>
|
| 368 |
+
|
| 369 |
+
<div>
|
| 370 |
+
<div class="flex justify-between mb-2">
|
| 371 |
+
<span class="text-gray-300">React</span>
|
| 372 |
+
<span class="text-primary">85%</span>
|
| 373 |
+
</div>
|
| 374 |
+
<div class="skill-bar">
|
| 375 |
+
<div class="skill-progress" style="width: 85%"></div>
|
| 376 |
+
</div>
|
| 377 |
+
</div>
|
| 378 |
+
|
| 379 |
+
<div>
|
| 380 |
+
<div class="flex justify-between mb-2">
|
| 381 |
+
<span class="text-gray-300">Node.js</span>
|
| 382 |
+
<span class="text-primary">80%</span>
|
| 383 |
+
</div>
|
| 384 |
+
<div class="skill-bar">
|
| 385 |
+
<div class="skill-progress" style="width: 80%"></div>
|
| 386 |
+
</div>
|
| 387 |
+
</div>
|
| 388 |
+
</div>
|
| 389 |
+
</div>
|
| 390 |
+
|
| 391 |
+
<div class="card p-8">
|
| 392 |
+
<h3 class="text-xl font-bold mb-6 flex items-center">
|
| 393 |
+
<i class="fas fa-paint-brush mr-3 text-secondary"></i>
|
| 394 |
+
<span>设计技能</span>
|
| 395 |
+
</h3>
|
| 396 |
+
|
| 397 |
+
<div class="space-y-6">
|
| 398 |
+
<div>
|
| 399 |
+
<div class="flex justify-between mb-2">
|
| 400 |
+
<span class="text-gray-300">UI/UX设计</span>
|
| 401 |
+
<span class="text-secondary">90%</span>
|
| 402 |
+
</div>
|
| 403 |
+
<div class="skill-bar">
|
| 404 |
+
<div class="skill-progress" style="width: 90%"></div>
|
| 405 |
+
</div>
|
| 406 |
+
</div>
|
| 407 |
+
|
| 408 |
+
<div>
|
| 409 |
+
<div class="flex justify-between mb-2">
|
| 410 |
+
<span class="text-gray-300">Figma</span>
|
| 411 |
+
<span class="text-secondary">85%</span>
|
| 412 |
+
</div>
|
| 413 |
+
<div class="skill-bar">
|
| 414 |
+
<div class="skill-progress" style="width: 85%"></div>
|
| 415 |
+
</div>
|
| 416 |
+
</div>
|
| 417 |
+
|
| 418 |
+
<div>
|
| 419 |
+
<div class="flex justify-between mb-2">
|
| 420 |
+
<span class="text-gray-300">Adobe XD</span>
|
| 421 |
+
<span class="text-secondary">80%</span>
|
| 422 |
+
</div>
|
| 423 |
+
<div class="skill-bar">
|
| 424 |
+
<div class="skill-progress" style="width: 80%"></div>
|
| 425 |
+
</div>
|
| 426 |
+
</div>
|
| 427 |
+
|
| 428 |
+
<div>
|
| 429 |
+
<div class="flex justify-between mb-2">
|
| 430 |
+
<span class="text-gray-300">Photoshop</span>
|
| 431 |
+
<span class="text-secondary">75%</span>
|
| 432 |
+
</div>
|
| 433 |
+
<div class="skill-bar">
|
| 434 |
+
<div class="skill-progress" style="width: 75%"></div>
|
| 435 |
+
</div>
|
| 436 |
+
</div>
|
| 437 |
+
</div>
|
| 438 |
+
</div>
|
| 439 |
+
</div>
|
| 440 |
+
</section>
|
| 441 |
+
|
| 442 |
+
<!-- 项目部分 -->
|
| 443 |
+
<section id="projects" class="mb-24">
|
| 444 |
+
<div class="flex items-center mb-12">
|
| 445 |
+
<h2 class="text-3xl font-bold tech-font gradient-text mr-4">精选项目</h2>
|
| 446 |
+
<div class="flex-1 h-px bg-gradient-to-r from-primary to-transparent"></div>
|
| 447 |
+
</div>
|
| 448 |
+
|
| 449 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
| 450 |
+
<!-- 项目1 -->
|
| 451 |
+
<div class="card glow overflow-hidden group">
|
| 452 |
+
<div class="relative overflow-hidden h-48">
|
| 453 |
+
<img src="https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80"
|
| 454 |
+
alt="Project 1"
|
| 455 |
+
class="w-full h-full object-cover transition-transform duration-500 group-hover:scale-110">
|
| 456 |
+
<div class="absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-80"></div>
|
| 457 |
+
<div class="absolute bottom-4 left-4">
|
| 458 |
+
<span class="bg-primary text-white text-xs px-2 py-1 rounded">Web应用</span>
|
| 459 |
+
</div>
|
| 460 |
+
</div>
|
| 461 |
+
<div class="p-6">
|
| 462 |
+
<h3 class="text-xl font-bold mb-2">数据分析平台</h3>
|
| 463 |
+
<p class="text-gray-400 mb-4">一个强大的数据可视化和分析工具,帮助企业做出数据驱动的决策。</p>
|
| 464 |
+
<div class="flex flex-wrap gap-2 mb-4">
|
| 465 |
+
<span class="text-xs bg-gray-800 text-gray-300 px-2 py-1 rounded">React</span>
|
| 466 |
+
<span class="text-xs bg-gray-800 text-gray-300 px-2 py-1 rounded">D3.js</span>
|
| 467 |
+
<span class="text-xs bg-gray-800 text-gray-300 px-2 py-1 rounded">Node.js</span>
|
| 468 |
+
</div>
|
| 469 |
+
<a href="#" class="text-primary text-sm font-medium flex items-center hover:text-secondary transition-colors">
|
| 470 |
+
<span>查看详情</span>
|
| 471 |
+
<i class="fas fa-arrow-right ml-2"></i>
|
| 472 |
+
</a>
|
| 473 |
+
</div>
|
| 474 |
+
</div>
|
| 475 |
+
|
| 476 |
+
<!-- 项目2 -->
|
| 477 |
+
<div class="card glow overflow-hidden group">
|
| 478 |
+
<div class="relative overflow-hidden h-48">
|
| 479 |
+
<img src="https://images.unsplash.com/photo-1467232004584-a241de8b3885?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1469&q=80"
|
| 480 |
+
alt="Project 2"
|
| 481 |
+
class="w-full h-full object-cover transition-transform duration-500 group-hover:scale-110">
|
| 482 |
+
<div class="absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-80"></div>
|
| 483 |
+
<div class="absolute bottom-4 left-4">
|
| 484 |
+
<span class="bg-secondary text-white text-xs px-2 py-1 rounded">移动应用</span>
|
| 485 |
+
</div>
|
| 486 |
+
</div>
|
| 487 |
+
<div class="p-6">
|
| 488 |
+
<h3 class="text-xl font-bold mb-2">健康追踪应用</h3>
|
| 489 |
+
<p class="text-gray-400 mb-4">一款全面的健康管理应用,帮助用户追踪运动、饮食和睡眠数据。</p>
|
| 490 |
+
<div class="flex flex-wrap gap-2 mb-4">
|
| 491 |
+
<span class="text-xs bg-gray-800 text-gray-300 px-2 py-1 rounded">Flutter</span>
|
| 492 |
+
<span class="text-xs bg-gray-800 text-gray-300 px-2 py-1 rounded">Firebase</span>
|
| 493 |
+
<span class="text-xs bg-gray-800 text-gray-300 px-2 py-1 rounded">HealthKit</span>
|
| 494 |
+
</div>
|
| 495 |
+
<a href="#" class="text-primary text-sm font-medium flex items-center hover:text-secondary transition-colors">
|
| 496 |
+
<span>查看详情</span>
|
| 497 |
+
<i class="fas fa-arrow-right ml-2"></i>
|
| 498 |
+
</a>
|
| 499 |
+
</div>
|
| 500 |
+
</div>
|
| 501 |
+
|
| 502 |
+
<!-- 项目3 -->
|
| 503 |
+
<div class="card glow overflow-hidden group">
|
| 504 |
+
<div class="relative overflow-hidden h-48">
|
| 505 |
+
<img src="https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80"
|
| 506 |
+
alt="Project 3"
|
| 507 |
+
class="w-full h-full object-cover transition-transform duration-500 group-hover:scale-110">
|
| 508 |
+
<div class="absolute inset-0 bg-gradient-to-t from-dark to-transparent opacity-80"></div>
|
| 509 |
+
<div class="absolute bottom-4 left-4">
|
| 510 |
+
<span class="bg-accent text-white text-xs px-2 py-1 rounded">电商平台</span>
|
| 511 |
+
</div>
|
| 512 |
+
</div>
|
| 513 |
+
<div class="p-6">
|
| 514 |
+
<h3 class="text-xl font-bold mb-2">时尚电商平台</h3>
|
| 515 |
+
<p class="text-gray-400 mb-4">一个现代化的电子商务平台,提供个性化的购物体验和推荐系统。</p>
|
| 516 |
+
<div class="flex flex-wrap gap-2 mb-4">
|
| 517 |
+
<span class="text-xs bg-gray-800 text-gray-300 px-2 py-1 rounded">Vue.js</span>
|
| 518 |
+
<span class="text-xs bg-gray-800 text-gray-300 px-2 py-1 rounded">Laravel</span>
|
| 519 |
+
<span class="text-xs bg-gray-800 text-gray-300 px-2 py-1 rounded">Stripe</span>
|
| 520 |
+
</div>
|
| 521 |
+
<a href="#" class="text-primary text-sm font-medium flex items-center hover:text-secondary transition-colors">
|
| 522 |
+
<span>查看详情</span>
|
| 523 |
+
<i class="fas fa-arrow-right ml-2"></i>
|
| 524 |
+
</a>
|
| 525 |
+
</div>
|
| 526 |
+
</div>
|
| 527 |
+
</div>
|
| 528 |
+
|
| 529 |
+
<div class="text-center mt-12">
|
| 530 |
+
<a href="#" class="inline-flex items-center px-6 py-3 border border-gray-700 rounded-full text-white font-medium hover:bg-gray-800 transition-all duration-300">
|
| 531 |
+
<i class="fas fa-folder-open mr-2"></i>
|
| 532 |
+
<span>查看所有项目</span>
|
| 533 |
+
</a>
|
| 534 |
+
</div>
|
| 535 |
+
</section>
|
| 536 |
+
|
| 537 |
+
<!-- 联系部分 -->
|
| 538 |
+
<section id="contact" class="mb-24">
|
| 539 |
+
<div class="flex items-center mb-12">
|
| 540 |
+
<h2 class="text-3xl font-bold tech-font gradient-text mr-4">联系我</h2>
|
| 541 |
+
<div class="flex-1 h-px bg-gradient-to-r from-primary to-transparent"></div>
|
| 542 |
+
</div>
|
| 543 |
+
|
| 544 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 545 |
+
<div class="card p-8">
|
| 546 |
+
<h3 class="text-xl font-bold mb-6">联系方式</h3>
|
| 547 |
+
|
| 548 |
+
<div class="space-y-6">
|
| 549 |
+
<div class="flex items-start">
|
| 550 |
+
<div class="w-10 h-10 bg-primary bg-opacity-20 rounded-full flex items-center justify-center text-primary mr-4 mt-1">
|
| 551 |
+
<i class="fas fa-envelope"></i>
|
| 552 |
+
</div>
|
| 553 |
+
<div>
|
| 554 |
+
<h4 class="text-gray-400 mb-1">电子邮件</h4>
|
| 555 |
+
<a href="mailto:zhangkeji@example.com" class="text-white hover:text-primary transition-colors">zhangkeji@example.com</a>
|
| 556 |
+
</div>
|
| 557 |
+
</div>
|
| 558 |
+
|
| 559 |
+
<div class="flex items-start">
|
| 560 |
+
<div class="w-10 h-10 bg-secondary bg-opacity-20 rounded-full flex items-center justify-center text-secondary mr-4 mt-1">
|
| 561 |
+
<i class="fas fa-phone-alt"></i>
|
| 562 |
+
</div>
|
| 563 |
+
<div>
|
| 564 |
+
<h4 class="text-gray-400 mb-1">电话</h4>
|
| 565 |
+
<a href="tel:+8613812345678" class="text-white hover:text-secondary transition-colors">+86 138 1234 5678</a>
|
| 566 |
+
</div>
|
| 567 |
+
</div>
|
| 568 |
+
|
| 569 |
+
<div class="flex items-start">
|
| 570 |
+
<div class="w-10 h-10 bg-accent bg-opacity-20 rounded-full flex items-center justify-center text-accent mr-4 mt-1">
|
| 571 |
+
<i class="fas fa-map-marker-alt"></i>
|
| 572 |
+
</div>
|
| 573 |
+
<div>
|
| 574 |
+
<h4 class="text-gray-400 mb-1">地址</h4>
|
| 575 |
+
<p class="text-white">中国北京市海淀区科技园区88号</p>
|
| 576 |
+
</div>
|
| 577 |
+
</div>
|
| 578 |
+
</div>
|
| 579 |
+
|
| 580 |
+
<div class="mt-8 pt-6 border-t border-gray-800">
|
| 581 |
+
<h4 class="text-gray-400 mb-4">社交媒体</h4>
|
| 582 |
+
<div class="flex space-x-4">
|
| 583 |
+
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center text-white hover:bg-primary transition-all">
|
| 584 |
+
<i class="fab fa-github"></i>
|
| 585 |
+
</a>
|
| 586 |
+
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center text-white hover:bg-blue-500 transition-all">
|
| 587 |
+
<i class="fab fa-linkedin-in"></i>
|
| 588 |
+
</a>
|
| 589 |
+
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center text-white hover:bg-blue-400 transition-all">
|
| 590 |
+
<i class="fab fa-twitter"></i>
|
| 591 |
+
</a>
|
| 592 |
+
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center text-white hover:bg-pink-500 transition-all">
|
| 593 |
+
<i class="fab fa-dribbble"></i>
|
| 594 |
+
</a>
|
| 595 |
+
</div>
|
| 596 |
+
</div>
|
| 597 |
+
</div>
|
| 598 |
+
|
| 599 |
+
<div class="card p-8">
|
| 600 |
+
<h3 class="text-xl font-bold mb-6">发送消息</h3>
|
| 601 |
+
|
| 602 |
+
<form>
|
| 603 |
+
<div class="mb-6">
|
| 604 |
+
<label for="name" class="block text-gray-400 mb-2">姓名</label>
|
| 605 |
+
<input type="text" id="name" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 text-white focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent transition-all" placeholder="请输入您的姓名">
|
| 606 |
+
</div>
|
| 607 |
+
|
| 608 |
+
<div class="mb-6">
|
| 609 |
+
<label for="email" class="block text-gray-400 mb-2">电子邮件</label>
|
| 610 |
+
<input type="email" id="email" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 text-white focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent transition-all" placeholder="请输入您的电子邮件">
|
| 611 |
+
</div>
|
| 612 |
+
|
| 613 |
+
<div class="mb-6">
|
| 614 |
+
<label for="message" class="block text-gray-400 mb-2">消息</label>
|
| 615 |
+
<textarea id="message" rows="4" class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 text-white focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent transition-all" placeholder="请输入您的消息"></textarea>
|
| 616 |
+
</div>
|
| 617 |
+
|
| 618 |
+
<button type="submit" class="w-full bg-gradient-to-r from-primary to-secondary text-white font-medium py-3 px-6 rounded-lg hover:shadow-lg transition-all duration-300 flex items-center justify-center">
|
| 619 |
+
<i class="fas fa-paper-plane mr-2"></i>
|
| 620 |
+
<span>发送消息</span>
|
| 621 |
+
</button>
|
| 622 |
+
</form>
|
| 623 |
+
</div>
|
| 624 |
+
</div>
|
| 625 |
+
</section>
|
| 626 |
+
|
| 627 |
+
<!-- 页脚 -->
|
| 628 |
+
<footer class="border-t border-gray-800 pt-12 pb-8">
|
| 629 |
+
<div class="flex flex-col md:flex-row items-center justify-between mb-8">
|
| 630 |
+
<div class="flex items-center mb-6 md:mb-0">
|
| 631 |
+
<div class="hexagon w-12 h-12 bg-gradient-to-r from-primary to-secondary flex items-center justify-center mr-4">
|
| 632 |
+
<i class="fas fa-code text-white"></i>
|
| 633 |
+
</div>
|
| 634 |
+
<h2 class="tech-font text-2xl gradient-text">TECH<span class="text-white">FOLIO</span></h2>
|
| 635 |
+
</div>
|
| 636 |
+
|
| 637 |
+
<div class="flex space-x-6">
|
| 638 |
+
<a href="#" class="text-gray-400 hover:text-primary transition-colors">首页</a>
|
| 639 |
+
<a href="#about" class="text-gray-400 hover:text-primary transition-colors">关于</a>
|
| 640 |
+
<a href="#skills" class="text-gray-400 hover:text-primary transition-colors">技能</a>
|
| 641 |
+
<a href="#projects" class="text-gray-400 hover:text-primary transition-colors">项目</a>
|
| 642 |
+
<a href="#contact" class="text-gray-400 hover:text-primary transition-colors">联系</a>
|
| 643 |
+
</div>
|
| 644 |
+
</div>
|
| 645 |
+
|
| 646 |
+
<div class="text-center text-gray-500 text-sm">
|
| 647 |
+
<p>© 2023 张科技个人主页. 保留所有权利.</p>
|
| 648 |
+
</div>
|
| 649 |
+
</footer>
|
| 650 |
+
</div>
|
| 651 |
+
|
| 652 |
+
<!-- 返回顶部按钮 -->
|
| 653 |
+
<button id="back-to-top" class="fixed bottom-8 right-8 w-12 h-12 bg-gray-800 rounded-full flex items-center justify-center text-white shadow-lg hover:bg-primary transition-all duration-300 opacity-0 invisible">
|
| 654 |
+
<i class="fas fa-arrow-up"></i>
|
| 655 |
+
</button>
|
| 656 |
+
|
| 657 |
+
<script>
|
| 658 |
+
// 加载动画
|
| 659 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 660 |
+
let progress = 0;
|
| 661 |
+
const progressBar = document.getElementById('progress-bar');
|
| 662 |
+
const loader = document.getElementById('loader');
|
| 663 |
+
const mainContent = document.getElementById('main-content');
|
| 664 |
+
|
| 665 |
+
const interval = setInterval(() => {
|
| 666 |
+
progress += 1;
|
| 667 |
+
progressBar.style.width = progress + '%';
|
| 668 |
+
|
| 669 |
+
if (progress >= 100) {
|
| 670 |
+
clearInterval(interval);
|
| 671 |
+
setTimeout(() => {
|
| 672 |
+
loader.style.opacity = '0';
|
| 673 |
+
setTimeout(() => {
|
| 674 |
+
loader.style.display = 'none';
|
| 675 |
+
mainContent.style.opacity = '1';
|
| 676 |
+
}, 500);
|
| 677 |
+
}, 300);
|
| 678 |
+
}
|
| 679 |
+
}, 30);
|
| 680 |
+
|
| 681 |
+
// 返回顶部按钮
|
| 682 |
+
const backToTopButton = document.getElementById('back-to-top');
|
| 683 |
+
|
| 684 |
+
window.addEventListener('scroll', function() {
|
| 685 |
+
if (window.pageYOffset > 300) {
|
| 686 |
+
backToTopButton.style.opacity = '1';
|
| 687 |
+
backToTopButton.style.visibility = 'visible';
|
| 688 |
+
} else {
|
| 689 |
+
backToTopButton.style.opacity = '0';
|
| 690 |
+
backToTopButton.style.visibility = 'hidden';
|
| 691 |
+
}
|
| 692 |
+
});
|
| 693 |
+
|
| 694 |
+
backToTopButton.addEventListener('click', function() {
|
| 695 |
+
window.scrollTo({
|
| 696 |
+
top: 0,
|
| 697 |
+
behavior: 'smooth'
|
| 698 |
+
});
|
| 699 |
+
});
|
| 700 |
+
|
| 701 |
+
// 平滑滚动
|
| 702 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 703 |
+
anchor.addEventListener('click', function(e) {
|
| 704 |
+
e.preventDefault();
|
| 705 |
+
|
| 706 |
+
const targetId = this.getAttribute('href');
|
| 707 |
+
if (targetId === '#') return;
|
| 708 |
+
|
| 709 |
+
const targetElement = document.querySelector(targetId);
|
| 710 |
+
if (targetElement) {
|
| 711 |
+
window.scrollTo({
|
| 712 |
+
top: targetElement.offsetTop - 80,
|
| 713 |
+
behavior: 'smooth'
|
| 714 |
+
});
|
| 715 |
+
}
|
| 716 |
+
});
|
| 717 |
+
});
|
| 718 |
+
|
| 719 |
+
// 技能条动画
|
| 720 |
+
const skillSections = document.querySelectorAll('.skill-progress');
|
| 721 |
+
|
| 722 |
+
const observer = new IntersectionObserver((entries) => {
|
| 723 |
+
entries.forEach(entry => {
|
| 724 |
+
if (entry.isIntersecting) {
|
| 725 |
+
const width = entry.target.style.width;
|
| 726 |
+
entry.target.style.width = '0%';
|
| 727 |
+
setTimeout(() => {
|
| 728 |
+
entry.target.style.width = width;
|
| 729 |
+
}, 100);
|
| 730 |
+
}
|
| 731 |
+
});
|
| 732 |
+
}, { threshold: 0.1 });
|
| 733 |
+
|
| 734 |
+
skillSections.forEach(skill => {
|
| 735 |
+
observer.observe(skill);
|
| 736 |
+
});
|
| 737 |
+
});
|
| 738 |
+
</script>
|
| 739 |
+
<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=ixingchen/home" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 740 |
+
</html>
|
prompts.txt
ADDED
|
File without changes
|