Layout changes, beginning of new entry page

This commit is contained in:
2025-06-21 17:11:36 -07:00
parent 25a7b4da7b
commit 6a117db0ae
7 changed files with 253 additions and 120 deletions
+24
View File
@@ -0,0 +1,24 @@
import { View } from "react-native";
import { ThemedView } from "../ThemedView";
import { SafeAreaView, useSafeAreaInsets } from "react-native-safe-area-context";
import { useTheme } from "react-native-paper";
export default function Wrapper({ children }: { children: React.ReactNode }) {
const insets = useSafeAreaInsets();
const theme = useTheme();
return (
<ThemedView style={{ flex: 1 }}>
<View style={{
backgroundColor: theme.colors.primary,
position: 'absolute',
top: 0,
left: 0,
right: 0,
height: insets.top,
zIndex: 1000,
}} />
{children}
</ThemedView>
);
}