add - layout web

This commit is contained in:
Victor
2025-09-17 16:03:50 +02:00
parent 2ef16e4be7
commit 3acfea7551
13 changed files with 290 additions and 236 deletions
+9
View File
@@ -1,4 +1,5 @@
import React from "react";
import { Platform } from "react-native";
import { createStackNavigator } from "@react-navigation/stack";
import { Palette } from "../styles";
@@ -8,6 +9,8 @@ import ProjectSettings from "../screens/ProjectSettings";
import AccountSettings from "../screens/AccountSettings";
import Settings from "../screens/Profile/Settings";
const isWeb = Platform.OS === "web";
const screenOptions = {
headerShown: false,
cardOverlayEnabled: true,
@@ -16,6 +19,12 @@ const screenOptions = {
},
headerTitleAlign: "center",
headerBackTitleVisible: false,
...(isWeb
? {
animationEnabled: false,
gestureEnabled: false,
}
: {}),
};
const HomeStack = createStackNavigator();