enzostvs HF Staff commited on
Commit
f660263
·
verified ·
1 Parent(s): a5c9de1

create a cool frontend engineer portfolio using a modern style with a darkmode style and some cool blurred blob gradient.

Browse files

Im mostly working with javascript: react, nodejs, typescript, vue and tailwind.
try to do the best version possible, i like these websites if you want some ideas:
tailwind, stripe, vercel

Files changed (4) hide show
  1. README.md +8 -5
  2. index.html +412 -19
  3. script.js +153 -0
  4. style.css +84 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Cooldev Portfolio
3
- emoji: 👀
4
- colorFrom: red
5
- colorTo: red
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: CoolDev Portfolio
3
+ colorFrom: gray
4
+ colorTo: pink
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
index.html CHANGED
@@ -1,19 +1,412 @@
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" class="scroll-smooth">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>CoolDev Frontend Engineer Portfolio</title>
7
+ <meta name="description" content="Portfolio of a frontend engineer specializing in JavaScript, React, Vue, TypeScript, Node.js and Tailwind." />
8
+ <meta name="theme-color" content="#0b0f17" />
9
+ <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 24 24' fill='none' stroke='%23a78bfa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20'/%3E%3Cpath d='M17 7H7a4 4 0 0 0 0 8h10a4 4 0 0 1 0 8Z'/%3E%3C/svg%3E" />
10
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
11
+ <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
12
+ <script src="https://cdn.tailwindcss.com"></script>
13
+ <script>
14
+ tailwind.config = {
15
+ darkMode: 'class',
16
+ theme: {
17
+ extend: {
18
+ fontFamily: { sans: ['Inter', 'ui-sans-serif', 'system-ui'] },
19
+ boxShadow: {
20
+ glow: '0 0 0 1px rgb(var(--color-primary-500) / 0.12), 0 20px 70px -20px rgb(var(--color-primary-500) / 0.35)',
21
+ soft: '0 10px 40px -15px rgb(0 0 0 / 0.35)'
22
+ },
23
+ keyframes: {
24
+ float: {
25
+ '0%,100%': { transform: 'translateY(0px) scale(1)' },
26
+ '50%': { transform: 'translateY(-16px) scale(1.02)' }
27
+ },
28
+ blob: {
29
+ '0%': { transform: 'translate(0px, 0px) scale(1)' },
30
+ '33%': { transform: 'translate(20px, -30px) scale(1.05)' },
31
+ '66%': { transform: 'translate(-15px, 20px) scale(0.98)' },
32
+ '100%': { transform: 'translate(0px, 0px) scale(1)' }
33
+ }
34
+ },
35
+ animation: {
36
+ float: 'float 8s ease-in-out infinite',
37
+ blob: 'blob 20s ease-in-out infinite'
38
+ }
39
+ }
40
+ }
41
+ }
42
+ </script>
43
+ <link rel="stylesheet" href="style.css" />
44
+ <script src="https://unpkg.com/feather-icons"></script>
45
+ <script src="script.js" defer></script>
46
+ </head>
47
+ <body class="antialiased selection:bg-primary-500/30 selection:text-white text-zinc-200 bg-[color:var(--bg)]">
48
+ <!-- Background blob layer -->
49
+ <div aria-hidden="true" class="fixed inset-0 -z-30 bg-[color:var(--bg)]">
50
+ <div class="absolute -top-32 -left-24 w-[38rem] h-[38rem] rounded-full bg-[color:rgb(var(--color-primary-500)_/_0.20)] blur-3xl animate-blob"></div>
51
+ <div class="absolute top-1/4 -right-24 w-[30rem] h-[30rem] rounded-full bg-[color:rgb(var(--color-secondary-500)_/_0.18)] blur-3xl animate-blob" style="animation-delay: -6s;"></div>
52
+ <div class="absolute bottom-[-8rem] left-1/3 w-[36rem] h-[36rem] rounded-full bg-[color:rgb(var(--color-tertiary-500)_/_0.15)] blur-3xl animate-blob" style="animation-delay: -12s;"></div>
53
+ </div>
54
+
55
+ <!-- Header -->
56
+ <header class="fixed top-0 inset-x-0 z-50 border-b border-white/5 bg-[color:rgb(var(--bg)_/_0.6)] backdrop-blur supports-[backdrop-filter]:bg-[color:rgb(var(--bg)_/_0.5)]">
57
+ <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
58
+ <div class="flex h-16 items-center justify-between">
59
+ <a href="#" class="flex items-center gap-2 group">
60
+ <span class="inline-flex h-8 w-8 items-center justify-center rounded-lg bg-[color:rgb(var(--color-primary-500)_/_0.2)] text-[color:rgb(var(--color-primary-500))] shadow-glow group-hover:rotate-6 transition">
61
+ <i data-feather="cpu"></i>
62
+ </span>
63
+ <span class="text-sm font-semibold tracking-tight text-zinc-100">CoolDev</span>
64
+ </a>
65
+
66
+ <nav class="hidden md:flex items-center gap-1">
67
+ <a href="#about" class="nav-link">About</a>
68
+ <a href="#projects" class="nav-link">Projects</a>
69
+ <a href="#experience" class="nav-link">Experience</a>
70
+ <a href="#contact" class="nav-link">Contact</a>
71
+ </nav>
72
+
73
+ <div class="flex items-center gap-2">
74
+ <button id="theme-toggle" class="p-2 rounded-md border border-white/10 bg-white/5 hover:bg-white/10 text-zinc-200 hover:text-white transition-colors" aria-label="Toggle theme">
75
+ <i id="theme-icon" data-feather="moon"></i>
76
+ </button>
77
+ <a href="#contact" class="btn-primary hidden sm:inline-flex">Get in touch</a>
78
+ <button id="menu-toggle" class="md:hidden p-2 rounded-md border border-white/10 bg-white/5 hover:bg-white/10 text-zinc-200 hover:text-white transition-colors" aria-label="Open menu">
79
+ <i data-feather="menu"></i>
80
+ </button>
81
+ </div>
82
+ </div>
83
+ </div>
84
+ <!-- Mobile menu -->
85
+ <div id="mobile-menu" class="md:hidden hidden border-t border-white/5 bg-[color:rgb(var(--bg)_/_0.75)] supports-[backdrop-filter]:bg-[color:rgb(var(--bg)_/_0.6)]">
86
+ <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-3 flex flex-col gap-1">
87
+ <a href="#about" class="mobile-link">About</a>
88
+ <a href="#projects" class="mobile-link">Projects</a>
89
+ <a href="#experience" class="mobile-link">Experience</a>
90
+ <a href="#contact" class="mobile-link">Contact</a>
91
+ <a href="#contact" class="btn-primary w-full justify-center mt-2">Get in touch</a>
92
+ </div>
93
+ </div>
94
+ </header>
95
+
96
+ <!-- Main -->
97
+ <main class="pt-20">
98
+ <!-- Hero -->
99
+ <section class="relative">
100
+ <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
101
+ <div class="grid lg:grid-cols-2 gap-10 items-center py-16 md:py-24">
102
+ <div class="relative z-10">
103
+ <span class="inline-flex items-center gap-2 rounded-full border border-white/10 bg-white/5 px-3 py-1 text-xs font-medium text-zinc-300">
104
+ <span class="inline-block h-2 w-2 rounded-full bg-[color:rgb(var(--color-primary-500))] animate-pulse"></span>
105
+ Available for freelance
106
+ </span>
107
+ <h1 class="mt-5 text-4xl sm:text-5xl md:text-6xl font-extrabold tracking-tight text-zinc-100 leading-tight">
108
+ Frontend Engineer crafting fast, delightful web apps
109
+ </h1>
110
+ <p class="mt-5 text-zinc-400 max-w-xl">
111
+ I design and build scalable frontends with React, Vue, TypeScript and Tailwind.
112
+ From complex UIs to design systems, I ship polished experiences with performance in mind.
113
+ </p>
114
+ <div class="mt-8 flex flex-wrap items-center gap-3">
115
+ <a href="#projects" class="btn-primary">View Projects</a>
116
+ <a href="#" class="btn-ghost" id="download-cv">
117
+ <i data-feather="download-cloud"></i>
118
+ Download CV
119
+ </a>
120
+ </div>
121
+ <div class="mt-8 flex flex-wrap items-center gap-2 text-sm text-zinc-400">
122
+ <span class="px-2 py-1 rounded-md bg-white/5 border border-white/10">React</span>
123
+ <span class="px-2 py-1 rounded-md bg-white/5 border border-white/10">Next.js</span>
124
+ <span class="px-2 py-1 rounded-md bg-white/5 border border-white/10">Vue</span>
125
+ <span class="px-2 py-1 rounded-md bg-white/5 border border-white/10">TypeScript</span>
126
+ <span class="px-2 py-1 rounded-md bg-white/5 border border-white/10">Node.js</span>
127
+ <span class="px-2 py-1 rounded-md bg-white/5 border border-white/10">Tailwind</span>
128
+ </div>
129
+ </div>
130
+
131
+ <div class="relative lg:justify-self-end">
132
+ <div class="relative w-full max-w-lg mx-auto">
133
+ <div class="absolute -inset-4 rounded-3xl bg-gradient-to-tr from-[color:rgb(var(--color-primary-500)_/_0.15)] to-[color:rgb(var(--color-secondary-500)_/_0.1)] blur-2xl -z-10"></div>
134
+ <div class="glass-card relative rounded-3xl border border-white/10 bg-[color:rgb(var(--bg)_/_0.7)] p-6 md:p-8 shadow-soft">
135
+ <div class="flex items-center gap-3">
136
+ <div class="h-10 w-10 rounded-xl bg-[color:rgb(var(--color-primary-500)_/_0.15)] text-[color:rgb(var(--color-primary-500))] flex items-center justify-center">
137
+ <i data-feather="activity"></i>
138
+ </div>
139
+ <div>
140
+ <div class="text-zinc-200 font-semibold">Recent Build</div>
141
+ <div class="text-xs text-zinc-400">Design system + SSR with Next.js</div>
142
+ </div>
143
+ </div>
144
+ <pre class="mt-6 rounded-xl bg-black/50 text-zinc-300 p-4 overflow-x-auto text-sm leading-relaxed">
145
+ <span class="text-emerald-400">const</span> theme <span class="text-pink-400">=</span> <span class="text-amber-300">dark</span>
146
+ <span class="text-emerald-400">function</span> <span class="text-sky-400">Button</span>({ children, ...props }) {
147
+ <span class="text-emerald-400">return</span> (
148
+ &lt;button className=<span class="text-amber-300">"btn-primary"</span> {...props}&gt;
149
+ {children}
150
+ &lt;/button&gt;
151
+ )
152
+ }</pre>
153
+ <div class="mt-6 grid grid-cols-3 gap-3 text-center">
154
+ <div class="rounded-xl bg-white/5 border border-white/10 p-3">
155
+ <div class="text-2xl font-extrabold text-zinc-100">5+ yrs</div>
156
+ <div class="text-xs text-zinc-400">Experience</div>
157
+ </div>
158
+ <div class="rounded-xl bg-white/5 border border-white/10 p-3">
159
+ <div class="text-2xl font-extrabold text-zinc-100">40+</div>
160
+ <div class="text-xs text-zinc-400">Projects</div>
161
+ </div>
162
+ <div class="rounded-xl bg-white/5 border border-white/10 p-3">
163
+ <div class="text-2xl font-extrabold text-zinc-100">100ms</div>
164
+ <div class="text-xs text-zinc-400">TTI target</div>
165
+ </div>
166
+ </div>
167
+ </div>
168
+ <!-- Floating card -->
169
+ <div class="absolute -right-6 -bottom-6 hidden lg:block">
170
+ <div class="glass-card rounded-2xl border border-white/10 bg-[color:rgb(var(--bg)_/_0.75)] p-4 shadow-soft">
171
+ <div class="flex items-center gap-3">
172
+ <span class="h-9 w-9 rounded-lg bg-[color:rgb(var(--color-secondary-500)_/_0.15)] text-[color:rgb(var(--color-secondary-500))] flex items-center justify-center">
173
+ <i data-feather="zap"></i>
174
+ </span>
175
+ <div>
176
+ <div class="text-sm font-semibold text-zinc-100">Perf minded</div>
177
+ <div class="text-xs text-zinc-400">Core Web Vitals A+</div>
178
+ </div>
179
+ </div>
180
+ </div>
181
+ </div>
182
+ </div>
183
+ </div>
184
+ </div>
185
+ </div>
186
+ </section>
187
+
188
+ <!-- About -->
189
+ <section id="about" class="relative py-16 md:py-24">
190
+ <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
191
+ <div class="grid lg:grid-cols-3 gap-8 items-start">
192
+ <div class="lg:col-span-1">
193
+ <div class="glass-card rounded-2xl border border-white/10 bg-[color:rgb(var(--bg)_/_0.7)] p-6">
194
+ <div class="text-sm uppercase tracking-widest text-zinc-400">About</div>
195
+ <h2 class="mt-2 text-2xl font-bold text-zinc-100">Building the web, pixel by pixel</h2>
196
+ <p class="mt-3 text-zinc-400">
197
+ I’m a frontend engineer focused on building fast, accessible, and beautiful interfaces.
198
+ I love design systems, shipping features, and optimizing the heck out of web apps.
199
+ </p>
200
+ <div class="mt-6 flex items-center gap-2">
201
+ <span class="h-2 w-2 rounded-full bg-[color:rgb(var(--color-primary-500))]"></span>
202
+ <span class="text-sm text-zinc-300">Core stack</span>
203
+ </div>
204
+ <div class="mt-3 flex flex-wrap gap-2">
205
+ <span class="chip">JavaScript</span>
206
+ <span class="chip">TypeScript</span>
207
+ <span class="chip">React</span>
208
+ <span class="chip">Next.js</span>
209
+ <span class="chip">Vue</span>
210
+ <span class="chip">Node.js</span>
211
+ <span class="chip">Tailwind</span>
212
+ </div>
213
+ </div>
214
+ </div>
215
+ <div class="lg:col-span-2">
216
+ <div class="grid md:grid-cols-2 gap-6">
217
+ <div class="glass-card rounded-2xl border border-white/10 bg-[color:rgb(var(--bg)_/_0.7)] p-6">
218
+ <div class="flex items-center justify-between">
219
+ <h3 class="font-semibold text-zinc-100">What I do</h3>
220
+ <i data-feather="sliders" class="text-zinc-400"></i>
221
+ </div>
222
+ <ul class="mt-4 space-y-3 text-zinc-400">
223
+ <li class="flex gap-3"><i data-feather="check-circle" class="mt-0.5 text-[color:rgb(var(--color-primary-500))]"></i> Design systems & component libraries</li>
224
+ <li class="flex gap-3"><i data-feather="check-circle" class="mt-0.5 text-[color:rgb(var(--color-primary-500))]"></i> Complex, responsive UIs (React/Vue)</li>
225
+ <li class="flex gap-3"><i data-feather="check-circle" class="mt-0.5 text-[color:rgb(var(--color-primary-500))]"></i> Performance & accessibility auditing</li>
226
+ </ul>
227
+ </div>
228
+ <div class="glass-card rounded-2xl border border-white/10 bg-[color:rgb(var(--bg)_/_0.7)] p-6">
229
+ <div class="flex items-center justify-between">
230
+ <h3 class="font-semibold text-zinc-100">How I work</h3>
231
+ <i data-feather="cpu" class="text-zinc-400"></i>
232
+ </div>
233
+ <ul class="mt-4 space-y-3 text-zinc-400">
234
+ <li class="flex gap-3"><i data-feather="arrow-right" class="mt-0.5 text-[color:rgb(var(--color-secondary-500))]"></i> Outcome-driven, iterative delivery</li>
235
+ <li class="flex gap-3"><i data-feather="arrow-right" class="mt-0.5 text-[color:rgb(var(--color-secondary-500))]"></i> CI/CD, testing and code quality</li>
236
+ <li class="flex gap-3"><i data-feather="arrow-right" class="mt-0.5 text-[color:rgb(var(--color-secondary-500))]"></i> Collaboration with design & product</li>
237
+ </ul>
238
+ </div>
239
+ </div>
240
+ <div class="mt-6 grid md:grid-cols-3 gap-6">
241
+ <div class="glass-card rounded-2xl border border-white/10 bg-[color:rgb(var(--bg)_/_0.7)] p-6 text-center">
242
+ <i data-feather="feather" class="mx-auto text-[color:rgb(var(--color-tertiary-500))]"></i>
243
+ <div class="mt-3 text-sm text-zinc-300">Accessible & semantic UI</div>
244
+ </div>
245
+ <div class="glass-card rounded-2xl border border-white/10 bg-[color:rgb(var(--bg)_/_0.7)] p-6 text-center">
246
+ <i data-feather="wind" class="mx-auto text-[color:rgb(var(--color-primary-500))]"></i>
247
+ <div class="mt-3 text-sm text-zinc-300">Tailwind-first workflows</div>
248
+ </div>
249
+ <div class="glass-card rounded-2xl border border-white/10 bg-[color:rgb(var(--bg)_/_0.7)] p-6 text-center">
250
+ <i data-feather="smartphone" class="mx-auto text-[color:rgb(var(--color-secondary-500))]"></i>
251
+ <div class="mt-3 text-sm text-zinc-300">Mobile-first, responsive</div>
252
+ </div>
253
+ </div>
254
+ </div>
255
+ </div>
256
+ </div>
257
+ </section>
258
+
259
+ <!-- Projects -->
260
+ <section id="projects" class="relative py-16 md:py-24">
261
+ <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
262
+ <div class="flex items-end justify-between gap-4">
263
+ <div>
264
+ <div class="text-sm uppercase tracking-widest text-zinc-400">Projects</div>
265
+ <h2 class="mt-2 text-3xl font-bold text-zinc-100">Selected work</h2>
266
+ <p class="mt-2 max-w-2xl text-zinc-400">A few things I’ve built recently.</p>
267
+ </div>
268
+ <a href="#contact" class="btn-ghost hidden md:inline-flex">
269
+ <i data-feather="send"></i>
270
+ Start a project
271
+ </a>
272
+ </div>
273
+
274
+ <div id="projects-grid" class="mt-8 grid sm:grid-cols-2 lg:grid-cols-3 gap-6"></div>
275
+ </div>
276
+ </section>
277
+
278
+ <!-- Experience -->
279
+ <section id="experience" class="relative py-16 md:py-24">
280
+ <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
281
+ <div>
282
+ <div class="text-sm uppercase tracking-widest text-zinc-400">Experience</div>
283
+ <h2 class="mt-2 text-3xl font-bold text-zinc-100">Where I’ve worked</h2>
284
+ </div>
285
+
286
+ <ol class="mt-8 relative border-l border-white/10 pl-6 space-y-8">
287
+ <li class="relative">
288
+ <span class="absolute -left-3 top-1.5 h-6 w-6 rounded-full border border-white/10 bg-[color:rgb(var(--bg))] flex items-center justify-center">
289
+ <span class="h-2.5 w-2.5 rounded-full bg-[color:rgb(var(--color-primary-500))]"></span>
290
+ </span>
291
+ <div class="glass-card rounded-2xl border border-white/10 bg-[color:rgb(var(--bg)_/_0.7)] p-6">
292
+ <div class="flex items-center justify-between">
293
+ <div class="font-semibold text-zinc-100">Senior Frontend Engineer · Vercel-like SaaS</div>
294
+ <span class="text-xs text-zinc-400">2022 — Present</span>
295
+ </div>
296
+ <ul class="mt-3 space-y-2 text-zinc-400 text-sm">
297
+ <li class="flex gap-3"><i data-feather="arrow-up-right" class="mt-0.5 text-[color:rgb(var(--color-secondary-500))]"></i> Led design system migration to Tailwind + Radix, cutting build times by 35%</li>
298
+ <li class="flex gap-3"><i data-feather="arrow-up-right" class="mt-0.5 text-[color:rgb(var(--color-secondary-500))]"></i> Implemented SSR/ISR patterns with Next.js; LCP improved to ~1.2s</li>
299
+ <li class="flex gap-3"><i data-feather="arrow-up-right" class="mt-0.5 text-[color:rgb(var(--color-secondary-500))]"></i> Mentored 4 engineers on performance and accessibility best practices</li>
300
+ </ul>
301
+ <div class="mt-4 flex flex-wrap gap-2">
302
+ <span class="chip">React</span><span class="chip">TypeScript</span><span class="chip">Next.js</span><span class="chip">Tailwind</span>
303
+ </div>
304
+ </div>
305
+ </li>
306
+
307
+ <li class="relative">
308
+ <span class="absolute -left-3 top-1.5 h-6 w-6 rounded-full border border-white/10 bg-[color:rgb(var(--bg))] flex items-center justify-center">
309
+ <span class="h-2.5 w-2.5 rounded-full bg-[color:rgb(var(--color-secondary-500))]"></span>
310
+ </span>
311
+ <div class="glass-card rounded-2xl border border-white/10 bg-[color:rgb(var(--bg)_/_0.7)] p-6">
312
+ <div class="flex items-center justify-between">
313
+ <div class="font-semibold text-zinc-100">Frontend Engineer · Fintech</div>
314
+ <span class="text-xs text-zinc-400">2020 — 2022</span>
315
+ </div>
316
+ <ul class="mt-3 space-y-2 text-zinc-400 text-sm">
317
+ <li class="flex gap-3"><i data-feather="arrow-up-right" class="mt-0.5 text-[color:rgb(var(--color-primary-500))]"></i> Built modular component library used across 5 products</li>
318
+ <li class="flex gap-3"><i data-feather="arrow-up-right" class="mt-0.5 text-[color:rgb(var(--color-primary-500))]"></i> Introduced automated visual regression testing, reducing UI bugs by 40%</li>
319
+ </ul>
320
+ <div class="mt-4 flex flex-wrap gap-2">
321
+ <span class="chip">Vue</span><span class="chip">TypeScript</span><span class="chip">Vite</span><span class="chip">Cypress</span>
322
+ </div>
323
+ </div>
324
+ </li>
325
+ </ol>
326
+ </div>
327
+ </section>
328
+
329
+ <!-- Contact -->
330
+ <section id="contact" class="relative py-16 md:py-24">
331
+ <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
332
+ <div class="grid md:grid-cols-2 gap-8">
333
+ <div>
334
+ <div class="text-sm uppercase tracking-widest text-zinc-400">Contact</div>
335
+ <h2 class="mt-2 text-3xl font-bold text-zinc-100">Let’s build something great</h2>
336
+ <p class="mt-3 max-w-xl text-zinc-400">Have a project in mind or want to chat? I’m open to freelance and collaborations.</p>
337
+
338
+ <div class="mt-6 space-y-4">
339
+ <a href="mailto:hello@example.com" class="group flex items-center gap-3 text-zinc-300 hover:text-white">
340
+ <span class="h-9 w-9 rounded-lg bg-[color:rgb(var(--color-primary-500)_/_0.15)] text-[color:rgb(var(--color-primary-500))] flex items-center justify-center">
341
+ <i data-feather="mail"></i>
342
+ </span>
343
+ <span>hello@example.com</span>
344
+ <i data-feather="external-link" class="opacity-0 group-hover:opacity-100 transition"></i>
345
+ </a>
346
+ <a href="https://github.com/" target="_blank" class="group flex items-center gap-3 text-zinc-300 hover:text-white">
347
+ <span class="h-9 w-9 rounded-lg bg-[color:rgb(var(--color-secondary-500)_/_0.15)] text-[color:rgb(var(--color-secondary-500))] flex items-center justify-center">
348
+ <i data-feather="github"></i>
349
+ </span>
350
+ <span>github.com/yourname</span>
351
+ <i data-feather="external-link" class="opacity-0 group-hover:opacity-100 transition"></i>
352
+ </a>
353
+ <a href="https://www.linkedin.com/" target="_blank" class="group flex items-center gap-3 text-zinc-300 hover:text-white">
354
+ <span class="h-9 w-9 rounded-lg bg-[color:rgb(var(--color-tertiary-500)_/_0.15)] text-[color:rgb(var(--color-tertiary-500))] flex items-center justify-center">
355
+ <i data-feather="linkedin"></i>
356
+ </span>
357
+ <span>linkedin.com/in/yourname</span>
358
+ <i data-feather="external-link" class="opacity-0 group-hover:opacity-100 transition"></i>
359
+ </a>
360
+ </div>
361
+ </div>
362
+
363
+ <form id="contact-form" class="glass-card rounded-2xl border border-white/10 bg-[color:rgb(var(--bg)_/_0.7)] p-6">
364
+ <div class="grid grid-cols-2 gap-4">
365
+ <div class="col-span-2 sm:col-span-1">
366
+ <label class="label">Name</label>
367
+ <input type="text" required placeholder="Jane Doe" />
368
+ </div>
369
+ <div class="col-span-2 sm:col-span-1">
370
+ <label class="label">Email</label>
371
+ <input type="email" required placeholder="jane@company.com" />
372
+ </div>
373
+ <div class="col-span-2">
374
+ <label class="label">Subject</label>
375
+ <input type="text" required placeholder="Let’s collaborate on a new project" />
376
+ </div>
377
+ <div class="col-span-2">
378
+ <label class="label">Message</label>
379
+ <textarea rows="5" required placeholder="Tell me about your goals and timeline..."></textarea>
380
+ </div>
381
+ </div>
382
+ <div class="mt-6 flex items-center gap-3">
383
+ <button type="submit" class="btn-primary">
384
+ <i data-feather="send"></i>
385
+ Send message
386
+ </button>
387
+ <span id="form-status" class="text-sm text-zinc-400"></span>
388
+ </div>
389
+ </form>
390
+ </div>
391
+ </div>
392
+ </section>
393
+ </main>
394
+
395
+ <!-- Footer -->
396
+ <footer class="border-t border-white/5">
397
+ <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-10 flex flex-col md:flex-row items-center justify-between gap-4">
398
+ <div class="text-zinc-400 text-sm">© <span id="year"></span> CoolDev. All rights reserved.</div>
399
+ <div class="text-zinc-400 text-sm">Built with HTML · CSS · JS · Tailwind</div>
400
+ </div>
401
+ </footer>
402
+
403
+ <button id="back-to-top" class="fixed bottom-6 right-6 p-3 rounded-full border border-white/10 bg-white/10 hover:bg-white/20 text-white opacity-0 pointer-events-none transition" aria-label="Back to top">
404
+ <i data-feather="arrow-up"></i>
405
+ </button>
406
+
407
+ <script>
408
+ feather.replace();
409
+ </script>
410
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
411
+ </body>
412
+ </html>
script.js ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Theme handling
2
+ (function initTheme() {
3
+ const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
4
+ const saved = localStorage.getItem('theme');
5
+ const html = document.documentElement;
6
+
7
+ const applyTheme = (mode) => {
8
+ if (mode === 'light') {
9
+ html.classList.add('light');
10
+ } else {
11
+ html.classList.remove('light');
12
+ }
13
+ const icon = document.getElementById('theme-icon');
14
+ if (icon) icon.setAttribute('data-feather', mode === 'light' ? 'sun' : 'moon');
15
+ };
16
+
17
+ const initial = saved || (prefersDark ? 'dark' : 'dark');
18
+ applyTheme(initial);
19
+
20
+ document.getElementById('theme-toggle')?.addEventListener('click', () => {
21
+ const isLight = html.classList.toggle('light');
22
+ localStorage.setItem('theme', isLight ? 'light' : 'dark');
23
+ const icon = document.getElementById('theme-icon');
24
+ if (icon) icon.setAttribute('data-feather', isLight ? 'sun' : 'moon');
25
+ });
26
+ })();
27
+
28
+ // Mobile menu
29
+ const menuToggle = document.getElementById('menu-toggle');
30
+ const mobileMenu = document.getElementById('mobile-menu');
31
+ menuToggle?.addEventListener('click', () => {
32
+ mobileMenu?.classList.toggle('hidden');
33
+ const icon = menuToggle.querySelector('[data-feather]');
34
+ if (icon) icon.setAttribute('data-feather', mobileMenu?.classList.contains('hidden') ? 'menu' : 'x');
35
+ });
36
+ mobileMenu?.querySelectorAll('a').forEach(a => a.addEventListener('click', () => mobileMenu.classList.add('hidden')));
37
+
38
+ // Smooth anchor offsets for fixed header (optional - using scroll-margin in CSS not needed with pt-20)
39
+
40
+ // Scroll progress + back to top
41
+ const backToTop = document.getElementById('back-to-top');
42
+ window.addEventListener('scroll', () => {
43
+ const scrolled = window.scrollY;
44
+ backToTop?.classList.toggle('opacity-100', scrolled > 400);
45
+ backToTop?.classList.toggle('pointer-events-auto', scrolled > 400);
46
+ });
47
+ backToTop?.addEventListener('click', () => window.scrollTo({ top: 0, behavior: 'smooth' }));
48
+
49
+ // Contact form (demo)
50
+ const form = document.getElementById('contact-form');
51
+ const status = document.getElementById('form-status');
52
+ form?.addEventListener('submit', (e) => {
53
+ e.preventDefault();
54
+ const data = Object.fromEntries(new FormData(form).entries());
55
+ status.textContent = 'Sending...';
56
+ setTimeout(() => {
57
+ status.textContent = 'Thanks! I’ll get back to you soon.';
58
+ form.reset();
59
+ }, 800);
60
+ });
61
+
62
+ // Projects data
63
+ const projects = [
64
+ {
65
+ title: 'SaaS Billing Dashboard',
66
+ desc: 'Multi-tenant analytics dashboard with role-based access, charts and export.',
67
+ tags: ['React', 'TypeScript', 'Tailwind', 'Recharts'],
68
+ demo: '#',
69
+ code: '#',
70
+ cover: 'linear-gradient(135deg, rgb(var(--color-primary-500)), rgb(var(--color-secondary-500)))'
71
+ },
72
+ {
73
+ title: 'Design System',
74
+ desc: 'Token-driven component library with docs site and a11y testing.',
75
+ tags: ['React', 'Storybook', 'A11y', 'Radix'],
76
+ demo: '#',
77
+ code: '#',
78
+ cover: 'linear-gradient(135deg, rgb(var(--color-tertiary-500)), rgb(var(--color-primary-500)))'
79
+ },
80
+ {
81
+ title: 'E‑commerce Frontend',
82
+ desc: 'Headless storefront with SSR, cart, and payments integration.',
83
+ tags: ['Next.js', 'TypeScript', 'Tailwind', 'Stripe'],
84
+ demo: '#',
85
+ code: '#',
86
+ cover: 'linear-gradient(135deg, rgb(var(--color-secondary-500)), rgb(var(--color-tertiary-500)))'
87
+ },
88
+ {
89
+ title: 'Real‑time Chat',
90
+ desc: 'WebSocket chat with presence, typing indicators, and message threads.',
91
+ tags: ['Vue', 'Pinia', 'WebSocket', 'Node.js'],
92
+ demo: '#',
93
+ code: '#',
94
+ cover: 'linear-gradient(135deg, rgb(var(--color-primary-500)), rgb(var(--color-tertiary-500)))'
95
+ },
96
+ {
97
+ title: 'Perf Audit & Optimization',
98
+ desc: 'Improved LCP, CLS and TTI; bundle splitting and image optimization.',
99
+ tags: ['Lighthouse', 'Vite', 'SSR', 'Bundle'],
100
+ demo: '#',
101
+ code: '#',
102
+ cover: 'linear-gradient(135deg, rgb(var(--color-tertiary-500)), rgb(var(--color-secondary-500)))'
103
+ },
104
+ {
105
+ title: 'Headless CMS Frontend',
106
+ desc: 'Content-driven site with ISR, preview mode and i18n.',
107
+ tags: ['Next.js', 'CMS', 'ISR', 'i18n'],
108
+ demo: '#',
109
+ code: '#',
110
+ cover: 'linear-gradient(135deg, rgb(var(--color-secondary-500)), rgb(var(--color-primary-500)))'
111
+ }
112
+ ];
113
+
114
+ // Render project cards
115
+ const grid = document.getElementById('projects-grid');
116
+ if (grid) {
117
+ projects.forEach(p => {
118
+ const el = document.createElement('article');
119
+ el.className = 'group relative overflow-hidden rounded-2xl border border-white/10 bg-[color:rgb(var(--bg)_/_0.7)] hover:border-[color:rgb(var(--color-primary-500)_/_0.35)] transition-colors';
120
+ el.innerHTML = `
121
+ <div class="relative h-40 w-full" style="background:${p.cover}">
122
+ <div class="absolute inset-0 bg-[color:rgb(var(--bg)_/_0.25)]"></div>
123
+ <div class="absolute inset-0 opacity-0 group-hover:opacity-100 transition flex items-center justify-center gap-3">
124
+ <a href="${p.demo}" target="_blank" class="btn-primary">Live demo</a>
125
+ <a href="${p.code}" target="_blank" class="btn-ghost">Source</a>
126
+ </div>
127
+ </div>
128
+ <div class="p-5">
129
+ <h3 class="font-semibold text-zinc-100">${p.title}</h3>
130
+ <p class="mt-1 text-sm text-zinc-400">${p.desc}</p>
131
+ <div class="mt-4 flex flex-wrap gap-2">
132
+ ${p.tags.map(t => `<span class="chip">${t}</span>`).join('')}
133
+ </div>
134
+ </div>
135
+ `;
136
+ grid.appendChild(el);
137
+ });
138
+ }
139
+
140
+ // Year
141
+ document.getElementById('year').textContent = new Date().getFullYear();
142
+
143
+ // Optional: Download CV button (placeholder)
144
+ document.getElementById('download-cv')?.addEventListener('click', (e) => {
145
+ e.preventDefault();
146
+ const blob = new Blob([`CoolDev — Frontend Engineer\nResume placeholder`], { type: 'text/plain' });
147
+ const url = URL.createObjectURL(blob);
148
+ const a = document.createElement('a');
149
+ a.href = url;
150
+ a.download = 'CoolDev-Resume.txt';
151
+ a.click();
152
+ URL.revokeObjectURL(url);
153
+ });
style.css CHANGED
@@ -1,28 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
 
 
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ :root {
2
+ /* Theme (dark default) */
3
+ --bg: 11 15 23; /* Deep dark background */
4
+ --fg: 244 244 245; /* text-zinc-100 */
5
+
6
+ /* Colors (adjust to your preference) */
7
+ --color-primary-500: 99 102 241; /* indigo-500 */
8
+ --color-secondary-500: 34 197 94; /* emerald-500 */
9
+ --color-tertiary-500: 249 115 22; /* orange-500 */
10
+
11
+ /* Aliases for compatibility */
12
+ --primary: var(--color-primary-500);
13
+ --secondary: var(--color-secondary-500);
14
+ }
15
+
16
+ /* Light theme overrides */
17
+ html.light {
18
+ --bg: 250 250 250;
19
+ --fg: 15 23 42;
20
+ }
21
+
22
+ * { -webkit-tap-highlight-color: transparent; }
23
+
24
+ html, body {
25
+ height: 100%;
26
+ background: rgb(var(--bg));
27
+ color: rgb(var(--fg));
28
+ }
29
+
30
+ /* Smooth fonts */
31
  body {
32
+ font-feature-settings: "liga" 1, "calt" 1;
 
33
  }
