mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
@@ -3,12 +3,11 @@ import { Link } from "react-router-dom";
|
||||
import * as GQL from "src/core/generated-graphql";
|
||||
import { NavUtils, TextUtils } from "src/utils";
|
||||
import {
|
||||
BasicCard,
|
||||
GridCard,
|
||||
CountryFlag,
|
||||
HoverPopover,
|
||||
Icon,
|
||||
TagLink,
|
||||
TruncatedText,
|
||||
} from "src/components/Shared";
|
||||
import { Button, ButtonGroup } from "react-bootstrap";
|
||||
import {
|
||||
@@ -150,9 +149,10 @@ export const PerformerCard: React.FC<IPerformerCardProps> = ({
|
||||
}
|
||||
|
||||
return (
|
||||
<BasicCard
|
||||
<GridCard
|
||||
className="performer-card"
|
||||
url={`/performers/${performer.id}`}
|
||||
title={performer.name ?? ""}
|
||||
image={
|
||||
<>
|
||||
<img
|
||||
@@ -166,9 +166,6 @@ export const PerformerCard: React.FC<IPerformerCardProps> = ({
|
||||
}
|
||||
details={
|
||||
<>
|
||||
<h5>
|
||||
<TruncatedText text={performer.name} />
|
||||
</h5>
|
||||
{age !== 0 ? <div className="text-muted">{ageString}</div> : ""}
|
||||
<Link to={NavUtils.makePerformersCountryUrl(performer)}>
|
||||
<CountryFlag country={performer.country} />
|
||||
|
||||
Reference in New Issue
Block a user