muneebable commited on
Commit
f5f0170
·
verified ·
1 Parent(s): 7d7b0f2

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +6 -4
  2. index.html +599 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: 3d Portfolio
3
- emoji: 👀
4
- colorFrom: blue
5
  colorTo: pink
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: 3d-portfolio
3
+ emoji: 🐳
4
+ colorFrom: red
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,599 @@
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="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>3D Portfolio | Creative Developer</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
10
+ <style>
11
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
12
+
13
+ body {
14
+ font-family: 'Poppins', sans-serif;
15
+ overflow-x: hidden;
16
+ background: #0f0f1a;
17
+ color: #fff;
18
+ }
19
+
20
+ .perspective {
21
+ perspective: 1000px;
22
+ }
23
+
24
+ .card-3d {
25
+ transform-style: preserve-3d;
26
+ transition: transform 0.5s ease;
27
+ }
28
+
29
+ .gradient-text {
30
+ background: linear-gradient(90deg, #ff4d4d, #f9cb28);
31
+ -webkit-background-clip: text;
32
+ background-clip: text;
33
+ color: transparent;
34
+ }
35
+
36
+ .floating {
37
+ animation: floating 6s ease-in-out infinite;
38
+ }
39
+
40
+ @keyframes floating {
41
+ 0% { transform: translateY(0px); }
42
+ 50% { transform: translateY(-20px); }
43
+ 100% { transform: translateY(0px); }
44
+ }
45
+
46
+ #canvas-container {
47
+ position: fixed;
48
+ top: 0;
49
+ left: 0;
50
+ width: 100%;
51
+ height: 100%;
52
+ z-index: -1;
53
+ }
54
+
55
+ .skill-bar {
56
+ transform: rotateX(45deg);
57
+ box-shadow: 0 10px 20px rgba(0,0,0,0.3);
58
+ }
59
+
60
+ .nav-item {
61
+ position: relative;
62
+ }
63
+
64
+ .nav-item::after {
65
+ content: '';
66
+ position: absolute;
67
+ width: 0;
68
+ height: 2px;
69
+ bottom: -5px;
70
+ left: 0;
71
+ background: linear-gradient(90deg, #ff4d4d, #f9cb28);
72
+ transition: width 0.3s ease;
73
+ }
74
+
75
+ .nav-item:hover::after {
76
+ width: 100%;
77
+ }
78
+
79
+ .project-card:hover {
80
+ transform: translateY(-10px) rotateY(5deg);
81
+ box-shadow: 0 20px 30px rgba(0,0,0,0.4);
82
+ }
83
+ </style>
84
+ </head>
85
+ <body class="min-h-screen">
86
+ <!-- 3D Background Canvas -->
87
+ <div id="canvas-container"></div>
88
+
89
+ <!-- Floating Navigation -->
90
+ <nav class="fixed top-0 left-0 right-0 z-50 py-4 px-8 backdrop-blur-md bg-black bg-opacity-30">
91
+ <div class="max-w-6xl mx-auto flex justify-between items-center">
92
+ <div class="text-2xl font-bold gradient-text">3D PORTFOLIO</div>
93
+ <div class="hidden md:flex space-x-8">
94
+ <a href="#home" class="nav-item text-white hover:text-yellow-300 transition">Home</a>
95
+ <a href="#about" class="nav-item text-white hover:text-yellow-300 transition">About</a>
96
+ <a href="#skills" class="nav-item text-white hover:text-yellow-300 transition">Skills</a>
97
+ <a href="#projects" class="nav-item text-white hover:text-yellow-300 transition">Projects</a>
98
+ <a href="#contact" class="nav-item text-white hover:text-yellow-300 transition">Contact</a>
99
+ </div>
100
+ <button class="md:hidden text-white">
101
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
102
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
103
+ </svg>
104
+ </button>
105
+ </div>
106
+ </nav>
107
+
108
+ <!-- Hero Section -->
109
+ <section id="home" class="min-h-screen flex items-center justify-center px-4 pt-20">
110
+ <div class="max-w-6xl mx-auto text-center perspective">
111
+ <div class="card-3d floating">
112
+ <h1 class="text-5xl md:text-7xl font-bold mb-6 gradient-text">HELLO, I'M <span class="text-yellow-300">ALEX</span></h1>
113
+ <h2 class="text-2xl md:text-3xl mb-8 text-gray-300">3D Web Developer & Designer</h2>
114
+ <div class="flex justify-center space-x-4">
115
+ <button class="px-8 py-3 bg-gradient-to-r from-red-500 to-yellow-500 rounded-full font-semibold transform hover:scale-110 transition duration-300 shadow-lg">
116
+ View Work
117
+ </button>
118
+ <button class="px-8 py-3 border-2 border-yellow-400 text-yellow-400 rounded-full font-semibold transform hover:scale-110 transition duration-300 hover:bg-yellow-400 hover:bg-opacity-10">
119
+ Contact Me
120
+ </button>
121
+ </div>
122
+ </div>
123
+ </div>
124
+ </section>
125
+
126
+ <!-- About Section -->
127
+ <section id="about" class="py-20 px-4">
128
+ <div class="max-w-6xl mx-auto">
129
+ <h2 class="text-4xl font-bold mb-16 text-center gradient-text">ABOUT ME</h2>
130
+ <div class="grid md:grid-cols-2 gap-12 items-center">
131
+ <div class="perspective">
132
+ <div class="card-3d bg-gray-900 bg-opacity-50 p-8 rounded-2xl backdrop-blur-sm border border-gray-800 transform hover:rotateY-10 transition duration-500">
133
+ <h3 class="text-2xl font-semibold mb-4 text-yellow-400">Who am I?</h3>
134
+ <p class="text-gray-300 mb-4">
135
+ I'm a passionate 3D web developer with 5+ years of experience creating immersive digital experiences.
136
+ I specialize in blending cutting-edge 3D technologies with elegant UI/UX design.
137
+ </p>
138
+ <p class="text-gray-300 mb-6">
139
+ My mission is to push the boundaries of web development by incorporating 3D elements that enhance user engagement
140
+ without compromising performance.
141
+ </p>
142
+ <div class="flex flex-wrap gap-4">
143
+ <div class="px-4 py-2 bg-gray-800 rounded-full text-sm">Three.js</div>
144
+ <div class="px-4 py-2 bg-gray-800 rounded-full text-sm">WebGL</div>
145
+ <div class="px-4 py-2 bg-gray-800 rounded-full text-sm">GSAP</div>
146
+ <div class="px-4 py-2 bg-gray-800 rounded-full text-sm">React</div>
147
+ </div>
148
+ </div>
149
+ </div>
150
+ <div class="relative h-80 perspective">
151
+ <div class="absolute inset-0 bg-gradient-to-br from-red-500 to-yellow-500 rounded-2xl opacity-20 blur-xl"></div>
152
+ <div class="absolute inset-0 bg-gray-900 bg-opacity-50 rounded-2xl backdrop-blur-sm border border-gray-800 flex items-center justify-center">
153
+ <div class="text-center p-8">
154
+ <div class="w-32 h-32 mx-auto mb-6 rounded-full bg-gradient-to-r from-red-500 to-yellow-500 flex items-center justify-center text-4xl font-bold">
155
+ AJ
156
+ </div>
157
+ <h3 class="text-xl font-semibold mb-2">Alex Johnson</h3>
158
+ <p class="text-gray-400">3D Web Developer</p>
159
+ </div>
160
+ </div>
161
+ </div>
162
+ </div>
163
+ </div>
164
+ </section>
165
+
166
+ <!-- Skills Section -->
167
+ <section id="skills" class="py-20 px-4 bg-gray-900 bg-opacity-50">
168
+ <div class="max-w-6xl mx-auto">
169
+ <h2 class="text-4xl font-bold mb-16 text-center gradient-text">MY SKILLS</h2>
170
+ <div class="grid md:grid-cols-3 gap-8">
171
+ <!-- Skill 1 -->
172
+ <div class="perspective">
173
+ <div class="card-3d bg-gray-900 bg-opacity-70 p-6 rounded-2xl backdrop-blur-sm border border-gray-800 h-full transform hover:rotateY-5 transition duration-500">
174
+ <div class="flex items-center mb-4">
175
+ <div class="w-12 h-12 rounded-full bg-gradient-to-r from-red-500 to-yellow-500 flex items-center justify-center mr-4">
176
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
177
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
178
+ </svg>
179
+ </div>
180
+ <h3 class="text-xl font-semibold">3D Development</h3>
181
+ </div>
182
+ <p class="text-gray-400 mb-4">Creating immersive 3D experiences for the web using Three.js, WebGL, and other modern technologies.</p>
183
+ <div class="mt-6">
184
+ <div class="flex justify-between mb-2">
185
+ <span>Three.js</span>
186
+ <span>90%</span>
187
+ </div>
188
+ <div class="w-full bg-gray-800 rounded-full h-2">
189
+ <div class="skill-bar bg-gradient-to-r from-red-500 to-yellow-500 h-2 rounded-full" style="width: 90%"></div>
190
+ </div>
191
+ </div>
192
+ </div>
193
+ </div>
194
+
195
+ <!-- Skill 2 -->
196
+ <div class="perspective">
197
+ <div class="card-3d bg-gray-900 bg-opacity-70 p-6 rounded-2xl backdrop-blur-sm border border-gray-800 h-full transform hover:rotateY-5 transition duration-500">
198
+ <div class="flex items-center mb-4">
199
+ <div class="w-12 h-12 rounded-full bg-gradient-to-r from-red-500 to-yellow-500 flex items-center justify-center mr-4">
200
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
201
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01" />
202
+ </svg>
203
+ </div>
204
+ <h3 class="text-xl font-semibold">UI/UX Design</h3>
205
+ </div>
206
+ <p class="text-gray-400 mb-4">Designing beautiful, intuitive interfaces that prioritize user experience and accessibility.</p>
207
+ <div class="mt-6">
208
+ <div class="flex justify-between mb-2">
209
+ <span>Figma</span>
210
+ <span>85%</span>
211
+ </div>
212
+ <div class="w-full bg-gray-800 rounded-full h-2">
213
+ <div class="skill-bar bg-gradient-to-r from-red-500 to-yellow-500 h-2 rounded-full" style="width: 85%"></div>
214
+ </div>
215
+ </div>
216
+ </div>
217
+ </div>
218
+
219
+ <!-- Skill 3 -->
220
+ <div class="perspective">
221
+ <div class="card-3d bg-gray-900 bg-opacity-70 p-6 rounded-2xl backdrop-blur-sm border border-gray-800 h-full transform hover:rotateY-5 transition duration-500">
222
+ <div class="flex items-center mb-4">
223
+ <div class="w-12 h-12 rounded-full bg-gradient-to-r from-red-500 to-yellow-500 flex items-center justify-center mr-4">
224
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
225
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4" />
226
+ </svg>
227
+ </div>
228
+ <h3 class="text-xl font-semibold">Frontend Development</h3>
229
+ </div>
230
+ <p class="text-gray-400 mb-4">Building responsive, performant websites with modern frameworks and best practices.</p>
231
+ <div class="mt-6">
232
+ <div class="flex justify-between mb-2">
233
+ <span>React</span>
234
+ <span>95%</span>
235
+ </div>
236
+ <div class="w-full bg-gray-800 rounded-full h-2">
237
+ <div class="skill-bar bg-gradient-to-r from-red-500 to-yellow-500 h-2 rounded-full" style="width: 95%"></div>
238
+ </div>
239
+ </div>
240
+ </div>
241
+ </div>
242
+ </div>
243
+ </div>
244
+ </section>
245
+
246
+ <!-- Projects Section -->
247
+ <section id="projects" class="py-20 px-4">
248
+ <div class="max-w-6xl mx-auto">
249
+ <h2 class="text-4xl font-bold mb-16 text-center gradient-text">MY PROJECTS</h2>
250
+ <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
251
+ <!-- Project 1 -->
252
+ <div class="perspective">
253
+ <div class="card-3d project-card bg-gray-900 bg-opacity-50 rounded-2xl overflow-hidden border border-gray-800 transition duration-500 h-full">
254
+ <div class="h-48 bg-gradient-to-r from-red-500 to-yellow-500 flex items-center justify-center">
255
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-20 w-20 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor">
256
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
257
+ </svg>
258
+ </div>
259
+ <div class="p-6">
260
+ <h3 class="text-xl font-semibold mb-2">3D Portfolio Builder</h3>
261
+ <p class="text-gray-400 mb-4">A customizable 3D portfolio template with interactive elements.</p>
262
+ <div class="flex flex-wrap gap-2 mb-4">
263
+ <span class="text-xs px-3 py-1 bg-gray-800 rounded-full">Three.js</span>
264
+ <span class="text-xs px-3 py-1 bg-gray-800 rounded-full">GSAP</span>
265
+ <span class="text-xs px-3 py-1 bg-gray-800 rounded-full">WebGL</span>
266
+ </div>
267
+ <a href="#" class="text-yellow-400 hover:text-yellow-300 font-medium">View Project →</a>
268
+ </div>
269
+ </div>
270
+ </div>
271
+
272
+ <!-- Project 2 -->
273
+ <div class="perspective">
274
+ <div class="card-3d project-card bg-gray-900 bg-opacity-50 rounded-2xl overflow-hidden border border-gray-800 transition duration-500 h-full">
275
+ <div class="h-48 bg-gradient-to-r from-purple-500 to-pink-500 flex items-center justify-center">
276
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-20 w-20 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor">
277
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
278
+ </svg>
279
+ </div>
280
+ <div class="p-6">
281
+ <h3 class="text-xl font-semibold mb-2">VR Museum Experience</h3>
282
+ <p class="text-gray-400 mb-4">A virtual reality museum with WebXR and Three.js integration.</p>
283
+ <div class="flex flex-wrap gap-2 mb-4">
284
+ <span class="text-xs px-3 py-1 bg-gray-800 rounded-full">WebXR</span>
285
+ <span class="text-xs px-3 py-1 bg-gray-800 rounded-full">Three.js</span>
286
+ <span class="text-xs px-3 py-1 bg-gray-800 rounded-full">A-Frame</span>
287
+ </div>
288
+ <a href="#" class="text-yellow-400 hover:text-yellow-300 font-medium">View Project →</a>
289
+ </div>
290
+ </div>
291
+ </div>
292
+
293
+ <!-- Project 3 -->
294
+ <div class="perspective">
295
+ <div class="card-3d project-card bg-gray-900 bg-opacity-50 rounded-2xl overflow-hidden border border-gray-800 transition duration-500 h-full">
296
+ <div class="h-48 bg-gradient-to-r from-blue-500 to-teal-400 flex items-center justify-center">
297
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-20 w-20 text-white" fill="none" viewBox="0 0 24 24" stroke="currentColor">
298
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" />
299
+ </svg>
300
+ </div>
301
+ <div class="p-6">
302
+ <h3 class="text-xl font-semibold mb-2">Data Visualization Suite</h3>
303
+ <p class="text-gray-400 mb-4">Interactive 3D data visualizations for complex datasets.</p>
304
+ <div class="flex flex-wrap gap-2 mb-4">
305
+ <span class="text-xs px-3 py-1 bg-gray-800 rounded-full">D3.js</span>
306
+ <span class="text-xs px-3 py-1 bg-gray-800 rounded-full">Three.js</span>
307
+ <span class="text-xs px-3 py-1 bg-gray-800 rounded-full">React</span>
308
+ </div>
309
+ <a href="#" class="text-yellow-400 hover:text-yellow-300 font-medium">View Project →</a>
310
+ </div>
311
+ </div>
312
+ </div>
313
+ </div>
314
+ </div>
315
+ </section>
316
+
317
+ <!-- Contact Section -->
318
+ <section id="contact" class="py-20 px-4 bg-gray-900 bg-opacity-50">
319
+ <div class="max-w-6xl mx-auto">
320
+ <h2 class="text-4xl font-bold mb-16 text-center gradient-text">GET IN TOUCH</h2>
321
+ <div class="grid md:grid-cols-2 gap-12">
322
+ <div class="perspective">
323
+ <div class="card-3d bg-gray-900 bg-opacity-70 p-8 rounded-2xl backdrop-blur-sm border border-gray-800 h-full">
324
+ <h3 class="text-2xl font-semibold mb-6 text-yellow-400">Contact Information</h3>
325
+ <div class="space-y-6">
326
+ <div class="flex items-start">
327
+ <div class="w-10 h-10 rounded-full bg-gradient-to-r from-red-500 to-yellow-500 flex items-center justify-center mr-4 flex-shrink-0">
328
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
329
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
330
+ </svg>
331
+ </div>
332
+ <div>
333
+ <h4 class="font-medium">Email</h4>
334
+ <p class="text-gray-400">[email protected]</p>
335
+ </div>
336
+ </div>
337
+
338
+ <div class="flex items-start">
339
+ <div class="w-10 h-10 rounded-full bg-gradient-to-r from-red-500 to-yellow-500 flex items-center justify-center mr-4 flex-shrink-0">
340
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
341
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z" />
342
+ </svg>
343
+ </div>
344
+ <div>
345
+ <h4 class="font-medium">Phone</h4>
346
+ <p class="text-gray-400">+1 (555) 123-4567</p>
347
+ </div>
348
+ </div>
349
+
350
+ <div class="flex items-start">
351
+ <div class="w-10 h-10 rounded-full bg-gradient-to-r from-red-500 to-yellow-500 flex items-center justify-center mr-4 flex-shrink-0">
352
+ <svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
353
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z" />
354
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z" />
355
+ </svg>
356
+ </div>
357
+ <div>
358
+ <h4 class="font-medium">Location</h4>
359
+ <p class="text-gray-400">San Francisco, CA</p>
360
+ </div>
361
+ </div>
362
+ </div>
363
+
364
+ <div class="mt-12">
365
+ <h4 class="font-medium mb-4">Follow Me</h4>
366
+ <div class="flex space-x-4">
367
+ <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-gradient-to-r from-red-500 to-yellow-500 transition">
368
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
369
+ <path d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z"/>
370
+ </svg>
371
+ </a>
372
+ <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-gradient-to-r from-red-500 to-yellow-500 transition">
373
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
374
+ <path d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854V1.146zm4.943 12.248V6.169H2.542v7.225h2.401zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248-.822 0-1.359.54-1.359 1.248 0 .694.521 1.248 1.327 1.248h.016zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016a5.54 5.54 0 0 1 .016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225h2.4z"/>
375
+ </svg>
376
+ </a>
377
+ <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-gradient-to-r from-red-500 to-yellow-500 transition">
378
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
379
+ <path d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z"/>
380
+ </svg>
381
+ </a>
382
+ <a href="#" class="w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-gradient-to-r from-red-500 to-yellow-500 transition">
383
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
384
+ <path d="M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.13c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.007 2.007 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.007 2.007 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31.4 31.4 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.007 2.007 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A99.788 99.788 0 0 1 7.858 2h.193zM6.4 5.209v4.818l4.157-2.408L6.4 5.209z"/>
385
+ </svg>
386
+ </a>
387
+ </div>
388
+ </div>
389
+ </div>
390
+ </div>
391
+
392
+ <div class="perspective">
393
+ <div class="card-3d bg-gray-900 bg-opacity-70 p-8 rounded-2xl backdrop-blur-sm border border-gray-800">
394
+ <h3 class="text-2xl font-semibold mb-6 text-yellow-400">Send Me a Message</h3>
395
+ <form class="space-y-6">
396
+ <div>
397
+ <label for="name" class="block text-sm font-medium mb-2">Name</label>
398
+ <input type="text" id="name" class="w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-yellow-500 focus:border-transparent" placeholder="Your name">
399
+ </div>
400
+ <div>
401
+ <label for="email" class="block text-sm font-medium mb-2">Email</label>
402
+ <input type="email" id="email" class="w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-yellow-500 focus:border-transparent" placeholder="Your email">
403
+ </div>
404
+ <div>
405
+ <label for="message" class="block text-sm font-medium mb-2">Message</label>
406
+ <textarea id="message" rows="4" class="w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-yellow-500 focus:border-transparent" placeholder="Your message"></textarea>
407
+ </div>
408
+ <button type="submit" class="w-full px-6 py-3 bg-gradient-to-r from-red-500 to-yellow-500 rounded-lg font-semibold hover:opacity-90 transition duration-300">
409
+ Send Message
410
+ </button>
411
+ </form>
412
+ </div>
413
+ </div>
414
+ </div>
415
+ </div>
416
+ </section>
417
+
418
+ <!-- Footer -->
419
+ <footer class="py-8 px-4 border-t border-gray-800">
420
+ <div class="max-w-6xl mx-auto text-center">
421
+ <div class="flex justify-center space-x-6 mb-6">
422
+ <a href="#" class="text-gray-400 hover:text-yellow-400 transition">
423
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
424
+ <path d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z"/>
425
+ </svg>
426
+ </a>
427
+ <a href="#" class="text-gray-400 hover:text-yellow-400 transition">
428
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
429
+ <path d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854V1.146zm4.943 12.248V6.169H2.542v7.225h2.401zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248-.822 0-1.359.54-1.359 1.248 0 .694.521 1.248 1.327 1.248h.016zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016a5.54 5.54 0 0 1 .016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225h2.4z"/>
430
+ </svg>
431
+ </a>
432
+ <a href="#" class="text-gray-400 hover:text-yellow-400 transition">
433
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
434
+ <path d="M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.13c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.007 2.007 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.007 2.007 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31.4 31.4 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.007 2.007 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A99.788 99.788 0 0 1 7.858 2h.193zM6.4 5.209v4.818l4.157-2.408L6.4 5.209z"/>
435
+ </svg>
436
+ </a>
437
+ <a href="#" class="text-gray-400 hover:text-yellow-400 transition">
438
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16">
439
+ <path d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z"/>
440
+ </svg>
441
+ </a>
442
+ </div>
443
+ <p class="text-gray-500 text-sm">© 2023 3D Portfolio. All rights reserved.</p>
444
+ </div>
445
+ </footer>
446
+
447
+ <script>
448
+ // Initialize Three.js scene
449
+ document.addEventListener('DOMContentLoaded', function() {
450
+ // Set up Three.js scene
451
+ const container = document.getElementById('canvas-container');
452
+ const scene = new THREE.Scene();
453
+ const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
454
+ const renderer = new THREE.WebGLRenderer({ alpha: true, antialias: true });
455
+
456
+ renderer.setSize(window.innerWidth, window.innerHeight);
457
+ container.appendChild(renderer.domElement);
458
+
459
+ // Add floating particles
460
+ const particlesGeometry = new THREE.BufferGeometry();
461
+ const particlesCount = 500;
462
+
463
+ const posArray = new Float32Array(particlesCount * 3);
464
+
465
+ for(let i = 0; i < particlesCount * 3; i++) {
466
+ posArray[i] = (Math.random() - 0.5) * 10;
467
+ }
468
+
469
+ particlesGeometry.setAttribute('position', new THREE.BufferAttribute(posArray, 3));
470
+
471
+ const particlesMaterial = new THREE.PointsMaterial({
472
+ size: 0.02,
473
+ color: 0xffffff,
474
+ transparent: true,
475
+ opacity: 0.8
476
+ });
477
+
478
+ const particlesMesh = new THREE.Points(particlesGeometry, particlesMaterial);
479
+ scene.add(particlesMesh);
480
+
481
+ // Add floating torus knot
482
+ const geometry = new THREE.TorusKnotGeometry(1, 0.3, 100, 16);
483
+ const material = new THREE.MeshBasicMaterial({
484
+ color: 0x00ffff,
485
+ wireframe: true,
486
+ transparent: true,
487
+ opacity: 0.5
488
+ });
489
+ const torusKnot = new THREE.Mesh(geometry, material);
490
+ scene.add(torusKnot);
491
+
492
+ camera.position.z = 5;
493
+
494
+ // Animation loop
495
+ function animate() {
496
+ requestAnimationFrame(animate);
497
+
498
+ particlesMesh.rotation.x += 0.0005;
499
+ particlesMesh.rotation.y += 0.0005;
500
+
501
+ torusKnot.rotation.x += 0.01;
502
+ torusKnot.rotation.y += 0.01;
503
+
504
+ renderer.render(scene, camera);
505
+ }
506
+
507
+ animate();
508
+
509
+ // Handle window resize
510
+ window.addEventListener('resize', function() {
511
+ camera.aspect = window.innerWidth / window.innerHeight;
512
+ camera.updateProjectionMatrix();
513
+ renderer.setSize(window.innerWidth, window.innerHeight);
514
+ });
515
+
516
+ // Add 3D hover effects to cards
517
+ const cards = document.querySelectorAll('.card-3d');
518
+
519
+ cards.forEach(card => {
520
+ card.addEventListener('mousemove', (e) => {
521
+ const xAxis = (window.innerWidth / 2 - e.pageX) / 25;
522
+ const yAxis = (window.innerHeight / 2 - e.pageY) / 25;
523
+ card.style.transform = `rotateY(${xAxis}deg) rotateX(${yAxis}deg)`;
524
+ });
525
+
526
+ card.addEventListener('mouseenter', () => {
527
+ card.style.transition = 'none';
528
+ });
529
+
530
+ card.addEventListener('mouseleave', () => {
531
+ card.style.transition = 'transform 0.5s ease';
532
+ card.style.transform = 'rotateY(0deg) rotateX(0deg)';
533
+ });
534
+ });
535
+
536
+ // Smooth scrolling for navigation
537
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
538
+ anchor.addEventListener('click', function (e) {
539
+ e.preventDefault();
540
+
541
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
542
+ behavior: 'smooth'
543
+ });
544
+ });
545
+ });
546
+
547
+ // GSAP animations
548
+ gsap.from('nav', {
549
+ duration: 1,
550
+ y: -50,
551
+ opacity: 0,
552
+ ease: 'power3.out'
553
+ });
554
+
555
+ gsap.from('#home h1', {
556
+ duration: 1,
557
+ y: 50,
558
+ opacity: 0,
559
+ delay: 0.5,
560
+ ease: 'power3.out'
561
+ });
562
+
563
+ gsap.from('#home h2', {
564
+ duration: 1,
565
+ y: 50,
566
+ opacity: 0,
567
+ delay: 0.8,
568
+ ease: 'power3.out'
569
+ });
570
+
571
+ gsap.from('#home button', {
572
+ duration: 1,
573
+ y: 50,
574
+ opacity: 0,
575
+ delay: 1.1,
576
+ ease: 'power3.out',
577
+ stagger: 0.2
578
+ });
579
+
580
+ // Scroll animations
581
+ const sections = document.querySelectorAll('section');
582
+
583
+ sections.forEach(section => {
584
+ gsap.from(section, {
585
+ scrollTrigger: {
586
+ trigger: section,
587
+ start: 'top 80%',
588
+ toggleActions: 'play none none none'
589
+ },
590
+ duration: 1,
591
+ y: 50,
592
+ opacity: 0,
593
+ ease: 'power3.out'
594
+ });
595
+ });
596
+ });
597
+ </script>
598
+ <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=muneebable/3d-portfolio" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
599
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Create a personal website like a portfolio website in 3d style