Verified Commit 33f0dc18 authored by Nico's avatar Nico
Browse files

feat(mod-card): show porter on card

parent fbb97e7d
Showing with 7 additions and 7 deletions
+7 -7
......@@ -52,12 +52,6 @@ function SongCard({ mod }: ModCardProps) {
<Title order={4}>Description</Title>
<Text>{mod.description}</Text>
</Stack>
{mod.porter && (
<Stack spacing={1}>
<Title order={4}>Porter</Title>
<Text>{mod.porter}</Text>
</Stack>
)}
<Stack spacing={1}>
<Title order={4}>Dependencies</Title>
{dependencies.length ? (
......@@ -163,7 +157,13 @@ function SongCard({ mod }: ModCardProps) {
<Text size="xl">
{mod.name} <Badge size="xs">{mod.version}</Badge>
</Text>
<Text>Created by {mod.author}</Text>
{mod.porter ? (
<Text>
Ported by {mod.porter}, original mod by {mod.author}
</Text>
) : (
<Text>Created by {mod.author}</Text>
)}
</Stack>
<Group>
<Switch
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment