diff --git a/app/(tabs)/home/_layout.tsx b/app/(tabs)/home/_layout.tsx index ce4125e..b476bc8 100644 --- a/app/(tabs)/home/_layout.tsx +++ b/app/(tabs)/home/_layout.tsx @@ -27,7 +27,7 @@ function CustomHeader() { export default function TabLayout() { const insets = useSafeAreaInsets(); - const headerHeight = 120; + const headerHeight = 90; return ( { + const handleOpenLink = () => { + Linking.openURL('https://bit.ly/rcke23pics'); + }; + return ( - + - - About + + Meet the community + + + + RenderCon Kenya invites you to explore the ever-evolving universe of React and React Native. Unite with + software engineers, developers, and designers from all levels of expertise, and engage in an unforgettable + experience of innovation, mentorship, and community spirit. + + + + This is more than just a conference - it's an opportunity to connect, share, and learn from the brightest + minds in the industry. + + + + + + + + + + + [ + styles.buttonContainer, + { + opacity: pressed ? 0.5 : 1, + }, + ]} + > + + + View Gallery + + + + + + + + + Sponsors + + + + + + + + + + + + Organizers + + + + + + + + + + + + + + + + ); @@ -21,8 +140,69 @@ export default home; const styles = StyleSheet.create({ container: { flex: 1, - paddingHorizontal: spacing.lg, + paddingTop: sizes.header, + paddingHorizontal: sizes.md, + paddingBottom: sizes.xxxl, + }, + header: { + color: Colors.palette.secondary, + paddingTop: sizes.xl, + marginBottom: spacing.sm, + }, + text: { + color: Colors.palette.text, + marginBottom: sizes.sm, + lineHeight: sizes.lg, + }, + grid: { + marginBottom: spacing.lg, + gap: spacing.lg, + }, + row: { + flexDirection: 'row', + justifyContent: 'space-between', + }, + imageHalf: { + width: '48%', + height: sizes.galleryImage, + }, + imageWrapper: { + position: 'relative', width: '100%', - paddingBottom: spacing.xl, + height: sizes.galleryImage, + }, + imageFull: { + width: '100%', + height: sizes.galleryImage, + borderBottomLeftRadius: spacing.lg, + borderBottomRightRadius: spacing.lg, + }, + buttonContainer: { + position: 'absolute', + bottom: 0, + width: '100%', + height: 50, + backgroundColor: Colors.palette.secondary, + paddingVertical: spacing.sm, + paddingHorizontal: spacing.lg, + borderBottomLeftRadius: spacing.lg, + borderBottomRightRadius: spacing.lg, + alignItems: 'center', + justifyContent: 'center', + }, + centered: { + flexDirection: 'row', + alignItems: 'center', + gap: spacing.sm, + }, + buttonText: { + color: Colors.palette.primary, + }, + sponsors: { + flexDirection: 'row', + flexWrap: 'wrap', + gap: spacing.lg, + alignItems: 'center', + marginVertical: spacing.lg, }, }); diff --git a/assets/images/gallery/1.png b/assets/images/gallery/1.png new file mode 100644 index 0000000..1b9b32f Binary files /dev/null and b/assets/images/gallery/1.png differ diff --git a/assets/images/gallery/2.png b/assets/images/gallery/2.png new file mode 100644 index 0000000..1873169 Binary files /dev/null and b/assets/images/gallery/2.png differ diff --git a/assets/images/gallery/3.png b/assets/images/gallery/3.png new file mode 100644 index 0000000..bf46eb0 Binary files /dev/null and b/assets/images/gallery/3.png differ diff --git a/assets/images/gallery/Reactdevske_logo.png b/assets/images/gallery/Reactdevske_logo.png new file mode 100644 index 0000000..97d589e Binary files /dev/null and b/assets/images/gallery/Reactdevske_logo.png differ diff --git a/assets/images/gallery/devkenya_logo.png b/assets/images/gallery/devkenya_logo.png new file mode 100644 index 0000000..de502fc Binary files /dev/null and b/assets/images/gallery/devkenya_logo.png differ diff --git a/assets/images/gallery/lemonade.png b/assets/images/gallery/lemonade.png new file mode 100644 index 0000000..a383f6b Binary files /dev/null and b/assets/images/gallery/lemonade.png differ diff --git a/assets/images/gallery/osca_nairobi_logo.jpg b/assets/images/gallery/osca_nairobi_logo.jpg new file mode 100644 index 0000000..186293a Binary files /dev/null and b/assets/images/gallery/osca_nairobi_logo.jpg differ diff --git a/assets/images/gallery/payd.png b/assets/images/gallery/payd.png new file mode 100644 index 0000000..7e43ae3 Binary files /dev/null and b/assets/images/gallery/payd.png differ diff --git a/assets/images/gallery/spaceyatech_logo.jpg b/assets/images/gallery/spaceyatech_logo.jpg new file mode 100644 index 0000000..8f9ce54 Binary files /dev/null and b/assets/images/gallery/spaceyatech_logo.jpg differ diff --git a/assets/images/gallery/supabase_logo.png b/assets/images/gallery/supabase_logo.png new file mode 100644 index 0000000..821c42c Binary files /dev/null and b/assets/images/gallery/supabase_logo.png differ diff --git a/constants/Styles.ts b/constants/Styles.ts index 969042a..6583b4c 100644 --- a/constants/Styles.ts +++ b/constants/Styles.ts @@ -8,6 +8,7 @@ export const sizes = { header: 60, card: 220, cardImage: 150, + galleryImage: 200, } as const; // margins and padding