feat: 수능 응원·연말·새해 기념일 꾸밈 — 수능(2026-11-18~19)과 12-31~01-01 기간에만 이야기 주제·구름 합치기 그림·네 귀퉁이 소품이 바뀜 (GA talk_post topic 10·11, game_start theme suneung·newyear)

This commit is contained in:
skkim committed 2026-11-12 13:47:22 +09:00
1 parent e0e9f169d7
commit c8287b4bf3
31 files changed
+71 -6

No files matched your search

+9 -1
View File
@@ -4608,7 +4608,15 @@ export const TalkTopic = {
/**
* CHUSEOK
*/
CHUSEOK: 9
CHUSEOK: 9,
/**
* SUNEUNG
*/
SUNEUNG: 10,
/**
* NEWYEAR
*/
NEWYEAR: 11
} as const;
/**
+1 -1
View File
@@ -1,7 +1,7 @@
/** 히어로·오늘의 각·단풍 지도·띠처럼 포스트 틀이 아닌 카드 (피드 응답의 반응 칸 이름) */
export type PinnedKey = 'hero_post' | 'gak_post' | 'foliage_post' | 'events_post' | 'season_post'
export type HolidayKey = 'halloween' | 'pepero' | 'christmas' | 'chuseok'
export type HolidayKey = 'halloween' | 'pepero' | 'christmas' | 'chuseok' | 'suneung' | 'newyear'
/** GA4로 보내는 이벤트와 값 (웹·앱 같이 씀). 목록은 docs/이벤트_추적.md. Sheet 는 화면마다 다른 창 이름 */
export type Events<Sheet extends string = string> = {
+37 -1
View File
@@ -9,7 +9,7 @@ type GamePiece = { icon: string; name: string }
* 새 기념일: 여기에 한 줄 + TalkTopic(backend/common/enums.py) + 게임 그림(public/b/icons, lib.ts OWN) + 소품 그림(public/b/holiday, 투명 배경, b.css)
*/
export type Holiday = {
key: 'halloween' | 'pepero' | 'christmas' | 'chuseok'
key: 'halloween' | 'pepero' | 'christmas' | 'chuseok' | 'suneung' | 'newyear'
name: string
ranges: readonly (readonly [string, string])[]
topic: TalkTopic
@@ -87,6 +87,42 @@ export const HOLIDAYS: readonly Holiday[] = [
{ icon: 'full_moon', name: '보름달' },
],
},
{
key: 'suneung',
name: '수능 응원',
// 수능 날(11월 셋째 목요일)은 해마다 달라 그해만. 전날(응원 글이 가장 많은 날)부터
ranges: [['2026-11-18', '2026-11-19']],
topic: TalkTopic.SUNEUNG,
bg: 'sky',
game: [
{ icon: 'suneung_pencil', name: '연필' },
{ icon: 'suneung_eraser', name: '지우개' },
{ icon: 'suneung_heatpack', name: '핫팩' },
{ icon: 'suneung_yeot', name: '엿' },
{ icon: 'suneung_mochi', name: '찹쌀떡' },
{ icon: 'suneung_lunchbox', name: '도시락' },
{ icon: 'suneung_ticket', name: '수험표' },
{ icon: 'suneung_bouquet', name: '꽃다발' },
],
},
{
key: 'newyear',
name: '연말·새해',
// 해를 넘기므로 하루씩 두 줄
ranges: [['12-31', '12-31'], ['01-01', '01-01']],
topic: TalkTopic.NEWYEAR,
bg: 'night',
game: [
{ icon: 'newyear_popper', name: '폭죽' },
{ icon: 'newyear_pouch', name: '복주머니' },
{ icon: 'calendar', name: '달력' },
{ icon: 'newyear_tteokguk', name: '떡국' },
{ icon: 'newyear_bell', name: '제야의 종' },
{ icon: 'fireworks', name: '불꽃놀이' },
{ icon: 'newyear_sunset', name: '해넘이' },
{ icon: 'sunrise', name: '해돋이' },
],
},
]
const pad = (n: number) => String(n).padStart(2, '0')