mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-18 15:29:42 +02:00
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>
78 lines
1.6 KiB
TypeScript
78 lines
1.6 KiB
TypeScript
import React from 'react';
|
|
import { View, StyleSheet } from 'react-native';
|
|
import { useTheme } from '~/features/theme/ThemeProvider';
|
|
import {
|
|
getSkeletonColor,
|
|
skeletonBase,
|
|
skeletonText,
|
|
skeletonBox,
|
|
skeletonRow,
|
|
skeletonSpacing,
|
|
} from '../utils/skeletonStyles';
|
|
import { SkeletonAnimation } from '../utils/SkeletonAnimation';
|
|
|
|
export const MemoMetadataSkeleton: React.FC = () => {
|
|
const { colors, isDark } = useTheme();
|
|
const skeletonColor = getSkeletonColor(isDark, colors);
|
|
|
|
return (
|
|
<SkeletonAnimation style={styles.container}>
|
|
<View style={[skeletonRow, styles.dateRow]}>
|
|
<View
|
|
style={[
|
|
skeletonBase,
|
|
skeletonText(14),
|
|
styles.dateText,
|
|
{ backgroundColor: skeletonColor },
|
|
]}
|
|
/>
|
|
</View>
|
|
<View style={[skeletonRow, styles.tagsRow]}>
|
|
<View
|
|
style={[
|
|
skeletonBase,
|
|
skeletonBox(60, 24),
|
|
styles.tag,
|
|
{ backgroundColor: skeletonColor },
|
|
]}
|
|
/>
|
|
<View
|
|
style={[
|
|
skeletonBase,
|
|
skeletonBox(80, 24),
|
|
styles.tag,
|
|
{ backgroundColor: skeletonColor },
|
|
]}
|
|
/>
|
|
<View
|
|
style={[
|
|
skeletonBase,
|
|
skeletonBox(70, 24),
|
|
styles.tag,
|
|
{ backgroundColor: skeletonColor },
|
|
]}
|
|
/>
|
|
</View>
|
|
</SkeletonAnimation>
|
|
);
|
|
};
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
paddingHorizontal: 20, // Same as memo page
|
|
marginBottom: 24, // Add proper spacing
|
|
},
|
|
dateRow: {
|
|
marginBottom: skeletonSpacing.sm,
|
|
},
|
|
dateText: {
|
|
width: 150,
|
|
},
|
|
tagsRow: {
|
|
flexWrap: 'wrap',
|
|
gap: 8,
|
|
},
|
|
tag: {
|
|
borderRadius: 12,
|
|
},
|
|
});
|