Skip to content

Commit c1368e0

Browse files
committed
refined UI
1 parent 932f59b commit c1368e0

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/app/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import type { Message, ImageItem } from "@/lib/types";
99
const INITIAL_MESSAGE: Message = {
1010
id: "initial-message",
1111
content:
12-
"Hello! I'm your AI image editing assistant. Upload an image and I'll help you edit it with AI. You can also ask me questions about your images or get editing suggestions!",
12+
"Hi there. I'm Pablo, your AI image editing assistant. I was named after Pablo Picasso!\
13+
Upload an image and ask how you want your images edited.\
14+
You may select multiple images for me to refer to.",
1315
sender: "agent",
1416
timestamp: new Date("2024-01-01T00:00:00Z"), // Static timestamp for hydration
1517
};

src/ui/chat-interface.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,9 @@ export default function ChatInterface({
141141
</svg>
142142
</div>
143143
<div>
144-
<h3 className="text-xl font-semibold text-gray-200">
145-
AI Assistant
146-
</h3>
144+
<h3 className="text-xl font-semibold text-gray-200">Pablo</h3>
147145
<p className="text-sm text-gray-400">
148-
Ask how you want your images edited
146+
Quick and studio-quality image editing at your fingertips
149147
</p>
150148
</div>
151149
</div>
@@ -167,8 +165,8 @@ export default function ChatInterface({
167165
>
168166
<div className="flex items-start gap-2">
169167
{message.sender === "agent" && (
170-
<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 flex-shrink-0 mt-0.5">
171-
AI
168+
<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 flex-shrink-0 mt-0.5">
169+
P
172170
</div>
173171
)}
174172
<div className="flex-1">

src/ui/image-card.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default function ImageCard({
4949
>
5050
{/* Selection Indicator */}
5151
<div
52-
className={`absolute top-3 right-3 w-7 h-7 rounded-full flex items-center justify-center
52+
className={`absolute top-3 right-3 w-7 h-7 rounded-full flex items-center justify-center border border-white/50
5353
${isSelected ? "bg-blue-600" : "bg-gray-600"}`}
5454
>
5555
<svg
@@ -68,7 +68,7 @@ export default function ImageCard({
6868
{/* Download Button */}
6969
<button
7070
onClick={handleDownload}
71-
className="cursor-pointer absolute top-3 left-3 w-7 h-7 bg-gray-600 hover:bg-gray-800 border border-white/10 rounded-full flex items-center justify-center transition-all duration-200 hover:scale-110 backdrop-blur-sm z-10"
71+
className="cursor-pointer absolute top-3 left-3 w-7 h-7 bg-gray-600 hover:bg-gray-800 border border-white/50 rounded-full flex items-center justify-center transition-all duration-200 hover:scale-110 backdrop-blur-sm z-10"
7272
aria-label="Download image"
7373
disabled={!image.url}
7474
>

0 commit comments

Comments
 (0)