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

55 lines
1.2 KiB
TypeScript

import React from 'react';
import { View, StyleSheet } from 'react-native';
import { Image } from 'expo-image';
import { Colors } from '../../constants/Colors';
interface DualImagePreviewProps {
screenshotUrl: string;
selfieUrl: string;
height?: number;
}
export default function DualImagePreview({
screenshotUrl,
selfieUrl,
height = 300,
}: DualImagePreviewProps) {
return (
<View style={[styles.container, { height }]}>
<View style={styles.screenshotContainer}>
<Image source={{ uri: screenshotUrl }} style={styles.screenshot} />
</View>
<View style={styles.selfieContainer}>
<Image source={{ uri: selfieUrl }} style={styles.selfie} />
</View>
</View>
);
}
const styles = StyleSheet.create({
container: {
flexDirection: 'row',
borderRadius: 12,
overflow: 'hidden',
},
screenshotContainer: {
flex: 2,
backgroundColor: Colors.surface,
},
screenshot: {
width: '100%',
height: '100%',
},
selfieContainer: {
flex: 1,
backgroundColor: Colors.surface,
borderLeftWidth: 2,
borderLeftColor: Colors.border,
},
selfie: {
width: '100%',
height: '100%',
},
});