diff --git a/TODO.md b/TODO.md index f204faa..6f57c2e 100644 --- a/TODO.md +++ b/TODO.md @@ -8,7 +8,7 @@ | [x] | 댓글·좋아요·로그인 API 테스트 (화면 확인은 아직) | 시연 때 미검증 | `backend/services/reaction_service.py`, `backend/services/auth_service.py` | | [x] | 주말 날씨 평일 상시 노출 + 다음 주 주말까지 (예보 닿는 +10일부터) | 10/6 회의 | `backend/services/week_service.py` | | [x] | 행사 독립 카드 최대 3장, 피드 무작위 노출 (하루 같은 자리) | 10/6 회의 | `backend/services/feed_service.py` | -| [ ] | 계절 소식 제철 정보 확충 | 10/6 회의 | `backend/seed/article.json` | +| [x] | 계절 소식 제철 7개 추가 (햇밤·햇땅콩·은행·고구마·귤·부사·김장) — 피드백 대기 | 10/6 회의 | `backend/seed/article.json` | | [x] | 새 각 추가 (야구·공부·넷플릭스·군밤) | 10/6 회의 | `backend/seed/index_definition.json` | | [x] | 지역 단위 조정 (서울 구, 그 외 시·군, 광역시 자치구 유지) | 10/6 회의 | `backend/seed/region.csv`, `backend/seed/ranking_spot.csv` | | [ ] | 주말 전국 지역 랭킹 | 10/6 회의 최종 그림 | `backend/services/week_service.py` | diff --git a/backend/seed/article.json b/backend/seed/article.json index a425c32..2d8efe8 100644 --- a/backend/seed/article.json +++ b/backend/seed/article.json @@ -252,5 +252,110 @@ "날씨각 (검수 전 예시)" ], "sort_order": 111 + }, + { + "code": "chestnut_new", + "category": 1, + "title": "햇밤, 바로 먹을까 두었다 먹을까?", + "read_minutes": 2, + "icon": "chestnut", + "show_from": "2026-09-15", + "show_until": "2026-10-31", + "body": [ + "햇밤은 9월 중순부터 10월까지 공주·부여 같은 산지에서 쏟아져 나와요.", + "갓 딴 밤보다 냉장고(0~5°)에 2~4주 두면 녹말이 당으로 바뀌어 더 달아져요. 비닐에 구멍을 몇 개 내 두면 마르지 않아요.", + "(예년 기준 정보예요. 올해 시기는 산지·기상 상황에 따라 달라요.)" + ], + "sort_order": 4 + }, + { + "code": "peanut_new", + "category": 1, + "title": "국산 햇땅콩은 삶아 먹는 게 별미", + "read_minutes": 2, + "icon": "peanut", + "show_from": "2026-09-20", + "show_until": "2026-10-31", + "body": [ + "국산 땅콩은 9월 말에서 10월에 캐요. 이때만 껍질째 생땅콩을 구할 수 있어요.", + "생땅콩은 껍질째 소금물에 30분쯤 삶으면 포슬포슬해요. 생으로 둘 땐 곰팡이가 피기 쉬워서 꼭 냉장 보관하세요.", + "(예년 기준 정보예요. 올해 시기는 산지·기상 상황에 따라 달라요.)" + ], + "sort_order": 5 + }, + { + "code": "ginkgo", + "category": 1, + "title": "은행 냄새 나는 길, 언제까지일까", + "read_minutes": 2, + "icon": "fallen_leaf", + "show_from": "2026-10-10", + "show_until": "2026-11-15", + "body": [ + "은행나무 열매는 10월 중순부터 11월 초까지 떨어져요. 냄새는 겉껍질에서 나요.", + "은행은 꼭 익혀서, 어른 기준 하루 10알 안쪽으로만 드세요. 가로수 열매는 지자체 것이라 함부로 따면 안 돼요.", + "(예년 기준 정보예요. 올해 시기는 산지·기상 상황에 따라 달라요.)" + ], + "sort_order": 6 + }, + { + "code": "sweet_potato", + "category": 1, + "title": "군고구마가 생각나는 첫 추위", + "read_minutes": 2, + "icon": "sweet_potato", + "show_from": "2026-10-15", + "show_until": "2026-12-31", + "body": [ + "고구마는 9~10월에 캐고, 캔 뒤 2~3주 두면 단맛이 올라와요.", + "냉장고에 넣으면 금방 상해요. 신문지에 싸서 서늘한 실내(12~15°)에 두세요.", + "(예년 기준 정보예요. 올해 시기는 산지·기상 상황에 따라 달라요.)" + ], + "sort_order": 7 + }, + { + "code": "tangerine", + "category": 1, + "title": "노지 귤이 나오기 시작해요", + "read_minutes": 2, + "icon": "tangerine", + "show_from": "2026-10-20", + "show_until": "2026-12-31", + "body": [ + "제주 노지 귤은 10월 하순 극조생부터 시작해 12월까지 나와요. 껍질이 얇고 탱탱한 게 달아요.", + "상자째 두면 닿은 곳부터 물러요. 서로 안 닿게 펼쳐서 서늘한 곳에 두세요.", + "(예년 기준 정보예요. 올해 시기는 산지·기상 상황에 따라 달라요.)" + ], + "sort_order": 8 + }, + { + "code": "apple_fuji", + "category": 1, + "title": "부사 사과가 나오는 때", + "read_minutes": 2, + "icon": "apple", + "show_from": "2026-10-20", + "show_until": "2026-11-30", + "body": [ + "우리가 흔히 먹는 부사(후지)는 10월 하순에서 11월에 따요. 겨울 내내 먹는 사과가 이때 수확한 거예요.", + "사과는 다른 과일을 빨리 익게 하는 기체를 내요. 따로 봉지에 싸서 냉장 보관하세요.", + "(예년 기준 정보예요. 올해 시기는 산지·기상 상황에 따라 달라요.)" + ], + "sort_order": 9 + }, + { + "code": "kimjang", + "category": 1, + "title": "김장, 언제 하면 좋을까?", + "read_minutes": 2, + "icon": "kimchi", + "show_from": "2026-11-01", + "show_until": "2026-12-15", + "body": [ + "기상청은 하루 평균기온이 4° 아래로, 최저기온이 0° 아래로 꾸준히 내려갈 때를 김장하기 좋은 때로 봐요.", + "예년엔 중부 내륙이 11월 하순, 서울이 11월 말~12월 초, 남부는 12월 중순쯤이에요. 날짜가 다가오면 그 주 예보를 보고 정하세요.", + "(예년 기준 정보예요. 올해 시기는 산지·기상 상황에 따라 달라요.)" + ], + "sort_order": 10 } ] \ No newline at end of file diff --git a/frontend/public/icons/apple.png b/frontend/public/icons/apple.png new file mode 100644 index 0000000..ae9b06c Binary files /dev/null and b/frontend/public/icons/apple.png differ diff --git a/frontend/public/icons/fallen_leaf.png b/frontend/public/icons/fallen_leaf.png new file mode 100644 index 0000000..96f1227 Binary files /dev/null and b/frontend/public/icons/fallen_leaf.png differ diff --git a/frontend/public/icons/kimchi.png b/frontend/public/icons/kimchi.png new file mode 100644 index 0000000..d97d0f9 Binary files /dev/null and b/frontend/public/icons/kimchi.png differ diff --git a/frontend/public/icons/peanut.png b/frontend/public/icons/peanut.png new file mode 100644 index 0000000..4251ef0 Binary files /dev/null and b/frontend/public/icons/peanut.png differ diff --git a/frontend/public/icons/sweet_potato.png b/frontend/public/icons/sweet_potato.png new file mode 100644 index 0000000..12b0b56 Binary files /dev/null and b/frontend/public/icons/sweet_potato.png differ diff --git a/frontend/public/icons/tangerine.png b/frontend/public/icons/tangerine.png new file mode 100644 index 0000000..b3588b1 Binary files /dev/null and b/frontend/public/icons/tangerine.png differ diff --git a/frontend/src/b/lib.ts b/frontend/src/b/lib.ts index 01104d5..c354585 100644 --- a/frontend/src/b/lib.ts +++ b/frontend/src/b/lib.ts @@ -1,6 +1,6 @@ import type { CSSProperties } from 'react' -const SHARED = new Set(['bear', 'bike', 'bronze', 'camping', 'carwash', 'chimaek', 'cloud', 'coldwind', 'delivery', 'dog', 'garden', 'glasses', 'gold', 'hiking', 'iced_hot', 'jjamppong', 'laundry', 'letter', 'makeup', 'makgeolli', 'maple', 'moon', 'muggy', 'naengmyeon', 'photo', 'picnic', 'rabbit', 'rain', 'running', 'silver', 'snow', 'stars', 'sun_cloud', 'sun', 'sunset', 'taxi', 'umbrella', 'vent', 'walk', 'yajang', 'baseball', 'study', 'netflix', 'chestnut']) +const SHARED = new Set(['bear', 'bike', 'bronze', 'camping', 'carwash', 'chimaek', 'cloud', 'coldwind', 'delivery', 'dog', 'garden', 'glasses', 'gold', 'hiking', 'iced_hot', 'jjamppong', 'laundry', 'letter', 'makeup', 'makgeolli', 'maple', 'moon', 'muggy', 'naengmyeon', 'photo', 'picnic', 'rabbit', 'rain', 'running', 'silver', 'snow', 'stars', 'sun_cloud', 'sun', 'sunset', 'taxi', 'umbrella', 'vent', 'walk', 'yajang', 'baseball', 'study', 'netflix', 'chestnut', 'peanut', 'tangerine', 'sweet_potato', 'fallen_leaf', 'kimchi', 'apple']) const OWN = new Set(['fireworks', 'bulb', 'calendar', 'thermo', 'sheaf']) /** 아이콘 이름 → 파일 경로 (공용 public/icons, B 전용 public/b/icons) */