Convert gitgram/ and aitimemachine/ from embedded git repos (which showed as opaque submodule gitlinks on GitHub) into fully-tracked first-party content. AITM now merges its 7 vendored repos as first-party engines: - memory: beads (Go task DAG) + context7 (docs SDK), unified into saved_contexts - git: vendored C git (bundled binary) + gitnexus (in-process code intelligence) - agentic: a2a (@a2a-js/sdk) + pal (AITM-managed Python subprocess) Includes the full session's product build: Gitgram web/mobile/backend features, AITM website/CLI/MCP, the unified memory layer, engine build tooling (scripts/build-engines.sh, Dockerfile, CI), docs (README, ENGINES.md, ARCHITECTURE.md), and extensive test suites. Build artifacts, node_modules, external/, and gemini-cli are gitignored. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
129 lines
3.0 KiB
TypeScript
129 lines
3.0 KiB
TypeScript
import React from 'react';
|
|
import {
|
|
View,
|
|
Text,
|
|
StyleSheet,
|
|
TouchableOpacity,
|
|
} from 'react-native';
|
|
import { useRouter } from 'expo-router';
|
|
import { Colors } from '../../constants/Colors';
|
|
|
|
export default function WelcomeScreen() {
|
|
const router = useRouter();
|
|
|
|
return (
|
|
<View style={styles.container}>
|
|
<View style={styles.content}>
|
|
<Text style={styles.emoji}>🚀</Text>
|
|
<Text style={styles.title}>Welcome to Gitgram</Text>
|
|
<Text style={styles.subtitle}>
|
|
The social platform for GitHub projects. Share your code, discover amazing projects, and connect with developers.
|
|
</Text>
|
|
|
|
<View style={styles.features}>
|
|
<View style={styles.feature}>
|
|
<Text style={styles.featureEmoji}>📱</Text>
|
|
<Text style={styles.featureText}>Share your projects</Text>
|
|
</View>
|
|
<View style={styles.feature}>
|
|
<Text style={styles.featureEmoji}>🔍</Text>
|
|
<Text style={styles.featureText}>Discover code</Text>
|
|
</View>
|
|
<View style={styles.feature}>
|
|
<Text style={styles.featureEmoji}>👥</Text>
|
|
<Text style={styles.featureText}>Connect with developers</Text>
|
|
</View>
|
|
</View>
|
|
|
|
<View style={styles.buttons}>
|
|
<TouchableOpacity
|
|
style={styles.primaryButton}
|
|
onPress={() => router.push('/(auth)/register')}
|
|
>
|
|
<Text style={styles.primaryButtonText}>Get Started</Text>
|
|
</TouchableOpacity>
|
|
|
|
<TouchableOpacity
|
|
style={styles.secondaryButton}
|
|
onPress={() => router.push('/(auth)/login')}
|
|
>
|
|
<Text style={styles.secondaryButtonText}>Already have an account?</Text>
|
|
</TouchableOpacity>
|
|
</View>
|
|
</View>
|
|
</View>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: Colors.background,
|
|
},
|
|
content: {
|
|
flex: 1,
|
|
justifyContent: 'center',
|
|
alignItems: 'center',
|
|
padding: 32,
|
|
},
|
|
emoji: {
|
|
fontSize: 80,
|
|
marginBottom: 24,
|
|
},
|
|
title: {
|
|
fontSize: 32,
|
|
fontWeight: 'bold',
|
|
color: Colors.text,
|
|
textAlign: 'center',
|
|
marginBottom: 16,
|
|
},
|
|
subtitle: {
|
|
fontSize: 16,
|
|
color: Colors.textSecondary,
|
|
textAlign: 'center',
|
|
lineHeight: 24,
|
|
marginBottom: 48,
|
|
},
|
|
features: {
|
|
width: '100%',
|
|
marginBottom: 48,
|
|
},
|
|
feature: {
|
|
flexDirection: 'row',
|
|
alignItems: 'center',
|
|
marginBottom: 16,
|
|
gap: 12,
|
|
},
|
|
featureEmoji: {
|
|
fontSize: 24,
|
|
},
|
|
featureText: {
|
|
fontSize: 16,
|
|
color: Colors.text,
|
|
},
|
|
buttons: {
|
|
width: '100%',
|
|
gap: 12,
|
|
},
|
|
primaryButton: {
|
|
backgroundColor: Colors.text,
|
|
borderRadius: 8,
|
|
padding: 16,
|
|
alignItems: 'center',
|
|
width: '100%',
|
|
},
|
|
primaryButtonText: {
|
|
color: Colors.background,
|
|
fontSize: 16,
|
|
fontWeight: '600',
|
|
},
|
|
secondaryButton: {
|
|
padding: 16,
|
|
alignItems: 'center',
|
|
},
|
|
secondaryButtonText: {
|
|
color: Colors.text,
|
|
fontSize: 14,
|
|
},
|
|
});
|