Skip to content

Commit e0d51d0

Browse files
committed
Remove animated gradient background from hero section
- Remove gradientShift animation for cleaner, less busy appearance - Keep static gradient background which provides visual interest - Removes background-size and animation properties - Improves performance by eliminating continuous animation
1 parent e212f86 commit e0d51d0

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/pages/index.module.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
var(--ifm-background-color) 50%,
1313
var(--ifm-color-primary-lightest) 100%
1414
);
15-
background-size: 200% 200%;
16-
animation: gradientShift 15s ease infinite;
1715
}
1816

1917
[data-theme='dark'] .heroBanner {
@@ -22,13 +20,6 @@
2220
var(--ifm-background-color) 50%,
2321
rgba(150, 188, 79, 0.1) 100%
2422
);
25-
background-size: 200% 200%;
26-
}
27-
28-
@keyframes gradientShift {
29-
0% { background-position: 0% 50%; }
30-
50% { background-position: 100% 50%; }
31-
100% { background-position: 0% 50%; }
3223
}
3324

3425
.heroContent {

0 commit comments

Comments
 (0)