mirror of
https://github.com/Jellify-Music/App.git
synced 2026-05-04 18:00:05 -05:00
card improvements and artist page more beautiful
This commit is contained in:
@@ -23,19 +23,18 @@ export default function Artist({ artistId, artistName }: { artistId: string, art
|
||||
<FlatList
|
||||
contentContainerStyle={{
|
||||
flexGrow: 1,
|
||||
justifyContent: 'center'
|
||||
justifyContent: 'center',
|
||||
alignItems: "center"
|
||||
}}
|
||||
data={albums}
|
||||
numColumns={2} // TODO: Make this adjustable
|
||||
renderItem={({ item: album }) => {
|
||||
return (
|
||||
<Card
|
||||
caption={
|
||||
<>
|
||||
<H5>{`${album.Name}`}</H5>
|
||||
<Text>{`${album.ProductionYear}`}</Text>
|
||||
</>
|
||||
}
|
||||
caption={album.Name}
|
||||
subCaption={album.ProductionYear?.toString()}
|
||||
width={250}
|
||||
marginHorizontal={20}
|
||||
cornered
|
||||
itemId={album.Id!}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user