caelum0x f80b04ae0f feat(ritgram): move GitGram app into railyard as Ritgram, next to Rithub
Moved later/gitgram-ai/gitgram/ to apps/ritgram/ (fresh history; full history stays in caelum0x/gitgram).
AITimeMachine stays separate in later/gitgram-ai per the Rithub master plan.
Logs, pid files and env files are ignored; GPL-3.0 mobile/proximity noted in THIRD_PARTY_NOTICES.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-13 04:18:46 +03:00

60 lines
1.6 KiB
TypeScript

import React, { useContext } from 'react';
import { StyleSheet, View } from 'react-native';
import { responsiveWidth } from 'react-native-responsive-dimensions';
import { Placeholder, PlaceholderLine, PlaceholderMedia } from 'rn-placeholder';
import PlaceholderAnimation from './PlaceholderAnimation';
import { AppContext } from '@app/context';
const SearchUsersPlaceholder: React.FC = () => {
const { theme } = useContext(AppContext);
return (
<View style={styles.container}>
<Placeholder Animation={PlaceholderAnimation}>
{new Array(20)
.fill({})
.map((_, index) =>
<View key={index} style={styles.cardContainer}>
<PlaceholderMedia color={theme.placeholder} size={50} isRound />
<View style={styles.infoContainer}>
<PlaceholderLine
noMargin
color={theme.placeholder}
style={styles.userInfoPlaceholder}
width={responsiveWidth(20)}
/>
<PlaceholderLine
noMargin
color={theme.placeholder}
style={styles.userInfoPlaceholder}
width={responsiveWidth(10)}
/>
</View>
</View>
)}
</Placeholder>
</View>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
padding: 20,
paddingBottom: 0
},
cardContainer: {
flexDirection: 'row',
marginBottom: 20
},
infoContainer: {
flex: 1,
paddingLeft: 10
},
userInfoPlaceholder: {
borderRadius: 10,
marginTop: 10
}
});
export default SearchUsersPlaceholder;