Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions client/app/VGT-photo.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { useTheme } from "@/lib/theme";
import { Image, View } from "react-native";
import { SafeAreaView } from "react-native-safe-area-context";

const vgtAlphabet = require("../assets/images/VGT Alfabet.png");

export default function VGTPhoto() {
const { colors } = useTheme();

return (
<SafeAreaView
className="flex-1"
style={{ backgroundColor: colors.background }}
>
<View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
<Image
source={vgtAlphabet}
resizeMode="contain"
style={{
width: "100%", // schermbreedte
height: "100%", // vult de hoogte
}}
/>
</View>
</SafeAreaView>
);
}
1 change: 1 addition & 0 deletions client/app/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function RootStack() {
>
<Stack.Screen name="index" options={{ title: "Welkom", headerShown: false } } />
<Stack.Screen name="camera" options={{ title: "Cameraweergave", headerShown: false }} />
<Stack.Screen name="VGT-photo" options={{ title: "VGT vingeralfabet info", headerShown: true, headerShadowVisible: false }} />
<Stack.Screen name="about" options={{ title: "Over", headerShown: true, headerShadowVisible: false }} />
<Stack.Screen name="settings" options={{ title: "Instellingen", headerShown: true, headerShadowVisible: false }} />
</Stack>
Expand Down
Loading
Loading