Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Image studios: readable names on light curated covers, tidy partial download label, WebP in the photo hint

Claude604f9637d9dc
diff --git a/src/components/moodboards/cards.tsx b/src/components/moodboards/cards.tsx
index 9fbe478f..fe08627a 100644
--- a/src/components/moodboards/cards.tsx
+++ b/src/components/moodboards/cards.tsx
@@ -14,13 +14,10 @@ import { STATUS_LABEL, type CuratedMoodboard, type Moodboard } from "./logic";
export function CuratedCover({ m, className }: { m: Pick<CuratedMoodboard, "name" | "hue" | "preview" | "tone">; className?: string }) {
return (
<DrawnTile hue={m.hue} tone={m.tone ?? "plain"} className={className}>
- {m.preview && (
- <>
- {/* eslint-disable-next-line @next/next/no-img-element */}
- <img src={m.preview} alt="" loading="lazy" className="absolute inset-0 size-full object-cover" />
- <span className="absolute inset-x-0 bottom-0 h-1/2 bg-gradient-to-t from-black/60 to-transparent" />
- </>
- )}
+ {/* eslint-disable-next-line @next/next/no-img-element */}
+ {m.preview && <img src={m.preview} alt="" loading="lazy" className="absolute inset-0 size-full object-cover" />}
+ {/* A scrim under the name, so it reads on light covers too (pastel washes, live previews). */}
+ {(m.preview || m.name) && <span className="absolute inset-x-0 bottom-0 h-1/2 bg-gradient-to-t from-black/60 to-transparent" />}
{m.name && <span className="absolute inset-x-2 bottom-2 font-heading text-[19px] leading-tight text-white drop-shadow-sm">{m.name}</span>}
</DrawnTile>
);
diff --git a/src/components/photodump/results.tsx b/src/components/photodump/results.tsx
index 0ff513d9..9d242941 100644
--- a/src/components/photodump/results.tsx
+++ b/src/components/photodump/results.tsx
@@ -199,7 +199,7 @@ export function DownloadAll({ items, label = "Download" }: { items: Generation[]
)}
>
<Download className="size-3.5" />
- {available === total ? `${label} all` : `${label} (${available} /${total})`}
+ {available === total ? `${label} all` : `${label} (${available}/${total})`}
</a>
);
}
diff --git a/src/components/photodump/subject.tsx b/src/components/photodump/subject.tsx
index 28ef5efb..4213bff2 100644
--- a/src/components/photodump/subject.tsx
+++ b/src/components/photodump/subject.tsx
@@ -91,7 +91,7 @@ export function QuickCharacter({ open, onOpenChange, onCreated }: { open: boolea
</div>
<input ref={fileInput} type="file" accept="image/png,image/jpeg,image/webp" multiple hidden onChange={(e) => (addFiles(e.target.files ?? []), (e.target.value = ""))} />
<p className="text-[11.5px] text-muted-foreground tabular-nums">
- {photos.length}/{MAX_PHOTOS} photos · PNG, JPG or paste
+ {photos.length}/{MAX_PHOTOS} photos · PNG, JPG, WebP or paste
</p>
<p className="text-[12px] text-muted-foreground">
Or <Link href="/character-sheet" className="text-brand-text hover:underline">build one with Character Sheet</Link>, then pick it here.