Skip to content

Commit eabfc38

Browse files
committed
added sample images:
1 parent 17e9da9 commit eabfc38

File tree

4 files changed

+16
-17
lines changed

4 files changed

+16
-17
lines changed

src/app/page.tsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,29 @@ const INITIAL_MESSAGE: Message = {
1818

1919
const SAMPLE_IMAGES: ImageItem[] = [
2020
{
21-
id: "img_001",
22-
url: null,
23-
title: "Sample Image 1",
21+
id: "sample_001",
22+
url: "https://img-edit-agent-bucket.s3.us-east-1.amazonaws.com/public/nyc_bw.png",
23+
title: "New York City at Night",
2424
description:
25-
"A beautiful landscape with mountains and a serene lake reflecting the sky.",
25+
"A black and white vintage photograph of New York City's skyline with the Empire State and Chrysler Buildings, film grain texture, and a timeless, classic feel.",
2626
timestamp: new Date(Date.now() - 86400000), // 1 day ago
2727
type: "sample",
2828
},
2929
{
30-
id: "img_002",
31-
url: null,
32-
title: "Sample Image 2",
30+
id: "sample_002",
31+
url: "https://img-edit-agent-bucket.s3.us-east-1.amazonaws.com/public/seoul_night.png",
32+
title: "Seoul Night",
3333
description:
34-
"Urban cityscape with modern architecture and vibrant street life.",
34+
"A high-quality Canon night photo of a traditional street in Seoul, glowing street lamps lighting hanok houses, with Namsan Tower and modern skyscrapers in the distance.",
3535
timestamp: new Date(Date.now() - 43200000), // 12 hours ago
3636
type: "sample",
3737
},
3838
{
39-
id: "img_003",
40-
url: null,
41-
title: "Sample Image 3",
39+
id: "sample_003",
40+
url: "https://img-edit-agent-bucket.s3.us-east-1.amazonaws.com/public/picasso_woman.png",
41+
title: "Picasso Portrait",
4242
description:
43-
"Portrait photography with dramatic lighting and artistic composition.",
43+
"An abstract Picasso-style portrait of a face in cool blue and teal tones, with geometric shapes, bold outlines, and a smooth modern finish.",
4444
timestamp: new Date(),
4545
type: "sample",
4646
},

src/ui/chat-interface.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ export default function ChatInterface({
107107
<div className="flex justify-start">
108108
<div className="bg-gray-600/60 text-gray-200 rounded-2xl px-4 py-3 shadow-lg">
109109
<div className="flex items-center gap-2">
110-
<div className="w-6 h-6 rounded-full bg-gradient-to-br from-purple-400 to-blue-500 flex items-center justify-center text-xs font-bold text-white">
111-
AI
110+
<div className="w-6 h-6 rounded-full bg-gradient-to-br from-purple-900 to-blue-600 flex items-center justify-center text-xs font-bold text-white">
111+
P
112112
</div>
113113
<div className="flex space-x-1">
114114
<div className="w-2 h-2 bg-gray-400 rounded-full animate-bounce"></div>

src/ui/image-card.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ export default function ImageCard({
9090
{/* Image Preview */}
9191
<div className="relative mt-8">
9292
<ImagePreview imageUrl={image.url ?? fallbackImageUrl ?? null} />
93-
<div className="absolute inset-0 bg-gradient-to-t from-gray-300/30 to-gray-400/30 rounded-xl" />
9493
</div>
9594

9695
{/* Image Info */}

src/ui/image-preview.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ export default function ImagePreview({ imageUrl }: ImagePreviewProps) {
2323
};
2424

2525
return (
26-
<div className="flex justify-center items-center w-full aspect-square border rounded-xl bg-gray-300 shadow-sm">
26+
<div className="flex justify-center items-center w-full aspect-square border rounded-xl inset-0 bg-gradient-to-t from-gray-300/30 to-gray-400/30 shadow-sm">
2727
{imageUrl && imageUrl.trim() !== "" && !imageError ? (
2828
<img
2929
src={imageUrl}
3030
alt="Generated image"
31-
className="object-contain w-full h-full rounded-lg"
31+
className="object-contain w-full h-full rounded-xl"
3232
onLoad={handleImageLoad}
3333
onError={handleImageError}
3434
/>

0 commit comments

Comments
 (0)