mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-17 05:19:40 +02:00
- Add uload project with apps/web structure
- Reorganize from flat to monorepo structure
- Remove PocketBase binary and local data
- Update to pnpm and @uload/web namespace
- Add picture project to monorepo
- Remove embedded git repository
- Unify all package names to @{project}/{app} schema:
- @maerchenzauber/* (was @storyteller/*)
- @manacore/* (was manacore-*, manacore)
- @manadeck/* (was web, backend, manadeck)
- @memoro/* (was memoro-web, landing, memoro)
- @picture/* (already unified)
- @uload/web
- Add convenient dev scripts for all apps:
- pnpm dev:{project}:web
- pnpm dev:{project}:landing
- pnpm dev:{project}:mobile
- pnpm dev:{project}:backend
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
656 B
TypeScript
25 lines
656 B
TypeScript
import { Text, View } from 'react-native';
|
|
|
|
import { EditScreenInfo } from './EditScreenInfo';
|
|
|
|
type ScreenContentProps = {
|
|
title: string;
|
|
path: string;
|
|
children?: React.ReactNode;
|
|
};
|
|
|
|
export const ScreenContent = ({ title, path, children }: ScreenContentProps) => {
|
|
return (
|
|
<View className={styles.container}>
|
|
<Text className={styles.title}>{title}</Text>
|
|
<View className={styles.separator} />
|
|
<EditScreenInfo path={path} />
|
|
{children}
|
|
</View>
|
|
);
|
|
};
|
|
const styles = {
|
|
container: `items-center flex-1 justify-center`,
|
|
separator: `h-[1px] my-7 w-4/5 bg-gray-800`,
|
|
title: `text-xl font-bold text-gray-100`,
|
|
};
|