Skip to content

Commit

Permalink
finished styling
Browse files Browse the repository at this point in the history
  • Loading branch information
kylezryr committed Mar 20, 2024
1 parent f73ff77 commit 32b7002
Show file tree
Hide file tree
Showing 6 changed files with 137 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/app/(tabs)/library/favoritesList/_layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { Stack } from 'expo-router';

function StackLayout() {
return (
<Stack>
<Stack.Screen name="index" options={{ headerShown: false }} />
</Stack>
);
}

export default StackLayout;
56 changes: 56 additions & 0 deletions src/app/(tabs)/library/favoritesList/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
import { View, ScrollView } from 'react-native';
import PreviewCard from '../../../../components/PreviewCard/PreviewCard';
import { router } from 'expo-router';
import styles from './styles';

export default function FavouritesList() {
return (
<View style={styles.container}>
<PreviewCard
key={'aaa'}
title={'aaa'}
image={'aaa'}
author={'aaa'}
authorImage={'aaa'}
excerpt={{ html: 'aaa' }}
tags={['aaa']}
pressFunction={() =>
router.push({
pathname: '/story',
params: { storyId: 'aaa' },
})
}
></PreviewCard>
<PreviewCard
key={'aaa'}
title={'aaa'}
image={'aaa'}
author={'aaa'}
authorImage={'aaa'}
excerpt={{ html: 'aaa' }}
tags={['aaa']}
pressFunction={() =>
router.push({
pathname: '/story',
params: { storyId: 'aaa' },
})
}
></PreviewCard>
<PreviewCard
key={'aaa'}
title={'aaa'}
image={'aaa'}
author={'aaa'}
authorImage={'aaa'}
excerpt={{ html: 'aaa' }}
tags={['aaa']}
pressFunction={() =>
router.push({
pathname: '/story',
params: { storyId: 'aaa' },
})
}
></PreviewCard>
</View>
);
}
9 changes: 9 additions & 0 deletions src/app/(tabs)/library/favoritesList/styles.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { StyleSheet } from 'react-native';

const styles = StyleSheet.create({
container: {
marginRight: 0,
},
});

export default styles;
11 changes: 11 additions & 0 deletions src/app/(tabs)/library/readingList/_layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { Stack } from 'expo-router';

function StackLayout() {
return (
<Stack>
<Stack.Screen name="index" options={{ headerShown: false }} />
</Stack>
);
}

export default StackLayout;
41 changes: 41 additions & 0 deletions src/app/(tabs)/library/readingList/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
import { View, ScrollView } from 'react-native';
import PreviewCard from '../../../../components/PreviewCard/PreviewCard';
import { router } from 'expo-router';
import styles from './styles';

export default function ReadingList() {
return (
<View style={styles.container}>
<PreviewCard
key={'aaa'}
title={'aaa'}
image={'aaa'}
author={'aaa'}
authorImage={'aaa'}
excerpt={{ html: 'aaa' }}
tags={['aaa']}
pressFunction={() =>
router.push({
pathname: '/story',
params: { storyId: 'aaa' },
})
}
></PreviewCard>
<PreviewCard
key={'aaa'}
title={'aaa'}
image={'aaa'}
author={'aaa'}
authorImage={'aaa'}
excerpt={{ html: 'aaa' }}
tags={['aaa']}
pressFunction={() =>
router.push({
pathname: '/story',
params: { storyId: 'aaa' },
})
}
></PreviewCard>
</View>
);
}
9 changes: 9 additions & 0 deletions src/app/(tabs)/library/readingList/styles.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { StyleSheet } from 'react-native';

const styles = StyleSheet.create({
container: {
marginRight: 0,
},
});

export default styles;

0 comments on commit 32b7002

Please sign in to comment.