Skip to content

Commit

Permalink
Merge branch 'main' into adi/setting-style
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapawar1 authored Dec 2, 2023
2 parents 054978b + 66f9faf commit 5bc8ba4
Show file tree
Hide file tree
Showing 10 changed files with 335 additions and 96 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/app/(tabs)/author/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { SafeAreaView } from 'react-native-safe-area-context';

import styles from './styles';
import BackButton from '../../../components/BackButton/BackButton';
import ContentCard from '../../../components/ContentCard/ContentCard';
import HorizontalLine from '../../../components/HorizontalLine/HorizontalLine';
import PreviewCard from '../../../components/PreviewCard/PreviewCard';
import {
Expand Down
6 changes: 4 additions & 2 deletions src/app/(tabs)/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ function HomeScreen() {
});
}, [user]);
return (
<SafeAreaView style={[globalStyles.container, { marginHorizontal: -8 }]}>
<SafeAreaView
style={[globalStyles.container, { marginLeft: -8, marginRight: -32 }]}
>
{loading && (
<View style={styles.loading}>
<Text>Loading</Text>
Expand Down Expand Up @@ -82,7 +84,7 @@ function HomeScreen() {
<Text style={[globalStyles.body1, styles.featuredDescription]}>
{featuredStoriesDescription}
</Text>
<View>
<View style={{ marginRight: 24 }}>
{featuredStories.map(story => (
<PreviewCard
key={story.title}
Expand Down
2 changes: 2 additions & 0 deletions src/app/(tabs)/home/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ const styles = StyleSheet.create({
alignItems: 'center',
marginTop: 24,
marginBottom: 12,
marginRight: 24,
},
featuredDescription: {
marginBottom: 16,
marginTop: 8,
marginRight: 24,
},
});

Expand Down
Loading

0 comments on commit 5bc8ba4

Please sign in to comment.