gmail-templete / index.html
Callyn's picture
https://mail.google.com/mail/u/0/#inbox - Initial Deployment
f39a5b4 verified
Raw History Blame Contribute Delete
21.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MailBox - Modern Email Client</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.email-item:hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.sidebar-item:hover {
background-color: rgba(59, 130, 246, 0.1);
}
.compose-btn:hover {
transform: scale(1.05);
}
.unread {
font-weight: 600;
}
</style>
</head>
<body class="bg-gray-50 font-sans antialiased">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div class="hidden md:flex md:flex-shrink-0">
<div class="flex flex-col w-64 bg-white border-r border-gray-200">
<div class="flex items-center justify-center h-16 px-4 border-b border-gray-200">
<div class="flex items-center">
<i data-feather="mail" class="text-blue-500 h-6 w-6"></i>
<span class="ml-2 text-xl font-semibold text-gray-800">MailBox</span>
</div>
</div>
<div class="flex flex-col flex-grow px-4 py-4">
<button class="compose-btn flex items-center justify-center px-4 py-3 bg-blue-500 text-white rounded-lg shadow-md mb-6 transition duration-200">
<i data-feather="plus" class="h-4 w-4"></i>
<span class="ml-2">Compose</span>
</button>
<nav class="flex-1 space-y-1">
<a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium text-gray-700 rounded-lg transition duration-150">
<i data-feather="inbox" class="h-4 w-4 text-blue-500"></i>
<span class="ml-3">Inbox</span>
<span class="ml-auto bg-blue-500 text-white text-xs px-2 py-1 rounded-full">12</span>
</a>
<a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium text-gray-700 rounded-lg transition duration-150">
<i data-feather="star" class="h-4 w-4 text-yellow-500"></i>
<span class="ml-3">Starred</span>
</a>
<a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium text-gray-700 rounded-lg transition duration-150">
<i data-feather="send" class="h-4 w-4 text-green-500"></i>
<span class="ml-3">Sent</span>
</a>
<a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium text-gray-700 rounded-lg transition duration-150">
<i data-feather="file-text" class="h-4 w-4 text-gray-500"></i>
<span class="ml-3">Drafts</span>
<span class="ml-auto text-xs text-gray-500">3</span>
</a>
<a href="#" class="sidebar-item flex items-center px-4 py-3 text-sm font-medium text-gray-700 rounded-lg transition duration-150">
<i data-feather="trash-2" class="h-4 w-4 text-red-500"></i>
<span class="ml-3">Trash</span>
</a>
<div class="py-2">
<p class="px-4 text-xs font-semibold text-gray-500 uppercase tracking-wider">Labels</p>
<a href="#" class="sidebar-item flex items-center px-4 py-2 text-sm font-medium text-gray-700 rounded-lg transition duration-150">
<span class="w-3 h-3 rounded-full bg-red-500 mr-3"></span>
<span>Important</span>
</a>
<a href="#" class="sidebar-item flex items-center px-4 py-2 text-sm font-medium text-gray-700 rounded-lg transition duration-150">
<span class="w-3 h-3 rounded-full bg-green-500 mr-3"></span>
<span>Personal</span>
</a>
<a href="#" class="sidebar-item flex items-center px-4 py-2 text-sm font-medium text-gray-700 rounded-lg transition duration-150">
<span class="w-3 h-3 rounded-full bg-purple-500 mr-3"></span>
<span>Work</span>
</a>
</div>
</nav>
</div>
<div class="px-4 py-4 border-t border-gray-200">
<div class="flex items-center">
<img src="http://static.photos/people/200x200/42" alt="Profile" class="h-8 w-8 rounded-full">
<div class="ml-2">
<p class="text-sm font-medium text-gray-900">John Doe</p>
<p class="text-xs text-gray-500">john@example.com</p>
</div>
</div>
</div>
</div>
</div>
<!-- Main Content -->
<div class="flex flex-col flex-1 overflow-hidden">
<!-- Header -->
<header class="bg-white border-b border-gray-200">
<div class="flex items-center justify-between px-4 py-3">
<div class="flex items-center">
<button class="md:hidden p-2 rounded-md text-gray-500 hover:text-gray-600 hover:bg-gray-100 focus:outline-none">
<i data-feather="menu" class="h-5 w-5"></i>
</button>
<div class="relative ml-4">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<i data-feather="search" class="h-4 w-4 text-gray-400"></i>
</div>
<input class="block w-full pl-10 pr-3 py-2 border border-gray-300 rounded-md leading-5 bg-white placeholder-gray-500 focus:outline-none focus:placeholder-gray-400 focus:ring-1 focus:ring-blue-500 focus:border-blue-500 sm:text-sm" placeholder="Search mail" type="search">
</div>
</div>
<div class="flex items-center space-x-4">
<button class="p-2 rounded-full text-gray-500 hover:text-gray-600 hover:bg-gray-100 focus:outline-none">
<i data-feather="help-circle" class="h-5 w-5"></i>
</button>
<button class="p-2 rounded-full text-gray-500 hover:text-gray-600 hover:bg-gray-100 focus:outline-none">
<i data-feather="settings" class="h-5 w-5"></i>
</button>
<button class="p-2 rounded-full text-gray-500 hover:text-gray-600 hover:bg-gray-100 focus:outline-none">
<i data-feather="bell" class="h-5 w-5"></i>
</button>
</div>
</div>
</header>
<!-- Email List -->
<div class="flex-1 flex overflow-hidden">
<div class="flex-1 overflow-y-auto">
<div class="border-b border-gray-200 px-4 py-3 flex items-center justify-between bg-white sticky top-0 z-10">
<div class="flex items-center space-x-4">
<button class="p-2 rounded-md text-gray-500 hover:text-gray-600 hover:bg-gray-100 focus:outline-none">
<i data-feather="refresh-cw" class="h-4 w-4"></i>
</button>
<button class="p-2 rounded-md text-gray-500 hover:text-gray-600 hover:bg-gray-100 focus:outline-none">
<i data-feather="archive" class="h-4 w-4"></i>
</button>
<button class="p-2 rounded-md text-gray-500 hover:text-gray-600 hover:bg-gray-100 focus:outline-none">
<i data-feather="trash-2" class="h-4 w-4"></i>
</button>
<button class="p-2 rounded-md text-gray-500 hover:text-gray-600 hover:bg-gray-100 focus:outline-none">
<i data-feather="mail" class="h-4 w-4"></i>
</button>
</div>
<div class="flex items-center space-x-2">
<span class="text-sm text-gray-500">1-50 of 123</span>
<button class="p-2 rounded-md text-gray-500 hover:text-gray-600 hover:bg-gray-100 focus:outline-none">
<i data-feather="chevron-left" class="h-4 w-4"></i>
</button>
<button class="p-2 rounded-md text-gray-500 hover:text-gray-600 hover:bg-gray-100 focus:outline-none">
<i data-feather="chevron-right" class="h-4 w-4"></i>
</button>
</div>
</div>
<div class="divide-y divide-gray-200">
<!-- Email Item -->
<div class="email-item flex items-center px-4 py-3 bg-white hover:bg-blue-50 cursor-pointer transition duration-150">
<div class="flex items-center w-8">
<input type="checkbox" class="h-4 w-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500">
</div>
<div class="flex items-center w-8">
<i data-feather="star" class="h-4 w-4 text-gray-400 hover:text-yellow-500"></i>
</div>
<div class="flex items-center min-w-0 flex-1">
<div class="min-w-0 flex-1 flex items-center">
<p class="text-sm font-medium text-gray-900 truncate unread">Sarah Johnson</p>
<span class="ml-2 text-xs text-gray-500 truncate">Meeting tomorrow</span>
</div>
<div class="ml-4 flex-shrink-0 flex">
<time datetime="2023-05-15" class="text-xs text-gray-500">10:30 AM</time>
</div>
</div>
</div>
<!-- More Email Items -->
<div class="email-item flex items-center px-4 py-3 bg-white hover:bg-blue-50 cursor-pointer transition duration-150">
<div class="flex items-center w-8">
<input type="checkbox" class="h-4 w-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500">
</div>
<div class="flex items-center w-8">
<i data-feather="star" class="h-4 w-4 text-yellow-500"></i>
</div>
<div class="flex items-center min-w-0 flex-1">
<div class="min-w-0 flex-1 flex items-center">
<p class="text-sm font-medium text-gray-900 truncate unread">Team Update</p>
<span class="ml-2 text-xs text-gray-500 truncate">Weekly project status report attached</span>
</div>
<div class="ml-4 flex-shrink-0 flex">
<time datetime="2023-05-14" class="text-xs text-gray-500">Yesterday</time>
</div>
</div>
</div>
<div class="email-item flex items-center px-4 py-3 bg-white hover:bg-blue-50 cursor-pointer transition duration-150">
<div class="flex items-center w-8">
<input type="checkbox" class="h-4 w-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500">
</div>
<div class="flex items-center w-8">
<i data-feather="star" class="h-4 w-4 text-gray-400 hover:text-yellow-500"></i>
</div>
<div class="flex items-center min-w-0 flex-1">
<div class="min-w-0 flex-1 flex items-center">
<p class="text-sm font-medium text-gray-500 truncate">Amazon</p>
<span class="ml-2 text-xs text-gray-500 truncate">Your order has shipped</span>
</div>
<div class="ml-4 flex-shrink-0 flex">
<time datetime="2023-05-12" class="text-xs text-gray-500">May 12</time>
</div>
</div>
</div>
<div class="email-item flex items-center px-4 py-3 bg-white hover:bg-blue-50 cursor-pointer transition duration-150">
<div class="flex items-center w-8">
<input type="checkbox" class="h-4 w-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500">
</div>
<div class="flex items-center w-8">
<i data-feather="star" class="h-4 w-4 text-gray-400 hover:text-yellow-500"></i>
</div>
<div class="flex items-center min-w-0 flex-1">
<div class="min-w-0 flex-1 flex items-center">
<p class="text-sm font-medium text-gray-900 truncate unread">LinkedIn</p>
<span class="ml-2 text-xs text-gray-500 truncate">You have 3 new connection requests</span>
</div>
<div class="ml-4 flex-shrink-0 flex">
<time datetime="2023-05-10" class="text-xs text-gray-500">May 10</time>
</div>
</div>
</div>
<div class="email-item flex items-center px-4 py-3 bg-white hover:bg-blue-50 cursor-pointer transition duration-150">
<div class="flex items-center w-8">
<input type="checkbox" class="h-4 w-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500">
</div>
<div class="flex items-center w-8">
<i data-feather="star" class="h-4 w-4 text-gray-400 hover:text-yellow-500"></i>
</div>
<div class="flex items-center min-w-0 flex-1">
<div class="min-w-0 flex-1 flex items-center">
<p class="text-sm font-medium text-gray-500 truncate">Netflix</p>
<span class="ml-2 text-xs text-gray-500 truncate">New shows added to your watchlist</span>
</div>
<div class="ml-4 flex-shrink-0 flex">
<time datetime="2023-05-08" class="text-xs text-gray-500">May 8</time>
</div>
</div>
</div>
<!-- More emails would go here -->
</div>
</div>
<!-- Email Content - Hidden on mobile until email is selected -->
<div class="hidden lg:flex lg:w-2/3 xl:w-3/4 bg-white border-l border-gray-200 overflow-y-auto">
<div class="w-full">
<div class="px-6 py-4 border-b border-gray-200">
<div class="flex items-center justify-between">
<h2 class="text-xl font-semibold text-gray-900">Meeting tomorrow</h2>
<div class="flex space-x-2">
<button class="p-2 rounded-md text-gray-500 hover:text-gray-600 hover:bg-gray-100 focus:outline-none">
<i data-feather="archive" class="h-4 w-4"></i>
</button>
<button class="p-2 rounded-md text-gray-500 hover:text-gray-600 hover:bg-gray-100 focus:outline-none">
<i data-feather="trash-2" class="h-4 w-4"></i>
</button>
<button class="p-2 rounded-md text-gray-500 hover:text-gray-600 hover:bg-gray-100 focus:outline-none">
<i data-feather="mail" class="h-4 w-4"></i>
</button>
<button class="p-2 rounded-md text-gray-500 hover:text-gray-600 hover:bg-gray-100 focus:outline-none">
<i data-feather="more-vertical" class="h-4 w-4"></i>
</button>
</div>
</div>
<div class="mt-4 flex items-start">
<img src="http://static.photos/people/200x200/43" alt="Profile" class="h-10 w-10 rounded-full">
<div class="ml-3">
<div class="flex items-center">
<p class="text-sm font-medium text-gray-900">Sarah Johnson</p>
<span class="ml-2 text-xs text-gray-500">sarah.johnson@example.com</span>
</div>
<div class="flex items-center mt-1 text-xs text-gray-500">
<span>to me</span>
<time datetime="2023-05-15" class="ml-2">May 15, 2023, 10:30 AM</time>
</div>
</div>
</div>
</div>
<div class="px-6 py-4">
<div class="prose max-w-none text-gray-700">
<p>Hi there,</p>
<p>I hope this email finds you well. I wanted to confirm our meeting tomorrow at 11 AM in the main conference room.</p>
<p>We'll be discussing the quarterly project updates and the new marketing strategy. Please bring any materials you think would be relevant to the discussion.</p>
<p>Also, I've attached the agenda for your reference.</p>
<p>Looking forward to our discussion!</p>
<p>Best regards,<br>Sarah</p>
</div>
<div class="mt-6 border-t border-gray-200 pt-4">
<h3 class="text-sm font-medium text-gray-900 mb-2">Attachments (1)</h3>
<div class="flex items-center p-3 border border-gray-200 rounded-lg w-full max-w-xs">
<div class="flex-shrink-0">
<i data-feather="file-text" class="h-5 w-5 text-gray-400"></i>
</div>
<div class="ml-4">
<p class="text-sm font-medium text-gray-900 truncate">Meeting_Agenda_Q2.pdf</p>
<p class="text-xs text-gray-500">250 KB</p>
</div>
<div class="ml-auto">
<button class="text-blue-500 hover:text-blue-700">
<i data-feather{"ok":false,"message":"terminated"}
</body>
</html>