import React from 'react'; import { View, Text, StyleSheet, ScrollView, TouchableOpacity, Linking, } from 'react-native'; import { Colors } from '../constants/Colors'; import Header from '../components/navigation/Header'; import Icon from 'react-native-vector-icons/MaterialIcons'; export default function AboutScreen() { const handleOpenLink = (url: string) => { Linking.openURL(url); }; return (
Gitgram Version 1.0.0 Gitgram is a social platform for developers to share their GitHub projects, connect with other developers, and discover amazing open-source work. Links handleOpenLink('https://gitgram.app')} > Website handleOpenLink('https://github.com/gitgram')} > GitHub handleOpenLink('https://twitter.com/gitgram')} > Twitter Legal handleOpenLink('https://gitgram.app/privacy')} > Privacy Policy handleOpenLink('https://gitgram.app/terms')} > Terms of Service © {new Date().getFullYear()} Gitgram. All rights reserved. ); } const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: Colors.background, }, content: { flex: 1, padding: 16, }, section: { marginBottom: 32, }, title: { fontSize: 28, fontWeight: 'bold', color: Colors.text, marginBottom: 8, }, version: { fontSize: 14, color: Colors.textSecondary, marginBottom: 16, }, description: { fontSize: 16, color: Colors.text, lineHeight: 24, }, sectionTitle: { fontSize: 18, fontWeight: '600', color: Colors.text, marginBottom: 16, }, linkItem: { flexDirection: 'row', alignItems: 'center', padding: 16, backgroundColor: Colors.surface, borderRadius: 8, marginBottom: 8, gap: 12, }, linkText: { flex: 1, fontSize: 16, color: Colors.text, }, copyright: { fontSize: 14, color: Colors.textSecondary, textAlign: 'center', }, });