feat: 앱 계정 레벨 — 하루 출석 각, 아바타 Lv 표시, 내 정보 레벨 카드, 내 레벨·레벨업 창, 공유하면 하루 한 번 각, 각을 주는 일 뒤 레벨 다시 받기. 아이콘 목록을 웹 아이콘 전부로 (GA sheet_open level·levelUp)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
01b5f917b9
commit
e40a9a0539
16 files changed
+360
-19
No files matched your search
@@ -19,7 +19,7 @@ import { Ic, Skel } from '@/components/ui';
|
||||
import { track } from '@/lib/analytics';
|
||||
import { usePinnedLike } from '@/lib/pinned-like';
|
||||
import { useRegion } from '@/lib/region';
|
||||
import { shareView } from '@/lib/share-image';
|
||||
import { useShare } from '@/lib/share-image';
|
||||
import { useSheet } from '@/lib/sheet';
|
||||
import { SITE_URL } from '@/lib/site';
|
||||
import { useSky } from '@/lib/sky';
|
||||
@@ -198,6 +198,7 @@ export function Hero({ hero, post, today, ranked, feedLoad, todayLoad }: Props)
|
||||
if (v !== tmr) track('hero_day_switch', { day: v ? 'tomorrow' : 'today' });
|
||||
setTmr(v);
|
||||
};
|
||||
const shareView = useShare();
|
||||
const share = () => {
|
||||
const title = `${region.name} ${tmr ? '내일' : '오늘'} 날씨`;
|
||||
void shareView(shot, { title, message: `${title} · 날씨각 ${SITE_URL}` });
|
||||
|
||||
Reference in new issue
Block a user