feat: fixed glitchy welcome screen issue (#8041)
This commit is contained in:
1 parent
6bbe5c2499
commit
0e73cd4c9f
2 files changed
+8
-13
No files matched your search
@@ -207,18 +207,18 @@ export const WelcomeSection: React.FC<WelcomeSectionProps> = ({
|
||||
@keyframes fadeIn {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
transform: scale(0.98);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
.fade-in-cards {
|
||||
animation: fadeIn 0.4s ease-out forwards;
|
||||
}
|
||||
.fade-in-history {
|
||||
animation: fadeIn 0.4s ease-out 0.2s forwards;
|
||||
animation: fadeIn 0.4s ease-out forwards;
|
||||
opacity: 0;
|
||||
}
|
||||
`}
|
||||
|
||||
@@ -32,24 +32,19 @@ const HomeHeader = ({ shouldShowQuickWins = false }: HomeHeaderProps) => {
|
||||
@keyframes logo-pop-in {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: scale(0.8);
|
||||
transform: scale(0.95);
|
||||
}
|
||||
50% {
|
||||
60% {
|
||||
opacity: 1;
|
||||
transform: scale(1.1);
|
||||
}
|
||||
65% {
|
||||
transform: scale(0.9);
|
||||
}
|
||||
80% {
|
||||
transform: scale(1.05);
|
||||
transform: scale(1.02);
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
.logo-animate {
|
||||
animation: logo-pop-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||
animation: logo-pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||
}
|
||||
`}
|
||||
</style>
|
||||
|
||||
Reference in new issue
Block a user