Skip to content

Commit

Permalink
resolved philip's problems lol
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyGarciaa committed Oct 20, 2024
1 parent 8694342 commit 674d10a
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 25 deletions.
2 changes: 1 addition & 1 deletion src/screens/LegalRights/VideoPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default function VideoPage() {
<Video
source={require('@/assets/videos/da_link.mp4')}
rate={1.0}
volume={10.0}
volume={1.0}
isMuted={false}
shouldPlay
isLooping
Expand Down
2 changes: 0 additions & 2 deletions src/screens/LegalRights/VideoPage/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ export const styles = StyleSheet.create({
borderWidth: 1,
backgroundColor: '#D9D9D9',
borderColor: '#D9D9D9',
shadowColor: 'black',
shadowOpacity: 0.05,
justifyContent: 'center',
alignItems: 'center',
},
Expand Down
43 changes: 21 additions & 22 deletions src/screens/LegalRights/index.tsx
Original file line number Diff line number Diff line change
@@ -1,107 +1,106 @@
import { useState } from 'react';
import { Button, Image, Pressable, ScrollView, Text, View } from 'react-native';
import { Image, Pressable, ScrollView, Text, View } from 'react-native';
import placeholderPoster from '@/assets/images/placeholder.png';
import { styles } from './styles';

export default function LegalRights({ navigation }: { navigation: any }) {
function rick_rolls() {
const rickRolls = () => {
navigation.navigate('Video Page');
// console.log('working');
}
};

const placeholderModulesEnglish = [
{
title: 'Section Title 1',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Section Title 2',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Section Title 3',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Section Title 4',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Section Title 5',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Section Title 6',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Section Title 7',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Section Title 8',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Section Title 9',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
];

const placeholderModulesSpanish = [
{
title: 'Título de la Sección 1',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Título de la Sección 2',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Título de la Sección 3',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Título de la Sección 4',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Título de la Sección 5',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Título de la Sección 6',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Título de la Sección 7',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Título de la Sección 8',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
{
title: 'Título de la Sección 9',
poster_url: placeholderPoster,
onClickFunction: rick_rolls,
onClickFunction: rickRolls,
},
];

Expand Down

0 comments on commit 674d10a

Please sign in to comment.