done && setGone(true)}
+ className={cx('fixed inset-0 z-50 flex flex-col items-center justify-center gap-3 transition-opacity duration-400', done && 'pointer-events-none opacity-0')}
+ style={{ backgroundColor: NOTCH_BG[kind] }}
+ >
+
+
날씨 불러오는 중…
+
+ )
+}
+
function Shell() {
const { pathname } = useLocation()
const { kind } = useSky()
@@ -164,6 +217,7 @@ function Shell() {
return (
+
{/* 위·아래 바: 띠는 화면 끝까지, 내용은 가운데 440px 안 */}
diff --git a/frontend/src/b/b.css b/frontend/src/b/b.css
index 0067142..2616718 100644
--- a/frontend/src/b/b.css
+++ b/frontend/src/b/b.css
@@ -129,7 +129,23 @@
}
}
+/* 처음 불러오는 동안 캐릭터가 통통 뛴다 */
+.b-hop {
+ animation: b-hop 0.9s cubic-bezier(0.3, 0, 0.4, 1) infinite;
+ transform-origin: 50% 100%;
+}
+@keyframes b-hop {
+ 0%,
+ 100% {
+ transform: translateY(0) scale(1.06, 0.94);
+ }
+ 45% {
+ transform: translateY(-22px) scale(0.97, 1.03);
+ }
+}
+
@media (prefers-reduced-motion: reduce) {
+ .b-hop,
.b-fall,
.b-heart-pop,
.b-like-bit,