last fixes, home and videos

This commit is contained in:
Thomas Demirdjian
2025-11-10 14:24:16 +01:00
parent d7d9211fbe
commit dd4cf9b4d4
40 changed files with 984 additions and 647 deletions
+12 -9
View File
@@ -11,6 +11,7 @@ const MusicLandHeader = ({
showSkip = false,
progress = 1,
logo = null,
style,
}) => {
const isWeb = Platform.OS === "web";
const backButtonStyle = isWeb
@@ -34,7 +35,7 @@ const MusicLandHeader = ({
};
return (
<View style={{ alignItems: "center", gap: 16 }}>
<View style={{ alignItems: "center", gap: 16, ...style }}>
<View style={{ width: "100%", ...Style.containerRow, gap: 16 }}>
<Pressable style={backButtonStyle} onPress={onPressBack}>
<Image
@@ -72,14 +73,16 @@ const MusicLandHeader = ({
</Pressable>
)}
</View>
<Image
source={logo}
style={{
alignSelf: "center",
height: isWeb ? 150 : 100,
resizeMode: "contain",
}}
/>
{logo && (
<Image
source={logo}
style={{
alignSelf: "center",
height: isWeb ? 150 : 100,
resizeMode: "contain",
}}
/>
)}
</View>
);
};