managarten/apps-archived/memoro/apps/mobile/components/molecules/PulsingLogoAnimation.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

71 lines
1.7 KiB
TypeScript

import React, { useEffect, useRef } from 'react';
import { View, Animated, ViewStyle } from 'react-native';
import MemoroLogo from '~/components/atoms/MemoroLogo';
import { useTheme } from '~/features/theme/ThemeProvider';
interface PulsingLogoAnimationProps {
size?: number;
style?: ViewStyle;
color?: string;
}
/**
* Einfache pulsierende Logo-Animation
* Minimalistisch und elegant - perfekt für Loading-States
*/
export function PulsingLogoAnimation({ size = 80, style, color }: PulsingLogoAnimationProps) {
const { colors } = useTheme();
const scaleAnim = useRef(new Animated.Value(1)).current;
const opacityAnim = useRef(new Animated.Value(1)).current;
const logoColor = color || colors.primary;
useEffect(() => {
// Kombinierte Scale + Opacity Animation
const animation = Animated.loop(
Animated.sequence([
Animated.parallel([
Animated.timing(scaleAnim, {
toValue: 1.1,
duration: 1000,
useNativeDriver: true,
}),
Animated.timing(opacityAnim, {
toValue: 0.6,
duration: 1000,
useNativeDriver: true,
}),
]),
Animated.parallel([
Animated.timing(scaleAnim, {
toValue: 1,
duration: 1000,
useNativeDriver: true,
}),
Animated.timing(opacityAnim, {
toValue: 1,
duration: 1000,
useNativeDriver: true,
}),
]),
])
);
animation.start();
return () => animation.stop();
}, [scaleAnim, opacityAnim]);
return (
<View style={[{ alignItems: 'center', justifyContent: 'center' }, style]}>
<Animated.View
style={{
transform: [{ scale: scaleAnim }],
opacity: opacityAnim,
}}
>
<MemoroLogo size={size} color={logoColor} />
</Animated.View>
</View>
);
}