Skip to content

Commit ce3ad3b

Browse files
author
Punitkumar756
committed
Enhance homepage with new animations, improved layout, and scroll progress indicator; update font weights and add parallax effects.
1 parent 7a03c92 commit ce3ad3b

2 files changed

Lines changed: 364 additions & 117 deletions

File tree

app/globals.css

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@import "tailwindcss";
22
@import "tw-animate-css";
3-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
3+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
44

55
@custom-variant dark (&:is(.dark *));
66

@@ -155,6 +155,37 @@
155155
}
156156
}
157157

158+
@keyframes shimmer {
159+
0% {
160+
background-position: -1000px 0;
161+
}
162+
100% {
163+
background-position: 1000px 0;
164+
}
165+
}
166+
167+
@keyframes slideInFromBottom {
168+
0% {
169+
opacity: 0;
170+
transform: translateY(30px);
171+
}
172+
100% {
173+
opacity: 1;
174+
transform: translateY(0);
175+
}
176+
}
177+
178+
@keyframes scaleIn {
179+
0% {
180+
opacity: 0;
181+
transform: scale(0.9);
182+
}
183+
100% {
184+
opacity: 1;
185+
transform: scale(1);
186+
}
187+
}
188+
158189
.animate-gradient {
159190
background-size: 200% 200%;
160191
animation: gradient 3s ease infinite;
@@ -168,6 +199,18 @@
168199
animation: pulse-glow 2s ease-in-out infinite;
169200
}
170201

202+
.animate-shimmer {
203+
animation: shimmer 2s linear infinite;
204+
}
205+
206+
.animate-slide-in {
207+
animation: slideInFromBottom 0.6s ease-out;
208+
}
209+
210+
.animate-scale-in {
211+
animation: scaleIn 0.5s ease-out;
212+
}
213+
171214
/* Smooth scroll behavior */
172215
html {
173216
scroll-behavior: smooth;
@@ -189,3 +232,37 @@ html {
189232
background: rgba(0, 0, 0, 0.5);
190233
border: 1px solid rgba(255, 255, 255, 0.1);
191234
}
235+
236+
/* Text gradient effect */
237+
.text-gradient {
238+
background: linear-gradient(135deg, #a855f7, #ec4899, #8b5cf6);
239+
background-clip: text;
240+
-webkit-background-clip: text;
241+
-webkit-text-fill-color: transparent;
242+
background-size: 200% 200%;
243+
animation: gradient 3s ease infinite;
244+
}
245+
246+
/* Parallax container */
247+
.parallax-container {
248+
transform-style: preserve-3d;
249+
perspective: 1000px;
250+
}
251+
252+
/* Custom scrollbar */
253+
::-webkit-scrollbar {
254+
width: 10px;
255+
}
256+
257+
::-webkit-scrollbar-track {
258+
background: oklch(0.08 0 0);
259+
}
260+
261+
::-webkit-scrollbar-thumb {
262+
background: oklch(0.7 0.18 270);
263+
border-radius: 5px;
264+
}
265+
266+
::-webkit-scrollbar-thumb:hover {
267+
background: oklch(0.6 0.15 270);
268+
}

0 commit comments

Comments
 (0)