managarten/apps-archived/nutriphi/apps/mobile/components/ui/LoadingOverlay.tsx
Till-JS 61d181fbc2 chore: archive inactive projects to apps-archived/
Move inactive projects out of active workspace:
- bauntown (community website)
- maerchenzauber (AI story generation)
- memoro (voice memo app)
- news (news aggregation)
- nutriphi (nutrition tracking)
- reader (reading app)
- uload (URL shortener)
- wisekeep (AI wisdom extraction)

Update CLAUDE.md documentation:
- Add presi to active projects
- Document archived projects section
- Update workspace configuration

Archived apps can be re-activated by moving back to apps/

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 07:03:59 +01:00

31 lines
892 B
TypeScript

import React from 'react';
import { View, Text, Modal, ActivityIndicator } from 'react-native';
interface LoadingOverlayProps {
visible: boolean;
message?: string;
backgroundColor?: string;
}
export default function LoadingOverlay({
visible,
message = 'Wird geladen...',
backgroundColor = 'rgba(0, 0, 0, 0.7)',
}: LoadingOverlayProps) {
if (!visible) return null;
return (
<Modal transparent visible={visible} animationType="fade">
<View className="flex-1 items-center justify-center" style={{ backgroundColor }}>
<View className="rounded-2xl bg-white p-8 shadow-lg dark:bg-gray-800">
<View className="items-center space-y-4">
<ActivityIndicator size="large" className="text-indigo-500" />
<Text className="text-center text-lg font-medium text-gray-900 dark:text-white">
{message}
</Text>
</View>
</View>
</View>
</Modal>
);
}