feat: 앱 내 각 — 오늘 피드 내 각 줄, 만들기 창(있는 각 불러오기·아이콘·조건·시간대·미리보기 점수), 상세 창(시간대·조건별 점수, 링크 공유·지우기), 로그인 전 기기에 하나 저장 후 로그인하면 계정으로, ?my= 받은 각 열기 (GA my_gak_save)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
skkimandClaude committed 2026-11-04 17:38:40 +09:00
1 parent f6884fe9c9
commit 5a88b08a44
6 files changed
+546 -4

No files matched your search

+5 -2
View File
@@ -5,15 +5,16 @@ import { Text } from '@/components/text';
import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, withTiming } from 'react-native-reanimated';
import { useSafeAreaInsets } from 'react-native-safe-area-context';
import { MixSheet, MyGakSheet } from '@/components/my-gak/my-gak';
import { track } from '@/lib/analytics';
import { SheetContext, useSheet, type SheetState } from '@/lib/sheet';
import { ArticleSheet, SeasonWeekSheet } from './article';
import { CommentsSheet } from './comments';
import { GakSheet } from './gak';
import { LevelSheet, LevelUpSheet } from './level';
import { LoginSheet } from './login';
import { MeSheet } from './me';
import { LevelSheet, LevelUpSheet } from './level';
import { RegionSheet } from './region';
import { WeatherWhySheet } from './weather-why';
@@ -68,7 +69,7 @@ function SheetHost({ state: next, onClose }: { state: SheetState; onClose: () =>
const [articleTitle, setArticleTitle] = useState('');
const then = state?.type === 'login' ? state.then : undefined;
const title = !state ? '' : state.type === 'gak' ? gakTitle : state.type === 'article' ? articleTitle || TITLES.article : TITLES[state.type];
const title = !state ? '' : state.type === 'gak' ? gakTitle : state.type === 'article' ? articleTitle || TITLES.article : state.type === 'mix' ? (state.shared ? '받은 각' : '내 각 만들기') : state.type === 'myGak' ? '내 각' : TITLES[state.type];
return (
<Modal visible={next != null} transparent animationType="fade" onRequestClose={onClose} statusBarTranslucent>
@@ -96,6 +97,8 @@ function SheetHost({ state: next, onClose }: { state: SheetState; onClose: () =>
{state.type === 'region' && <RegionSheet onDone={onClose} />}
{state.type === 'weatherWhy' && <WeatherWhySheet d={state.why} />}
{state.type === 'level' && <LevelSheet />}
{state.type === 'mix' && <MixSheet shared={state.shared} onDone={onClose} />}
{state.type === 'myGak' && <MyGakSheet gak={state.gak} onDone={onClose} />}
{state.type === 'levelUp' && <LevelUpSheet level={state.level} />}
</View>
</Rise>