34
 
35
+ /* Glass effect */
36
+ .glass-card {
37
+ backdrop-filter: saturate(180%) blur(10px);
38
+ -webkit-backdrop-filter: saturate(180%) blur(10px);
39
  }
40
 
41
+ /* Links */
42
+ a { text-decoration: none; }
43
+ .nav-link {
44
+ @apply px-3 py-2 rounded-md text-sm text-zinc-300 hover:text-white hover:bg-white/10 transition;
45
+ }
46
+ .mobile-link {
47
+ @apply px-3 py-2 rounded-md text-zinc-300 hover:text-white hover:bg-white/10 transition;
48
  }
49
 
50
+ /* Buttons */
51
+ .btn-primary {
52
+ @apply inline-flex items-center gap-2 rounded-md border border-white/10 bg-[color:rgb(var(--color-primary-500)_/_0.2)] text-[color:rgb(var(--color-primary-500))] hover:bg-[color:rgb(var(--color-primary-500)_/_0.3)] px-4 py-2 font-medium transition shadow-glow;
53
+ }
54
+ .btn-ghost {
55
+ @apply inline-flex items-center gap-2 rounded-md border border-white/10 bg-white/5 hover:bg-white/10 text-zinc-200 hover:text-white px-4 py-2 font-medium transition;
56
  }
