Skip to content

Commit

Permalink
final changes
Browse files Browse the repository at this point in the history
  • Loading branch information
leoRysing committed Apr 17, 2024
1 parent a70e59d commit 0124903
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions frontend/components/PopularUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import React from 'react';
import {Image, StyleSheet, Text, View} from 'react-native';
import { Leader } from '../types/types';
import { Ionicons } from '@expo/vector-icons';

type PopularUserProps = {
leader: Leader;
Expand Down Expand Up @@ -33,10 +34,11 @@ const PopularUser: React.FC<PopularUserProps> = ({ leader, index }: PopularUserP


<View style={[styles.column, styles.followersColumn]}>
<Image
{/* <Image
source={require("../assets/followers_logo.png")}
style={styles.followersLogo}
/>
/> */}
<Ionicons name="person-outline" size={18} color="#333333" />
<Text style={styles.followersText}>
{leader.follower_count}
</Text>
Expand Down Expand Up @@ -99,7 +101,7 @@ const styles = StyleSheet.create({
marginRight: 15
},
followersText: {
color: '#787878',
color: '#333333',
fontSize: 18
},
followersLogo: {
Expand Down
2 changes: 1 addition & 1 deletion frontend/pages/Leaderboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const styles = StyleSheet.create({
justifyContent: 'flex-start',
padding: 20,
paddingTop: "15%",
backgroundColor: '#f5f5f5',
backgroundColor: '#FFFFFF',
},
leaderboard: {
flex: 1,
Expand Down

0 comments on commit 0124903

Please sign in to comment.