landing page
This commit is contained in:
+11
-3
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user