From cff44be771e9b0e9c9d7820705d03508a649e5b4 Mon Sep 17 00:00:00 2001 From: Mina Choi Date: Fri, 30 Oct 2026 10:46:56 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EA=B8=B0=EB=85=90=EC=9D=BC=EC=97=94=20?= =?UTF-8?q?=EC=95=B1=20=EB=B0=B0=EA=B2=BD=EB=8F=84=20=EB=B0=94=EB=80=9C=20?= =?UTF-8?q?=E2=80=94=20=ED=95=A0=EB=A1=9C=EC=9C=88=20=EC=A3=BC=ED=99=A9?= =?UTF-8?q?=C2=B7=EB=B3=B4=EB=9D=BC(=EB=B0=A4=EC=97=94=20=EB=B3=B4?= =?UTF-8?q?=EB=9D=BC=20=EB=B0=A4=ED=95=98=EB=8A=98),=20=ED=81=AC=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=EB=A7=88=EC=8A=A4=20=EC=B4=88=EB=A1=9D=C2=B7=EB=B9=A8?= =?UTF-8?q?=EA=B0=95,=20=EB=B9=BC=EB=B9=BC=EB=A1=9C=20=EC=B4=88=EC=BD=94?= =?UTF-8?q?=C2=B7=EB=B6=84=ED=99=8D,=20=EC=B6=94=EC=84=9D=20=EB=85=B8?= =?UTF-8?q?=EB=9E=91=C2=B7=EB=8B=AC=EB=B9=9B,=20=EB=85=B8=EC=B9=98=20?= =?UTF-8?q?=EC=83=89=EA=B3=BC=20=EB=96=A0=EB=8B=A4=EB=8B=88=EB=8A=94=20?= =?UTF-8?q?=EA=B8=B0=EB=85=90=EC=9D=BC=20=EA=B7=B8=EB=A6=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/b/BLayout.tsx | 32 +++++++++++++++++++++---- frontend/src/b/b.css | 48 ++++++++++++++++++++++++++++++++++++++ frontend/src/b/holiday.ts | 9 +++++++ 3 files changed, 85 insertions(+), 4 deletions(-) diff --git a/frontend/src/b/BLayout.tsx b/frontend/src/b/BLayout.tsx index c115b9a..b206e8c 100644 --- a/frontend/src/b/BLayout.tsx +++ b/frontend/src/b/BLayout.tsx @@ -6,9 +6,11 @@ import { cx } from '../lib/utils' import { kindOfHour, kst, seasonOf, type TimeKind } from '@nalssigak/shared/lib' import './b.css' import { AuthProvider } from './auth' +import { iconSrc } from './lib' import { RegionProvider } from './region' import { useAuth } from './authContext' import { preloadGoogle } from './googleScript' +import { currentHoliday } from './holiday' import { LevelBadge, LevelWatcher } from './level' import { useRegion } from './regionContext' import { useSheet } from './sheetContext' @@ -106,6 +108,18 @@ const SHOOTS = [ { top: '14%', left: '96%', '--len': '120px', '--dur': '12s', '--dl': '9s' }, ] +const HOLIDAY = currentHoliday() + +/** 기념일에 하늘에 떠다니는 그림: 게임 그림 중 큰 것부터 */ +const FLOATS = [ + { top: '9%', left: '6%', '--z': '46px', '--dur': '13s', '--dl': '0s' }, + { top: '17%', left: '82%', '--z': '40px', '--dur': '15s', '--dl': '2s' }, + { top: '38%', left: '88%', '--z': '34px', '--dur': '17s', '--dl': '4s' }, + { top: '46%', left: '3%', '--z': '38px', '--dur': '14s', '--dl': '1s' }, + { top: '66%', left: '84%', '--z': '44px', '--dur': '16s', '--dl': '3s' }, + { top: '78%', left: '8%', '--z': '36px', '--dur': '18s', '--dl': '5s' }, +] + /** 화면 전체 하늘: 시간대별 색, 아주 느리게 일렁이는 색 덩어리, 밤에는 별 */ function SkyBg() { const { kind } = useSky() @@ -116,10 +130,11 @@ function SkyBg() { return () => document.removeEventListener('visibilitychange', onVis) }, []) return ( -