修复部分已知问题
This commit is contained in:
84
index.html
84
index.html
@@ -28,6 +28,77 @@
|
||||
background: #94a3b8;
|
||||
}
|
||||
|
||||
/* Loading Animation Styles */
|
||||
#app-loader {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 9999;
|
||||
background-color: #f8fafc;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: opacity 0.5s ease-out;
|
||||
}
|
||||
|
||||
.sakura-spinner {
|
||||
position: relative;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
animation: spin-slow 6s linear infinite;
|
||||
}
|
||||
|
||||
.petal {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background: radial-gradient(circle at 70% 70%, #f43f5e, #fb7185);
|
||||
border-radius: 0 100% 0 100%;
|
||||
opacity: 0.9;
|
||||
transform-origin: 0 0;
|
||||
}
|
||||
|
||||
.petal:nth-child(1) { transform: rotate(0deg) translate(10px, 10px); }
|
||||
.petal:nth-child(2) { transform: rotate(72deg) translate(10px, 10px); }
|
||||
.petal:nth-child(3) { transform: rotate(144deg) translate(10px, 10px); }
|
||||
.petal:nth-child(4) { transform: rotate(216deg) translate(10px, 10px); }
|
||||
.petal:nth-child(5) { transform: rotate(288deg) translate(10px, 10px); }
|
||||
|
||||
.center-dot {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
background-color: #fef3c7;
|
||||
border-radius: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 10;
|
||||
box-shadow: 0 0 10px rgba(251, 113, 133, 0.5);
|
||||
}
|
||||
|
||||
.loader-text {
|
||||
margin-top: 2rem;
|
||||
font-family: 'Nunito', sans-serif;
|
||||
font-weight: 800;
|
||||
font-size: 1.5rem;
|
||||
color: #e11d48;
|
||||
letter-spacing: -0.025em;
|
||||
animation: pulse 2s infinite;
|
||||
}
|
||||
|
||||
@keyframes spin-slow {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0%, 100% { opacity: 1; transform: scale(1); }
|
||||
50% { opacity: 0.7; transform: scale(0.98); }
|
||||
}
|
||||
|
||||
/* Animations */
|
||||
@keyframes fadeInUp {
|
||||
from { opacity: 0; transform: translateY(20px); }
|
||||
@@ -70,6 +141,19 @@
|
||||
</script>
|
||||
</head>
|
||||
<body class="bg-slate-50 text-slate-800 h-[100dvh] overflow-hidden">
|
||||
<!-- Preloader -->
|
||||
<div id="app-loader">
|
||||
<div class="sakura-spinner">
|
||||
<div class="petal"></div>
|
||||
<div class="petal"></div>
|
||||
<div class="petal"></div>
|
||||
<div class="petal"></div>
|
||||
<div class="petal"></div>
|
||||
<div class="center-dot"></div>
|
||||
</div>
|
||||
<div class="loader-text">Sakura Sensei</div>
|
||||
</div>
|
||||
|
||||
<div id="root" class="h-full w-full"></div>
|
||||
<script type="module" src="/index.tsx"></script>
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user