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>
143 lines
3.8 KiB
TypeScript
143 lines
3.8 KiB
TypeScript
import React, { useContext } from 'react';
|
|
import { Image, Linking, StyleSheet, Text, View } from 'react-native';
|
|
import { Modalize } from 'react-native-modalize';
|
|
import { responsiveHeight } from 'react-native-responsive-dimensions';
|
|
import AntDesign from 'react-native-vector-icons/AntDesign';
|
|
import ProximityLogo from '@app/assets/images/proximity-logo.png';
|
|
import Config from '@app/config';
|
|
import { AppContext } from '@app/context';
|
|
import { BottomSheetHeader, Button } from '@app/layout';
|
|
import { ThemeStatic, Typography } from '@app/theme';
|
|
import { ThemeColors } from '@app/types/theme';
|
|
|
|
const { FontWeights, FontSizes } = Typography;
|
|
const { author: { url }, repository, version } = Config;
|
|
|
|
const AboutAction = ({ iconName, label, onPress }) => {
|
|
const { theme } = useContext(AppContext);
|
|
const Icon = () =>
|
|
<AntDesign name={iconName}
|
|
size={20}
|
|
color={ThemeStatic.accent}
|
|
/>;
|
|
|
|
return (
|
|
<Button
|
|
loading={false}
|
|
Icon={Icon}
|
|
label={label}
|
|
onPress={onPress}
|
|
labelStyle={styles(theme).aboutActionLabel}
|
|
containerStyle={styles(theme).aboutActionContainer}
|
|
/>
|
|
);
|
|
};
|
|
|
|
interface AboutBottomSheetProps {
|
|
ref: React.Ref<any>
|
|
};
|
|
|
|
const AboutBottomSheet: React.FC<AboutBottomSheetProps> = React.forwardRef((_, ref) => {
|
|
|
|
const { theme } = useContext(AppContext);
|
|
|
|
const openLink = (url: string) => {
|
|
try {
|
|
Linking.openURL(url);
|
|
} catch { }
|
|
};
|
|
|
|
return (
|
|
<Modalize
|
|
//@ts-ignore
|
|
ref={ref}
|
|
scrollViewProps={{ showsVerticalScrollIndicator: false }}
|
|
modalStyle={styles(theme).container}
|
|
adjustToContentHeight>
|
|
<BottomSheetHeader
|
|
heading='About'
|
|
subHeading='About Proximity'
|
|
/>
|
|
<View style={styles().content}>
|
|
<Image source={ProximityLogo} style={styles().logoImage} />
|
|
<Text style={styles(theme).versionText}>{version}</Text>
|
|
<Text style={styles(theme).aboutText}>
|
|
Proximity is an Open Source social media app I designed
|
|
and developed in my free time, this app is fully open
|
|
source and doesn't use your data against you in any
|
|
shape or form. The code for mobile apps is open-source
|
|
on Github.
|
|
</Text>
|
|
<Text style={styles(theme).aboutText}>
|
|
Curious how I build this? which tech stack I used? Feel free
|
|
to leave me message, I'm always excited to talk about new
|
|
technologies with new people
|
|
</Text>
|
|
|
|
<View style={styles().actions}>
|
|
<AboutAction
|
|
iconName='link'
|
|
label='Contact me'
|
|
onPress={() => openLink(url)}
|
|
/>
|
|
|
|
<AboutAction
|
|
iconName='github'
|
|
label='Source code'
|
|
onPress={() => openLink(repository)}
|
|
/>
|
|
</View>
|
|
</View>
|
|
</Modalize>
|
|
);
|
|
});
|
|
|
|
const styles = (theme = {} as ThemeColors) => StyleSheet.create({
|
|
container: {
|
|
padding: 20,
|
|
backgroundColor: theme.base,
|
|
marginTop: responsiveHeight(8)
|
|
},
|
|
content: {
|
|
flex: 1,
|
|
paddingTop: 20,
|
|
marginBottom: responsiveHeight(10)
|
|
},
|
|
logoImage: {
|
|
resizeMode: 'contain',
|
|
height: 40,
|
|
width: '100%',
|
|
marginTop: 20,
|
|
marginBottom: 10,
|
|
alignSelf: 'center'
|
|
},
|
|
versionText: {
|
|
...FontWeights.Light,
|
|
...FontSizes.Label,
|
|
alignSelf: 'center',
|
|
color: theme.text02
|
|
},
|
|
aboutText: {
|
|
...FontWeights.Light,
|
|
...FontSizes.Body,
|
|
marginVertical: 20,
|
|
alignSelf: 'center',
|
|
textAlign: 'justify',
|
|
color: theme.text01
|
|
},
|
|
actions: {
|
|
marginTop: 10
|
|
},
|
|
aboutActionLabel: {
|
|
marginLeft: 10,
|
|
color: theme.accent
|
|
},
|
|
aboutActionContainer: {
|
|
marginVertical: 10,
|
|
backgroundColor: 'transparent',
|
|
borderWidth: StyleSheet.hairlineWidth,
|
|
borderColor: theme.accent
|
|
}
|
|
});
|
|
|
|
export default AboutBottomSheet; |