feat(artifact-export) : add vertical stats layout and note toggle
This commit is contained in:
@@ -614,6 +614,7 @@ function ArtifactSection({ guide }: { guide: PublicGuide }) {
|
||||
action={
|
||||
<ArtifactImageExport
|
||||
fileName={`${guide.name}-Artifact.png`}
|
||||
hasNote={Boolean(guide.artifactProfile?.note)}
|
||||
targetConditionLabels={targetConditions.map((group, index) => group.name || `Condition ${index + 1}`)}
|
||||
>
|
||||
<ArtifactSectionContent guide={guide} exporting />
|
||||
@@ -944,7 +945,7 @@ function ArtifactSectionContent({
|
||||
</div>
|
||||
) : null}
|
||||
{profile.note ? (
|
||||
<div className="pt-3">
|
||||
<div data-artifact-export-section="note" className="pt-3">
|
||||
<p className="mb-2 text-sm font-medium">โน็ต</p>
|
||||
<p className="text-sm leading-6 text-muted-foreground">
|
||||
{profile.note}
|
||||
|
||||
Reference in New Issue
Block a user