style: added images into header

This commit is contained in:
Cron1cle
2025-10-07 22:51:37 +02:00
parent 3d42eed533
commit 6e23434e6c
6 changed files with 33 additions and 16 deletions

View File

@@ -69,6 +69,7 @@ export default function HomeScreen() {
concept: show.concept,
genres: show.genres,
streamingService: show.streamingService,
logoUri: show.logoUri,
},
})
}

View File

@@ -16,8 +16,15 @@ import * as WebBrowser from "expo-web-browser";
import styles from "./stackStyles/showDetailStyles";
export default function ShowDetails() {
const { bannerUri, description, concept, genres, streamingService, id } =
useLocalSearchParams();
const {
bannerUri,
description,
concept,
genres,
streamingService,
id,
logoUri,
} = useLocalSearchParams();
const [selectedParticipants, setSelectedParticipants] =
React.useState<boolean>(true);
const [selectedSeason, setSelectedSeason] = React.useState<number>(1);
@@ -74,12 +81,6 @@ export default function ShowDetails() {
paddingBottom: Dimensions.get("window").height * 0.1,
}}
>
<Image
source={{
uri: "https://images.plus.rtl.de/watch/859291/artwork_square/c3-ni-th-jc/are-you-the-one",
}}
style={styles.showImage}
/>
<ShowInfo
seasons={seasonCount}
participants={participants.length}

View File

@@ -6,9 +6,11 @@ const styles = StyleSheet.create({
backgroundColor: "hsl(221, 39%, 12%)",
},
showImage: {
width: 150,
height: 150,
width: 200,
height: 200,
alignSelf: "center",
resizeMode: "contain",
bottom: 10,
},
showMainInfoSection: {
width: "auto",
@@ -37,6 +39,7 @@ const styles = StyleSheet.create({
alignSelf: "center",
borderTopLeftRadius: 80,
borderTopRightRadius: 80,
marginTop: 15,
},
showBannerLogo: {
width: "100%",
@@ -68,7 +71,7 @@ const styles = StyleSheet.create({
width: 110,
backgroundColor: "hsl(336, 79%, 63%)",
borderRadius: 10,
marginTop: 30,
marginBottom: 30,
},
participantSection: {
flexDirection: "row",