Skip to content

Commit fd790f7

Browse files
committed
remove animations for no-javascript compat
1 parent 4800bd4 commit fd790f7

File tree

2 files changed

+0
-47
lines changed

2 files changed

+0
-47
lines changed

frontend/src/components/HomepageFeatures/styles.module.css

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
align-items: center;
44
padding: 3rem 0;
55
width: 100%;
6-
76
background: none;
87
position: relative;
98
overflow: hidden;
@@ -28,20 +27,13 @@
2827
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
2928
transition: transform 0.3s ease, box-shadow 0.3s ease;
3029
background-color: var(--ifm-card-background-color);
31-
animation: fadeInUp 0.5s ease forwards;
32-
opacity: 0;
3330
}
3431

3532
.featureItem:hover {
3633
transform: translateY(-5px);
3734
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
3835
}
3936

40-
.featureItem:nth-child(1) { animation-delay: 0.1s; }
41-
.featureItem:nth-child(2) { animation-delay: 0.2s; }
42-
.featureItem:nth-child(3) { animation-delay: 0.3s; }
43-
.featureItem:nth-child(4) { animation-delay: 0.4s; }
44-
4537
.featureImageContainer {
4638
text-align: center;
4739
margin-bottom: 1.25rem;
@@ -99,17 +91,6 @@
9991
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
10092
}
10193

102-
@keyframes fadeInUp {
103-
from {
104-
opacity: 0;
105-
transform: translateY(20px);
106-
}
107-
to {
108-
opacity: 1;
109-
transform: translateY(0);
110-
}
111-
}
112-
11394
@media (max-width: 768px) {
11495
.featureItem {
11596
flex: 1 1 100%;

frontend/src/pages/index.module.css

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
margin-bottom: 4rem;
1616
border-radius: 12px;
1717
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
18-
animation: slideDown 0.6s ease-out;
1918
}
2019

2120
.enhancedLink {
@@ -55,22 +54,19 @@
5554
font-weight: 800;
5655
line-height: 1.1;
5756
letter-spacing: -0.5px;
58-
animation: fadeIn 1s ease-out;
5957
}
6058

6159
.heroDescription {
6260
font-size: 1.5rem;
6361
line-height: 1.6;
6462
margin-bottom: 2rem;
6563
color: var(--ifm-color-emphasis-800);
66-
animation: fadeIn 1s ease-out 0.2s both;
6764
}
6865

6966
.heroButtons {
7067
display: flex;
7168
flex-direction: column;
7269
gap: 1.25rem;
73-
animation: fadeIn 1s ease-out 0.4s both;
7470
}
7571

7672
.button {
@@ -98,7 +94,6 @@
9894
grid-template-columns: repeat(6, 1fr);
9995
gap: 1.5rem;
10096
margin-top: 5rem;
101-
animation: fadeIn 1s ease-out 0.6s both;
10297
max-width: 600px;
10398
width: 100%;
10499
}
@@ -119,29 +114,6 @@
119114
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
120115
}
121116

122-
/* Animations */
123-
@keyframes fadeIn {
124-
from {
125-
opacity: 0;
126-
transform: translateY(20px);
127-
}
128-
to {
129-
opacity: 1;
130-
transform: translateY(0);
131-
}
132-
}
133-
134-
@keyframes slideDown {
135-
from {
136-
opacity: 0;
137-
transform: translateY(-20px);
138-
}
139-
to {
140-
opacity: 1;
141-
transform: translateY(0);
142-
}
143-
}
144-
145117
/* Responsive styles */
146118
@media screen and (max-width: 996px) {
147119
.heroBanner {

0 commit comments

Comments
 (0)