diff --git a/css/chats.css b/css/chats.css new file mode 100644 index 0000000..e5205ca --- /dev/null +++ b/css/chats.css @@ -0,0 +1,247 @@ +/* Chats page - Two column layout: chat list + active chat window */ + +/* Full width layout */ +.layout > div[style*="flex:1"] { + margin: 0 !important; + max-width: 100% !important; + padding: 0 !important; + width: 100% !important; +} + +.chats-main { + flex: 1; + padding: 20px 32px; + background: transparent; +} + +/* Chat container (flex, two columns) */ +.chat-container { + display: flex; + gap: 24px; + background: #fff; + border-radius: 18px; + box-shadow: 0 2px 8px rgba(59,130,246,0.06); + overflow: hidden; + height: calc(100vh - 120px); /* Adjust based on topbar height */ + min-height: 500px; +} + +/* LEFT COLUMN: Chat list */ +.chat-list { + width: 320px; + border-right: 1px solid #eef2f7; + display: flex; + flex-direction: column; + background: #fff; +} + +.chat-list-header { + display: flex; + justify-content: space-between; + align-items: center; + padding: 20px; + border-bottom: 1px solid #eef2f7; +} +.chat-list-header h2 { + font-size: 1.2rem; + font-weight: 700; + margin: 0; +} +.new-chat-btn { + background: none; + border: none; + font-size: 1.2rem; + color: #3b82f6; + cursor: pointer; +} + +.chat-list-items { + flex: 1; + overflow-y: auto; +} + +.chat-item { + display: flex; + align-items: center; + gap: 12px; + padding: 16px 20px; + cursor: pointer; + transition: background 0.2s; + border-bottom: 1px solid #f0f2f5; +} +.chat-item:hover { + background: #f8fafc; +} +.chat-item.active { + background: #eef2ff; + border-left: 3px solid #3b82f6; +} + +.chat-avatar { + width: 48px; + height: 48px; + border-radius: 50%; + object-fit: cover; +} + +.chat-item-info { + flex: 1; + min-width: 0; +} +.chat-name { + font-weight: 700; + font-size: 0.95rem; + margin-bottom: 4px; +} +.chat-last-msg { + font-size: 0.8rem; + color: #64748b; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.chat-time { + font-size: 0.7rem; + color: #94a3b8; +} + +/* RIGHT COLUMN: Active chat */ +.chat-active { + flex: 1; + display: flex; + flex-direction: column; + background: #fff; +} + +.chat-header { + display: flex; + align-items: center; + gap: 16px; + padding: 16px 24px; + border-bottom: 1px solid #eef2f7; +} +.chat-avatar-large { + width: 48px; + height: 48px; + border-radius: 50%; + object-fit: cover; +} +.chat-header-info { + flex: 1; +} +.chat-header-name { + font-weight: 700; + font-size: 1rem; +} +.chat-header-status { + font-size: 0.75rem; + display: flex; + align-items: center; + gap: 6px; +} +.online-dot { + display: inline-block; + width: 8px; + height: 8px; + background-color: #10b981; + border-radius: 50%; +} + +/* Chat messages area */ +.chat-messages { + flex: 1; + padding: 20px 24px; + overflow-y: auto; + display: flex; + flex-direction: column; + gap: 16px; + background: #fafcff; +} + +.message { + display: flex; + flex-direction: column; + max-width: 70%; +} +.message.received { + align-items: flex-start; +} +.message.sent { + align-items: flex-end; + margin-left: auto; +} +.message-bubble { + padding: 10px 14px; + border-radius: 18px; + font-size: 0.9rem; + line-height: 1.4; + background: #f1f5f9; + color: #1e293b; +} +.message.sent .message-bubble { + background: var(--gradient); + color: white; +} +.message-time { + font-size: 0.7rem; + color: #94a3b8; + margin-top: 4px; + padding: 0 8px; +} + +/* Input area */ +.chat-input-area { + display: flex; + gap: 12px; + padding: 16px 24px; + border-top: 1px solid #eef2f7; + background: #fff; +} +.chat-input-area input { + flex: 1; + padding: 12px 16px; + border: 1px solid #e2e8f0; + border-radius: 30px; + font-size: 0.9rem; + outline: none; +} +.chat-input-area input:focus { + border-color: #3b82f6; +} +.send-btn { + background: var(--gradient); + border: none; + padding: 0 24px; + border-radius: 30px; + color: white; + font-weight: 600; + cursor: pointer; + transition: opacity 0.2s; +} +.send-btn:hover { + opacity: 0.85; +} + +/* Responsive */ +@media (max-width: 768px) { + .chats-main { + padding: 16px; + } + .chat-list { + width: 280px; + } +} +@media (max-width: 640px) { + .chat-container { + flex-direction: column; + height: auto; + } + .chat-list { + width: 100%; + border-right: none; + border-bottom: 1px solid #eef2f7; + } + .chat-active { + height: 500px; + } +} \ No newline at end of file diff --git a/css/creators.css b/css/community.css similarity index 100% rename from css/creators.css rename to css/community.css diff --git a/css/feed.css b/css/dashboard.css similarity index 100% rename from css/feed.css rename to css/dashboard.css diff --git a/css/sidebar.css b/css/sidebar.css index 44b4a4b..15b3d8c 100644 --- a/css/sidebar.css +++ b/css/sidebar.css @@ -2,6 +2,7 @@ Sidebar styles for OnlyPrompt - modern soft card look - responsive: full sidebar on desktop, icon-only on smaller screens + - logout button appears directly after the last menu item with separator line */ .sidebar-shell { @@ -37,9 +38,9 @@ display: none; } -/* Navigation */ +/* Navigation – normal block layout, no flex grow */ .sidebar { - flex: 1; + /* No flex:1 – keeps navigation at its natural height */ } .sidebar ul { @@ -92,11 +93,11 @@ border-left: 3px solid #3b82f6; } -/* Bottom logout area */ +/* Bottom logout area – directly after the menu, with separator line */ .sidebar-bottom { - margin-top: 16px; - padding-top: 16px; + margin-top: 16px; /* Small gap above the separator */ border-top: 1px solid #eef2f7; + padding-top: 16px; } .sidebar-logout { diff --git a/html/chats.html b/html/chats.html new file mode 100644 index 0000000..4b9d972 --- /dev/null +++ b/html/chats.html @@ -0,0 +1,126 @@ + + + + + + OnlyPrompt - Chats + + + + + + + + + +
+ + + +
+ +
+ +
+ +
+ + +
+
+

Messages

+ +
+
+ +
+ Alex Chen +
+
Alex Chen
+
Hey Sarah! Really loved your last video on minimalism...
+
+
10:17 AM
+
+ +
+ Mia Wong +
+
Mia Wong
+
Thanks for the prompt tips! They worked perfectly.
+
+
Yesterday
+
+ +
+ Tom Rivera +
+
Tom Rivera
+
Let's schedule a call for the collab?
+
+
Yesterday
+
+
+
+ + +
+
+ Alex Chen +
+
Alex Chen
+
Online
+
+
+
+ +
+
Hey Sarah! Really loved your last video on minimalism. Quick question about your workspace layout?
+
10:15 AM
+
+ +
+
Thanks Alex! Appreciate it. Yes, happy to share! The desk is from Article, and the shelving unit is custom-built. Highly recommend a clean setup!
+
10:16 AM
+
+ +
+
Thanks so much! Your aesthetic is exactly what I'm aiming for. Can't wait for your next piece!
+
10:17 AM
+
+ +
+
Awesome! Let me know if you need more tips. Enjoy the process! 😊
+
10:18 AM
+
+
+
+ + +
+
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/html/creators3.html b/html/community.html similarity index 99% rename from html/creators3.html rename to html/community.html index a58de0a..16ff55f 100644 --- a/html/creators3.html +++ b/html/community.html @@ -9,7 +9,7 @@ - + diff --git a/html/feed1.html b/html/dashboard.html similarity index 95% rename from html/feed1.html rename to html/dashboard.html index ebe4591..9f10179 100644 --- a/html/feed1.html +++ b/html/dashboard.html @@ -9,7 +9,7 @@ - + @@ -53,7 +53,7 @@

Conceptual Landscape Art

Enchanting, vintage, antique vibes. A journey through surreal landscapes.

- Conceptual Landscape + Conceptual Landscape
@@ -77,7 +77,7 @@

Minimalist Logo Design

Clean, modern, minimalist logo for tech startups.

- Minimalist Logo + Minimalist Logo
@@ -101,7 +101,7 @@

Futuristic Cityscape

Cyberpunk neon city with flying cars and rain.

- Cityscape + Cityscape
@@ -125,7 +125,7 @@

Watercolor Pet Portrait

Soft watercolor style, cute pet portrait.

- Watercolor Pet + Watercolor Pet
diff --git a/html/marketplace2.html b/html/marketplace.html similarity index 100% rename from html/marketplace2.html rename to html/marketplace.html diff --git a/html/profile6.html b/html/profile.html similarity index 100% rename from html/profile6.html rename to html/profile.html diff --git a/html/sidebar.html b/html/sidebar.html index c39fde3..9a4faa0 100644 --- a/html/sidebar.html +++ b/html/sidebar.html @@ -55,6 +55,13 @@ My Profile + +
  • + + + Create New + +
  • diff --git a/images/content/feed1.png b/images/content/feed1.png new file mode 100644 index 0000000..32bc13b Binary files /dev/null and b/images/content/feed1.png differ diff --git a/images/content/feed2.png b/images/content/feed2.png new file mode 100644 index 0000000..6ae5bcd Binary files /dev/null and b/images/content/feed2.png differ diff --git a/images/content/feed3.png b/images/content/feed3.png new file mode 100644 index 0000000..85b7407 Binary files /dev/null and b/images/content/feed3.png differ diff --git a/images/content/feed4.png b/images/content/feed4.png new file mode 100644 index 0000000..904392f Binary files /dev/null and b/images/content/feed4.png differ