managarten/games/figgos/apps/mobile/app/subscription.tsx
Till-JS 05d074c57e 🔧 refactor(figgos): restructure to standard monorepo pattern
Migrate figgos from single Expo app to multi-app monorepo structure:
- Move mobile app to apps/mobile/
- Add apps/web/ (SvelteKit) and apps/backend/ (NestJS) scaffolds
- Add packages/shared/ for shared types and constants
- Update root package.json with new dev commands
- Temporarily skip type-check (run pnpm install first)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 17:27:15 +01:00

34 lines
891 B
TypeScript

import React, { useState } from 'react';
import { View, Text, Pressable, ScrollView, Alert } from 'react-native';
import { StatusBar } from 'expo-status-bar';
import { Stack, useRouter } from 'expo-router';
import { useTheme } from '../utils/ThemeContext';
import { Button } from '../components/Button';
import { supabase } from '../utils/supabase';
import SubscriptionPage from '../components/subscription/SubscriptionPage';
function SubscriptionScreen() {
const { theme } = useTheme();
return (
<View className="flex-1 bg-[#121212]">
<StatusBar style="light" />
<Stack.Screen
options={{
title: 'Mana',
headerStyle: {
backgroundColor: theme.colors.background,
},
headerTintColor: theme.colors.text,
headerTitleStyle: {
fontWeight: 'bold',
},
}}
/>
<SubscriptionPage />
</View>
);
}
export default SubscriptionScreen;