landing page

This commit is contained in:
2025-10-13 11:16:05 +02:00
parent 131c7b3f37
commit a83bd3128b
8 changed files with 97 additions and 14 deletions
+11 -3
View File
@@ -5,6 +5,7 @@ import { SafeAreaView } from "react-native-safe-area-context";
import React from "reactn";
import { responsiveHeight } from "../actions/responsiveSizes.js";
import BaseHeader from "../components/BaseHeader";
import ConnectBtn from "../components/ConnectBtn.js";
import NavigateHeader from "../components/NavigateHeader";
import ShareBtn from "../components/ShareBtn/ShareBtn";
import { isWeb } from "../hooks/useLayoutType.js";
@@ -35,6 +36,7 @@ export default ({
width = undefined,
maxWidth = 1200,
shareBtn = false,
connect = false,
blurIntensity = 0,
}) => {
const PageContainer =
@@ -117,14 +119,20 @@ export default ({
</PageContainer>
{bottomStickyContent?.()}
{shareBtn && isWeb && (
<ShareBtn
{(shareBtn || connect) && isWeb && (
<View
style={{
position: "absolute",
top: 20,
right: 20,
flexDirection: "row",
alignItems: "center",
gap: 12, // ou marginLeft sur chaque bouton si gap non supporté
}}
/>
>
{shareBtn && <ShareBtn />}
{connect && <ConnectBtn />}
</View>
)}
</View>
);