57
 
58
+ /* Inputs */
59
+ .label {
60
+ @apply block text-xs text-zinc-400 mb-1.5;
61
+ }
62
+ input, textarea {
63
+ @apply w-full rounded-md border border-white/10 bg-white/5 text-zinc-200 placeholder:text-zinc-500 px-3 py-2 outline-none focus:border-[color:rgb(var(--color-primary-500)_/_0.6)] focus:ring-2 focus:ring-[color:rgb(var(--color-primary-500)_/_0.2)];
64
  }
65
+
66
+ /* Chips */
67
+ .chip {
68
+ @apply px-2.5 py-1 rounded-md border border-white/10 bg-white/5 text-xs text-zinc-300;
69
+ }
70
+
71
+ /* Selection */
72
+ ::selection {
73
+ background: rgba(var(--color-primary-500), 0.35);
74
+ color: white;
75
+ }
76
+
77
+ /* Progress bar for scroll (optional visual candy) */
78
+ #scroll-progress {
79
+ position: fixed;
80
+ top: 0;
81
+ left: 0;
82
+ height: 2px;
83
+ width: 0%;
84
+ background: linear-gradient(90deg, rgb(var(--color-primary-500)), rgb(var(--color-secondary-500)));
85
+ z-index: 60;
86
+ transition: width 0.1s linear;
87
+ }
88
+
89
+ /* Reduce motion for users who prefer it */
90
+ @media (prefers-reduced-motion: reduce) {
91
+ .animate-blob, .animate-float {
92
+ animation: none !important;
93
+ }
94
+ }