mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 18:59:40 +02:00
- Move finance, mail, moodlit to apps-archived for later development - Rename games/voxel-lava to games/voxelava 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
29 lines
932 B
TypeScript
29 lines
932 B
TypeScript
import { Text, View } from 'react-native';
|
|
|
|
export const EditScreenInfo = ({ path }: { path: string }) => {
|
|
const title = 'Open up the code for this screen:';
|
|
const description =
|
|
'Change any of the text, save the file, and your app will automatically update.';
|
|
|
|
return (
|
|
<View>
|
|
<View className={styles.getStartedContainer}>
|
|
<Text className={styles.getStartedText}>{title}</Text>
|
|
<View className={styles.codeHighlightContainer + styles.homeScreenFilename}>
|
|
<Text className="text-white">{path}</Text>
|
|
</View>
|
|
<Text className={styles.getStartedText}>{description}</Text>
|
|
</View>
|
|
</View>
|
|
);
|
|
};
|
|
|
|
const styles = {
|
|
codeHighlightContainer: `rounded-md px-1 bg-gray-800`,
|
|
getStartedContainer: `items-center mx-12`,
|
|
getStartedText: `text-lg leading-6 text-center text-gray-400`,
|
|
helpContainer: `items-center mx-5 mt-4`,
|
|
helpLink: `py-4`,
|
|
helpLinkText: `text-center`,
|
|
homeScreenFilename: `my-2`,
|
|
};
|