end of home

This commit is contained in:
Thomas Demirdjian
2025-10-01 10:49:03 +02:00
parent 4097143559
commit 167e62fcfc
18 changed files with 928 additions and 558 deletions
+12 -6
View File
@@ -3,14 +3,12 @@ import { Image, View } from "react-native";
import { KeyboardAwareScrollView } from "react-native-keyboard-aware-scroll-view";
import { SafeAreaView } from "react-native-safe-area-context";
import React from "reactn";
import { responsiveHeight } from "../actions/responsiveSizes.js";
import BaseHeader from "../components/BaseHeader";
import NavigateHeader from "../components/NavigateHeader";
import { gutters } from "../styles";
import { isWeb } from "../hooks/useLayoutType.js";
// import { useUserData } from "../providers/UserDataProvider.js";
import ShareBtn from "../components/ShareBtn/ShareBtn";
export default ({
children,
@@ -35,10 +33,9 @@ export default ({
headerTitleStyle = {},
hideBackButton = false,
width = undefined,
maxWidth = null,
maxWidth = 1200,
shareBtn = false,
}) => {
// const { currentUID } = useUserData();
const PageContainer =
containerType === "SAFE_AREA_VIEW" ? SafeAreaView : View;
@@ -112,6 +109,15 @@ export default ({
</PageContainer>
{bottomStickyContent?.()}
{shareBtn && isWeb && (
<ShareBtn
style={{
position: "absolute",
top: 20,
right: 20,
}}
/>
)}
</View>
);
};