Skip to content

Commit afb517e

Browse files
samejrericallam
authored andcommitted
More style improvements
1 parent b68d1e0 commit afb517e

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

references/nextjs-realtime/src/app/runs/[id]/ClientRunDetails.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function RunDetailsWrapper({ runId }: { runId: string }) {
2323
if (!run) {
2424
return (
2525
<div className="w-full min-h-screen bg-gray-900 py-4 px-6 grid place-items-center">
26-
<Card className="w-fit bg-gray-800 shadow-md">
26+
<Card className="w-fit bg-gray-800 border border-gray-700 shadow-md">
2727
<CardContent className="pt-6">
2828
<p className="text-gray-200">Loading run details…</p>
2929
</CardContent>

references/nextjs-realtime/src/app/uploads/[id]/ClientUploadDetails.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ function UploadDetailsWrapper({ fileId }: { fileId: string }) {
2323

2424
if (!run) {
2525
return (
26-
<div className="w-full min-h-screen bg-gray-900 py-4 px-6 grid place-items-center">
27-
<Card className="w-fit bg-gray-800 shadow-md">
26+
<div className="w-full min-h-screen bg-gray-900 py-4 px-8 grid place-items-center">
27+
<Card className="w-fit bg-gray-800 border border-gray-700 shadow-md">
2828
<CardContent className="pt-6">
2929
<p className="text-gray-200">Loading run details…</p>
3030
</CardContent>

references/nextjs-realtime/src/components/UploadImageDisplay.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default function ImageDisplay({
3737
{/* Main uploaded image */}
3838
<div className="mb-12 max-w-3xl mx-auto">
3939
<p className="text-base text-gray-400 mb-2">Original</p>
40-
<div className="relative w-full aspect-video border border-gray-800 rounded-lg">
40+
<div className="relative w-full aspect-video border border-gray-700 rounded-lg">
4141
<Image
4242
src={uploadedImage}
4343
alt={uploadedCaption}
@@ -56,7 +56,7 @@ export default function ImageDisplay({
5656
{gridImages.map((image, index) => (
5757
<div className="flex flex-col">
5858
<p className="text-base text-gray-400 mb-2">Style {index + 1}</p>
59-
<Card key={index} className="overflow-hidden border border-gray-800 rounded-lg">
59+
<Card key={index} className="overflow-hidden border border-gray-700 rounded-lg">
6060
<CardContent className="p-0">
6161
<div
6262
className={`relative aspect-video h-full ${
@@ -67,13 +67,13 @@ export default function ImageDisplay({
6767
<Image src={image.src} alt={image.caption} fill className="object-cover" />
6868
) : (
6969
<div className="absolute inset-0 flex flex-col items-center justify-center p-4">
70-
<LoaderCircleIcon className="size-8 animate-spin text-blue-500 mb-2" />
71-
<p className="text-sm text-white text-center">Processing: {image.message}</p>
70+
<LoaderCircleIcon className="size-8 animate-spin text-blue-500 mb-4" />
71+
<p className="text-sm text-white text-center">Model: {image.message}</p>
7272
</div>
7373
)}
7474
</div>
7575
{image.status === "completed" && (
76-
<p className="p-2 text-center text-xs text-gray-200 bg-gray-800">
76+
<p className="p-2 text-center text-xs text-gray-400 bg-gray-800">
7777
{image.caption}
7878
</p>
7979
)}

0 commit comments

Comments
 (0)