website: remove media page feature/resolution info rows

This commit is contained in:
bflatastic committed 2026-01-13 13:28:52 +07:00
1 parent e653e31078
commit 06a65fc93b
1 file changed
+6 -21
@@ -226,11 +226,7 @@ export default function MediaPage() {
const shareButtonIcon = shareCopy.copied ? faCheck : faLink;
const getResolutionLabel = (width?: number) => {
if (!width) return null;
if (width >= 1000) return `${Math.round(width / 1024)}K`;
return null;
};
return (
<div className="relative min-h-screen w-full p-4 pt-16 bg-dots flex items-start lg:items-center justify-center">
@@ -410,10 +406,7 @@ export default function MediaPage() {
</div>
<div className="flex flex-col rounded-xl bg-black/20 border border-white/5 overflow-hidden">
<InfoRow
label="Feature"
value={media.isVideo ? 'Create Video' : 'Create Image'}
/>
{promptData.modelType && (
<InfoRow
@@ -440,18 +433,10 @@ export default function MediaPage() {
)}
{media.width && media.height && (
<>
{getResolutionLabel(media.width) && (
<InfoRow
label="Resolution"
value={getResolutionLabel(media.width)}
/>
)}
<InfoRow
label="Size"
value={`${media.width} × ${media.height}`}
/>
</>
<InfoRow
label="Size"
value={`${media.width} × ${media.height}`}
/>
)}
{media.createdAt && (