Skip to content

Commit ff895ba

Browse files
committed
Adjust UI fade-in timing
1 parent 3e98258 commit ff895ba

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/components/Starfield.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ const Starfield = ({ onSkyboxLoaded = () => { }, disableScrollMotion = false })
237237
// Delay the UI trigger until stars are visible
238238
setTimeout(() => {
239239
onSkyboxLoadedRef.current();
240-
}, 2000);
240+
}, 1000);
241241
},
242242
undefined, // Progress callback not needed
243243
(error) => {

src/index.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -693,8 +693,8 @@ h3 {
693693
/* 100%*num_slides */
694694
height: 100%;
695695
position: relative;
696-
-webkit-animation: slide 30s infinite 6s;
697-
animation: slide 30s infinite 6s;
696+
-webkit-animation: slide 30s infinite 3s;
697+
animation: slide 30s infinite 3s;
698698
}
699699

700700
.slider {
@@ -755,8 +755,8 @@ h3 {
755755
height: 100%;
756756
border-radius: 50%;
757757
position: relative;
758-
-webkit-animation: on 30s infinite 6s;
759-
animation: on 30s infinite 6s;
758+
-webkit-animation: on 30s infinite 3s;
759+
animation: on 30s infinite 3s;
760760
}
761761

762762
@keyframes slide {
@@ -889,22 +889,22 @@ h3 {
889889
}
890890

891891
.switch>ul>li:nth-child(1) {
892-
animation: indicator1 30s infinite 6s;
892+
animation: indicator1 30s infinite 3s;
893893
background-color: var(--blue_color);
894894
}
895895

896896
.switch>ul>li:nth-child(2) {
897-
animation: indicator2 30s infinite 6s;
897+
animation: indicator2 30s infinite 3s;
898898
}
899899

900900
.switch>ul>li:nth-child(3) {
901-
animation: indicator3 30s infinite 6s;
901+
animation: indicator3 30s infinite 3s;
902902
}
903903

904904
.switch>ul>li:nth-child(4) {
905-
animation: indicator4 30s infinite 6s;
905+
animation: indicator4 30s infinite 3s;
906906
}
907907

908908
.switch>ul>li:nth-child(5) {
909-
animation: indicator5 30s infinite 6s;
909+
animation: indicator5 30s infinite 3s;
910910
}

0 commit comments

Comments
 (0)