Preceding changes
This commit is contained in:
parent
2340134a75
commit
d8d375be2a
@ -36,7 +36,7 @@ const ModCard = ({ id, slug, title, description, iconUrl, downloads, followers,
|
||||
const linkPath = source === "curseforge" ? `/curseforge/${id}` : `/mod/${slug || id}`;
|
||||
if (viewMode === "list") {
|
||||
return (
|
||||
<Link to={`/mod/${slug || id}`}>
|
||||
<Link to={linkPath}>
|
||||
<Card className="group overflow-hidden border-border bg-card transition-all duration-300 hover:border-primary/50 hover:shadow-lg hover:shadow-primary/5">
|
||||
<CardContent className="flex items-center gap-3 p-3 sm:gap-4 sm:p-4">
|
||||
<div className="h-12 w-12 shrink-0 overflow-hidden rounded-lg bg-secondary sm:h-14 sm:w-14">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user