- sitemap.xml, robots.txt, og:url, og:image, twitter:image, metadataBase all resolve from NEXT_PUBLIC_SITE_URL with a https://ritgram.ereboslab.com default instead of the dead gitgram.app (NXDOMAIN). - Page titles, OG copy, PWA manifest, offline.html, service-worker push notification title: Gitgram -> Ritgram. Left internal SW cache-name/tag strings (gitgram-static-, gitgram-sync, etc.) alone as low-risk code identifiers. - /[owner]/page.tsx (top-level profile route) converted to an async Server Component that calls fetchProfile() + notFound() before any HTML streams, so a GET on any nonexistent username now returns a real 404 instead of a 200 loading-shell (the same pattern [owner]/[name]/page.tsx already used one level down). - apps/ritgram/backend: matching Gitgram->Ritgram string rename sweep across controllers/services/config comments and defaults (EMAIL_FROM, AITM_API_URL description, etc.) — no behavior change. - apps/ritgram/mobile: matching user-visible string rename sweep. tsc --noEmit clean on both web and backend. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
39 lines
815 B
TypeScript
39 lines
815 B
TypeScript
import React from 'react';
|
|
import { View, Text, StyleSheet } from 'react-native';
|
|
import { Colors } from '../../constants/Colors';
|
|
|
|
export default function SplashScreen() {
|
|
return (
|
|
<View style={styles.container}>
|
|
<View style={styles.content}>
|
|
{/* GitHub Logo SVG as text/emoji for simplicity */}
|
|
<Text style={styles.logo}>🐙</Text>
|
|
<Text style={styles.appName}>Ritgram</Text>
|
|
</View>
|
|
</View>
|
|
);
|
|
}
|
|
|
|
const styles = StyleSheet.create({
|
|
container: {
|
|
flex: 1,
|
|
backgroundColor: Colors.background,
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
},
|
|
content: {
|
|
alignItems: 'center',
|
|
gap: 16,
|
|
},
|
|
logo: {
|
|
fontSize: 96,
|
|
},
|
|
appName: {
|
|
fontSize: 36,
|
|
fontWeight: 'bold',
|
|
color: Colors.text,
|
|
letterSpacing: -1,
|
|
},
|
|
});
|
|
|