feat: 오늘 탭 아이콘 줄에 날씨 게임(/game) 연결, 오늘 코디 빼기, 오늘 타로는 잠시 숨김
- feat/weather-game(구름 합치기) 브랜치를 합쳐 아이콘에서 바로 열림 - 오늘 코디 아이콘·창과 그걸 위해 넣은 GET /v1/card/latest 를 걷어냄 - 오늘 타로는 features.ts HIDDEN 으로 숨김 (아이콘 줄·각 모으는 법에서 빠짐, 안내 문구에서도 타로를 뺌)
This commit is contained in:
1 parent
4cfcbcf7ea
commit
e4834fd24e
15 files changed
+18
-183
No files matched your search
@@ -4,6 +4,7 @@ import { attendMutation, myLevelOptions, myLevelQueryKey, sharedMutation } from
|
||||
import type { ResLevel } from '@nalssigak/shared/api/client/types.gen'
|
||||
import { cx } from '../lib/utils'
|
||||
import { useAuth } from './authContext'
|
||||
import { HIDDEN } from './features'
|
||||
import { useSheet } from './sheetContext'
|
||||
import { Ic } from './ui'
|
||||
|
||||
@@ -133,7 +134,7 @@ export function LevelSheet() {
|
||||
<section>
|
||||
<h4 className="m-0 mb-2 text-sm font-extrabold">오늘 받을 수 있는 각</h4>
|
||||
<ul className="m-0 list-none rounded-2xl bg-white p-0 shadow-[inset_0_-4px_0_var(--shade)]">
|
||||
{(level.today ?? []).map((a) => {
|
||||
{(level.today ?? []).filter((a) => !HIDDEN.has(a.action)).map((a) => {
|
||||
const done = a.earned >= a.cap
|
||||
return (
|
||||
<li key={a.action} className="flex items-center gap-2.5 border-b border-[#eef1f6] px-3.5 py-2.5 text-[13.5px] font-bold last:border-0">
|
||||
|
||||
Reference in new issue
Block a user