779 lines
25 KiB
HTML
779 lines
25 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Inbox</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
|
</head>
|
|
<body>
|
|
<div class="navbar">
|
|
<div class="logo-container">
|
|
<i class="fas fa-link logo-icon"></i>
|
|
<span class="logo-text">jLink</span>
|
|
</div>
|
|
|
|
<div class="search-container">
|
|
<i class="fas fa-search search-icon"></i>
|
|
<input type="text" placeholder="Search" class="search-input">
|
|
</div>
|
|
|
|
<div class="nav-items">
|
|
<div class="nav-item">
|
|
<a href="discover.html" class="nav-link">
|
|
<i class="fas fa-compass"></i>
|
|
<span>Discover</span>
|
|
<div class="blank"></div>
|
|
</a>
|
|
</div>
|
|
<div class="nav-item">
|
|
<a href="jobs.html" class="nav-link">
|
|
<i class="fas fa-briefcase"></i>
|
|
<span>Jobs</span>
|
|
<div class="blank"></div>
|
|
</a>
|
|
</div>
|
|
<div class="nav-item">
|
|
<a href="proposals.html" class="nav-link">
|
|
<i class="fas fa-file-alt"></i>
|
|
<span>Proposals</span>
|
|
<div class="blank"></div>
|
|
</a>
|
|
</div>
|
|
<div class="nav-item">
|
|
<a href="invoices.html" class="nav-link">
|
|
<i class="fas fa-dollar-sign"></i>
|
|
<span>Invoices</span>
|
|
<div class="blank"></div>
|
|
</a>
|
|
</div>
|
|
<div class="nav-item">
|
|
<a href="learn.html" class="nav-link">
|
|
<i class="fas fa-graduation-cap"></i>
|
|
<span>Learn</span>
|
|
<div class="blank"></div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="bottom-nav">
|
|
<div class="nav-item">
|
|
<a href="wallet.html" class="nav-link">
|
|
<i class="fas fa-wallet"></i>
|
|
<span>Wallet</span>
|
|
<span class="badge">$8,210.45</span>
|
|
</a>
|
|
</div>
|
|
<div class="nav-item active">
|
|
<a href="inbox.html" class="nav-link">
|
|
<i class="fas fa-inbox"></i>
|
|
<span>Inbox</span>
|
|
<span class="badge">7</span>
|
|
</a>
|
|
</div>
|
|
<div class="nav-item user-item">
|
|
<a href="profile.html" class="nav-link">
|
|
<div class="user-avatar">
|
|
<img src="https://images.unsplash.com/photo-1639039186034-27f98b6e5a2f" alt="Profile">
|
|
</div>
|
|
<span>Emily</span>
|
|
<i class="fas fa-cog settings-icon right"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="content">
|
|
<div class="chat-header">
|
|
<h1></h1>
|
|
<div class="chat-actions">
|
|
<button class="btn secondary"><i class="fas fa-sync-alt"></i> Refresh</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="chat-container">
|
|
<div class="chat-sidebar">
|
|
<div class="conversation-list">
|
|
<div class="conversation-item active unread">
|
|
<div class="contact-avatar">
|
|
<img src="https://place-hold.it/40x40/eee&text=!" alt="TechCorp">
|
|
</div>
|
|
<div class="conversation-info">
|
|
<div class="conversation-header">
|
|
<div class="contact-name">TechCorp Inc.</div>
|
|
<div class="message-time">10:30 AM</div>
|
|
</div>
|
|
<div class="message-preview">We're pleased to offer you the position of Senior Developer at TechCorp Inc. After reviewing your profile and...</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="conversation-item unread">
|
|
<div class="contact-avatar">
|
|
<img src="https://place-hold.it/40x40/eee&text=!" alt="DataSys">
|
|
</div>
|
|
<div class="conversation-info">
|
|
<div class="conversation-header">
|
|
<div class="contact-name">DataSys Solutions</div>
|
|
<div class="message-time">Yesterday</div>
|
|
</div>
|
|
<div class="message-preview">This is to confirm that we have processed the payment for invoice #INV-2023-088 for the amount of $3,800.00...</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="conversation-item">
|
|
<div class="contact-avatar">
|
|
<img src="https://place-hold.it/40x40/eee&text=!" alt="GlobalTech">
|
|
</div>
|
|
<div class="conversation-info">
|
|
<div class="conversation-header">
|
|
<div class="contact-name">GlobalTech Ltd.</div>
|
|
<div class="message-time">Apr 5</div>
|
|
</div>
|
|
<div class="message-preview">Thank you for the progress update on our e-commerce platform project. We're pleased with the development...</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="conversation-item">
|
|
<div class="contact-avatar">
|
|
<img src="https://place-hold.it/40x40/eee&text=!" alt="Jobs Support">
|
|
</div>
|
|
<div class="conversation-info">
|
|
<div class="conversation-header">
|
|
<div class="contact-name">Jobs Support</div>
|
|
<div class="message-time">Apr 3</div>
|
|
</div>
|
|
<div class="message-preview">Your account has been successfully verified. You now have full access to all features of the Jobs platform...</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="conversation-item unread">
|
|
<div class="contact-avatar">
|
|
<img src="https://place-hold.it/40x40/eee&text=!" alt="Michael Chen">
|
|
</div>
|
|
<div class="conversation-info">
|
|
<div class="conversation-header">
|
|
<div class="contact-name">Michael Chen</div>
|
|
<div class="message-time">Apr 2</div>
|
|
</div>
|
|
<div class="message-preview">I came across your profile and was impressed by your portfolio. I'm working on a project that might benefit...</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="conversation-item">
|
|
<div class="contact-avatar">
|
|
<img src="https://place-hold.it/40x40/eee&text=!" alt="Creative Design Agency">
|
|
</div>
|
|
<div class="conversation-info">
|
|
<div class="conversation-header">
|
|
<div class="contact-name">Creative Design Agency</div>
|
|
<div class="message-time">Apr 1</div>
|
|
</div>
|
|
<div class="message-preview">Thank you for submitting your UI/UX proposal for our mobile application. Our team has reviewed it and we're...</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="conversation-item">
|
|
<div class="contact-avatar">
|
|
<img src="https://place-hold.it/40x40/eee&text=!" alt="Jobs Notification">
|
|
</div>
|
|
<div class="conversation-info">
|
|
<div class="conversation-header">
|
|
<div class="contact-name">Jobs Notification</div>
|
|
<div class="message-time">Mar 30</div>
|
|
</div>
|
|
<div class="message-preview">We've found 5 new job opportunities that match your skills and preferences. Check them out in your...</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="chat-content">
|
|
<div class="chat-header-content">
|
|
<button class="icon-btn d-md-none"><i class="fas fa-arrow-left"></i></button>
|
|
<div class="contact-info">
|
|
<div class="contact-avatar-lg">
|
|
<img src="https://place-hold.it/40x40/eee&text=!" alt="TechCorp">
|
|
</div>
|
|
<div class="contact-details">
|
|
<div class="contact-name-lg">TechCorp Inc.</div>
|
|
<div class="contact-status">Online</div>
|
|
</div>
|
|
</div>
|
|
<div class="action-buttons">
|
|
<button class="icon-btn"><i class="fas fa-ellipsis-v"></i></button>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="messages-container">
|
|
<div class="message-date-divider">
|
|
<span>Today, April 8, 2025</span>
|
|
</div>
|
|
|
|
<div class="message-bubble incoming">
|
|
<div>Hello Emily! I'm Sarah from TechCorp Inc. We're pleased to offer you the position of Senior Developer at our company.</div>
|
|
<div class="message-time-bubble">9:45 AM</div>
|
|
</div>
|
|
|
|
<div class="message-bubble incoming">
|
|
<div>After reviewing your profile and the impressive work you've showcased, we believe you would be a valuable addition to our development team.</div>
|
|
<div class="message-time-bubble">9:46 AM</div>
|
|
</div>
|
|
|
|
<div class="message-bubble outgoing">
|
|
<div>Hi Sarah! Thank you for reaching out. I'm excited to hear about the offer!</div>
|
|
<div class="message-time-bubble">10:02 AM</div>
|
|
</div>
|
|
|
|
<div class="message-bubble incoming">
|
|
<div>Great! The position offers a competitive salary of $120,000 per year, along with benefits including comprehensive health insurance, 401(k) matching up to 5%, flexible work hours, professional development budget, and 25 days PTO.</div>
|
|
<div class="message-time-bubble">10:05 AM</div>
|
|
</div>
|
|
|
|
<div class="message-bubble incoming">
|
|
<div>We would like you to start on May 1, 2025, if that works with your schedule. Please let us know your decision by April 15.</div>
|
|
<div class="message-time-bubble">10:06 AM</div>
|
|
</div>
|
|
|
|
<div class="message-bubble outgoing">
|
|
<div>The offer sounds excellent! I have a few questions about the role and team structure. Would it be possible to schedule a quick call to discuss?</div>
|
|
<div class="message-time-bubble">10:15 AM</div>
|
|
</div>
|
|
|
|
<div class="message-bubble incoming">
|
|
<div>Absolutely! I'd be happy to set up a call. How does tomorrow at 2 PM sound?</div>
|
|
<div class="message-time-bubble">10:30 AM</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="chat-input-container">
|
|
<div class="chat-input-wrapper">
|
|
<button class="icon-btn"><i class="fas fa-paperclip"></i></button>
|
|
<textarea class="chat-input" placeholder="Type a message..."></textarea>
|
|
<div class="chat-input-actions">
|
|
<button class="icon-btn"><i class="fas fa-smile"></i></button>
|
|
<button class="chat-send-btn"><i class="fas fa-paper-plane"></i></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<style>
|
|
* {
|
|
box-sizing: border-box;
|
|
font-family: "Urbanist", sans-serif;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
padding: 20px;
|
|
display: flex;
|
|
gap: 20px;
|
|
}
|
|
.navbar {
|
|
width: 300px;
|
|
height: 100%;
|
|
background-color: #EBF2F2;
|
|
border-radius: 20px;
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: auto;
|
|
}
|
|
.content {
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: white;
|
|
border-radius: 20px;
|
|
padding: 0 30px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Logo styling */
|
|
.logo-container {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
.logo-icon {
|
|
font-size: 24px;
|
|
margin-right: 10px;
|
|
color: #333;
|
|
}
|
|
.logo-text {
|
|
font-size: 22px;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
|
|
/* Search bar styling */
|
|
.search-container {
|
|
position: relative;
|
|
margin-bottom: 25px;
|
|
}
|
|
.search-input {
|
|
width: 100%;
|
|
padding: 12px 15px 12px 40px;
|
|
border: none;
|
|
border-radius: 20px;
|
|
background-color: white;
|
|
font-size: 14px;
|
|
}
|
|
.search-icon {
|
|
position: absolute;
|
|
left: 15px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
color: #888;
|
|
}
|
|
|
|
/* Navigation items */
|
|
.nav-items {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
margin-bottom: auto;
|
|
}
|
|
.nav-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 8px 10px;
|
|
color: #333;
|
|
font-weight: 500;
|
|
position: relative;
|
|
border-radius: 10px;
|
|
margin: 2px 0;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
.nav-item i {
|
|
width: 25px;
|
|
font-size: 16px;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
.nav-item i.right {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-left: auto;
|
|
}
|
|
.nav-item span {
|
|
font-size: 16px;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.nav-link {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
.nav-item.active {
|
|
background-color: white;
|
|
}
|
|
|
|
/* Bottom navigation */
|
|
.bottom-nav {
|
|
margin-top: auto;
|
|
border-top: 1px solid rgba(0, 0, 0, 0.05);
|
|
padding-top: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
|
|
/* Badge styling */
|
|
.badge {
|
|
color: #333;
|
|
border-radius: 10px;
|
|
font-size: 12px;
|
|
margin-left: auto;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
/* User item styling */
|
|
.user-item {
|
|
margin-top: 5px;
|
|
}
|
|
.user-avatar {
|
|
width: 19px;
|
|
height: 19px;
|
|
background-color: #FF6B6B;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
font-size: 12px;
|
|
margin-right: 10px;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
.user-avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
object-fit: cover;
|
|
}
|
|
.blank {
|
|
margin-left: auto;
|
|
}
|
|
|
|
/* Inbox specific styles */
|
|
.chat-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.chat-header h1 {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
color: #333;
|
|
}
|
|
|
|
.chat-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.btn {
|
|
padding: 10px 20px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.btn.primary {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
}
|
|
|
|
.btn.secondary {
|
|
background-color: #f0f0f0;
|
|
color: #333;
|
|
}
|
|
|
|
.chat-container {
|
|
display: flex;
|
|
gap: 0;
|
|
height: calc(100vh - 150px);
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.chat-sidebar {
|
|
width: 300px;
|
|
background-color: white;
|
|
border-right: 1px solid #f0f0f0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.chat-tabs {
|
|
display: flex;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.chat-tab {
|
|
flex: 1;
|
|
padding: 15px;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
position: relative;
|
|
}
|
|
|
|
.chat-tab.active {
|
|
color: #4CAF50;
|
|
}
|
|
|
|
.chat-tab.active::after {
|
|
content: "";
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 3px;
|
|
background-color: #4CAF50;
|
|
}
|
|
|
|
.conversation-list {
|
|
height: calc(100% - 51px);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.conversation-item {
|
|
padding: 15px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.conversation-item:hover {
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
.conversation-item.active {
|
|
background-color: #f0f7f0;
|
|
border-left: 3px solid #4CAF50;
|
|
}
|
|
|
|
.conversation-item.unread .contact-name {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.conversation-item.unread .message-preview {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.contact-avatar {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
margin-right: 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.contact-avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.conversation-info {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.conversation-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.contact-name {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.message-time {
|
|
font-size: 12px;
|
|
color: #888;
|
|
}
|
|
|
|
.message-preview {
|
|
font-size: 14px;
|
|
color: #666;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.chat-content {
|
|
flex: 1;
|
|
background-color: white;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.chat-header-content {
|
|
padding: 15px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.action-buttons {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.icon-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
background-color: transparent;
|
|
border: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
color: #555;
|
|
transition: background-color 0.2s;
|
|
}
|
|
|
|
.icon-btn:hover {
|
|
background-color: #f0f0f0;
|
|
}
|
|
|
|
.contact-info {
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1;
|
|
}
|
|
|
|
.contact-avatar-lg {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
margin-right: 15px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.contact-avatar-lg img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.contact-details {
|
|
flex: 1;
|
|
}
|
|
|
|
.contact-name-lg {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.contact-status {
|
|
font-size: 13px;
|
|
color: #888;
|
|
}
|
|
|
|
.messages-container {
|
|
padding: 20px;
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
background-color: #f9f9f9;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
}
|
|
|
|
.message-bubble {
|
|
max-width: 70%;
|
|
padding: 12px 16px;
|
|
border-radius: 18px;
|
|
line-height: 1.5;
|
|
position: relative;
|
|
}
|
|
|
|
.message-bubble.incoming {
|
|
align-self: flex-start;
|
|
background-color: white;
|
|
border: 1px solid #e0e0e0;
|
|
border-bottom-left-radius: 4px;
|
|
}
|
|
|
|
.message-bubble.outgoing {
|
|
align-self: flex-end;
|
|
background-color: #E7F7E8;
|
|
color: #333;
|
|
border-bottom-right-radius: 4px;
|
|
}
|
|
|
|
.message-time-bubble {
|
|
font-size: 11px;
|
|
color: #888;
|
|
margin-top: 5px;
|
|
text-align: right;
|
|
}
|
|
|
|
.message-date-divider {
|
|
text-align: center;
|
|
margin: 15px 0;
|
|
position: relative;
|
|
}
|
|
|
|
.message-date-divider span {
|
|
background-color: #f9f9f9;
|
|
padding: 0 10px;
|
|
font-size: 12px;
|
|
color: #888;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.message-date-divider:before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
background-color: #e0e0e0;
|
|
z-index: 0;
|
|
}
|
|
|
|
.chat-input-container {
|
|
padding: 15px;
|
|
border-top: 1px solid #f0f0f0;
|
|
background-color: white;
|
|
}
|
|
|
|
.chat-input-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: #f5f5f5;
|
|
border-radius: 24px;
|
|
padding: 8px 15px;
|
|
}
|
|
|
|
.chat-input {
|
|
flex: 1;
|
|
border: none;
|
|
outline: none;
|
|
background: transparent;
|
|
padding: 8px 10px;
|
|
font-size: 14px;
|
|
resize: none;
|
|
max-height: 100px;
|
|
min-height: 24px;
|
|
}
|
|
|
|
.chat-input-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.chat-send-btn {
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
border: none;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.chat-send-btn:hover {
|
|
background-color: #3d8b40;
|
|
}
|
|
</style>
|
|
</html>
|