refactor(swipe): split swipe screen modules

Move swipe screen logic into hooks/services and extract
state-specific UI components to keep files small while
preserving existing behavior.

Reference: US-002
This commit is contained in:
jjbrunton committed 2026-01-25 21:05:54 +00:00
1 parent 209dc652d2
commit 8d4d9d8750
55 files changed
+11127 -1681

No files matched your search

@@ -0,0 +1,31 @@
import { colors } from "../../../theme";
import { SwipeInfoStateLayout } from "./SwipeInfoStateLayout";
interface SwipeNoPacksStateProps {
onBrowsePacks: () => void;
}
export const SwipeNoPacksState = ({ onBrowsePacks }: SwipeNoPacksStateProps) => {
const accent = colors.premium.rose;
return (
<SwipeInfoStateLayout
accentColor={accent}
icon="layers-outline"
label="GET STARTED"
title="Choose Packs"
badgeText="NO PACKS ENABLED"
description="Select the question packs that interest you and your partner. Each pack explores different aspects of your relationship."
features={[
{ icon: "flame-outline", text: "From playful to passionate", color: accent },
{ icon: "shield-checkmark-outline", text: "Safe space to explore", color: accent },
{ icon: "infinite-outline", text: "New packs added regularly", color: accent },
]}
teaser="Your journey of discovery awaits"
action={{
label: "Browse Packs",
onPress: onBrowsePacks,
}}
/>
);
};