undefined / owner-profile.html
markngr's picture
Add a home button in the header in mobile view
42d1af8 verified
Raw History Blame Contribute Delete
23.1 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Owner Profile - EstateEase</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
.profile-card:hover {
transform: translateY(-3px);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
</style>
</head>
<body class="bg-gray-50 font-sans antialiased">
<!-- Top Navigation -->
<header class="bg-white shadow-sm sticky top-0 z-50">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center py-3">
<div class="flex items-center space-x-2">
<button class="md:hidden p-2 rounded-md hover:bg-gray-100" id="menuToggle">
<i data-feather="menu" class="w-5 h-5"></i>
</button>
<a href="index.html" class="flex items-center space-x-2">
<i data-feather="home" class="text-primary w-6 h-6"></i>
<span class="text-xl font-bold text-primary">EstateEase</span>
</a>
</div>
<nav class="hidden md:flex space-x-8">
<a href="index.html" class="text-dark hover:text-primary transition">Dashboard</a>
<a href="properties.html" class="text-dark hover:text-primary transition">Properties</a>
<a href="tenants.html" class="text-dark hover:text-primary transition">Tenants</a>
<a href="payments.html" class="text-dark hover:text-primary transition">Payments</a>
<a href="reports.html" class="text-dark hover:text-primary transition">Reports</a>
</nav>
<div class="flex items-center space-x-4">
<div class="relative">
<i data-feather="bell" class="w-5 h-5 text-dark"></i>
<span class="absolute -top-1 -right-1 bg-accent text-xs text-white rounded-full w-4 h-4 flex items-center justify-center">3</span>
</div>
<div class="flex items-center space-x-2">
<a href="owner-profile.html">
<img src="http://static.photos/people/200x200/42" alt="User" class="w-8 h-8 rounded-full object-cover">
</a>
<span class="hidden md:inline text-sm font-medium">John Doe</span>
</div>
</div>
</div>
</div>
</header>
<!-- Mobile Sidebar -->
<div class="fixed inset-0 bg-black bg-opacity-50 z-40 hidden" id="mobileSidebarBackdrop"></div>
<div class="fixed inset-y-0 left-0 transform -translate-x-full w-64 bg-white shadow-lg z-50 transition duration-300 ease-in-out" id="mobileSidebar">
<div class="flex flex-col h-full p-4">
<div class="flex justify-between items-center mb-8">
<div class="flex items-center space-x-2">
<i data-feather="home" class="text-primary w-6 h-6"></i>
<span class="text-xl font-bold text-primary">EstateEase</span>
</div>
<button id="closeSidebar">
<i data-feather="x" class="w-5 h-5"></i>
</button>
</div>
<nav class="flex-1 space-y-2">
<a href="index.html" class="block px-4 py-2 rounded bg-primary bg-opacity-10 text-primary flex items-center">
<i data-feather="home" class="w-5 h-5 mr-2"></i> Home
</a>
<a href="dashboard.html" class="block px-4 py-2 rounded hover:bg-gray-100">Dashboard</a>
<a href="properties.html" class="block px-4 py-2 rounded hover:bg-gray-100">Properties</a>
<a href="tenants.html" class="block px-4 py-2 rounded hover:bg-gray-100">Tenants</a>
<a href="payments.html" class="block px-4 py-2 rounded hover:bg-gray-100">Payments</a>
<a href="reports.html" class="block px-4 py-2 rounded hover:bg-gray-100">Reports</a>
</nav>
<div class="mt-auto pt-4 border-t border-gray-200">
<div class="flex items-center space-x-2">
<a href="owner-profile.html">
<img src="http://static.photos/people/200x200/42" alt="User" class="w-8 h-8 rounded-full object-cover">
</a>
<span class="text-sm font-medium">John Doe</span>
</div>
</div>
</div>
</div>
<main class="container mx-auto px-4 py-8">
<!-- Profile Header -->
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-8">
<div class="flex items-center space-x-4 mb-4 md:mb-0">
<img src="http://static.photos/people/200x200/42" alt="Profile" class="w-16 h-16 rounded-full object-cover border-2 border-primary">
<div>
<h1 class="text-2xl font-bold text-dark">John Doe</h1>
<p class="text-gray-600">Property Owner</p>
</div>
</div>
<div class="flex space-x-3">
<button class="bg-primary hover:bg-opacity-90 text-white py-2 px-4 rounded-md transition flex items-center">
<i data-feather="edit" class="w-4 h-4 mr-2"></i>
Edit Profile
</button>
<button class="bg-white border border-gray-200 hover:bg-gray-50 text-dark py-2 px-4 rounded-md transition flex items-center">
<i data-feather="settings" class="w-4 h-4 mr-2"></i>
Settings
</button>
</div>
</div>
<!-- Profile Sections -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Left Column -->
<div class="lg:col-span-2 space-y-6">
<!-- Personal Information -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-6 py-4 border-b border-gray-100">
<h2 class="text-lg font-semibold text-dark">Personal Information</h2>
</div>
<div class="p-6">
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<p class="text-gray-500 text-sm">Full Name</p>
<p class="font-medium">John Michael Doe</p>
</div>
<div>
<p class="text-gray-500 text-sm">Email</p>
<p class="font-medium">john.doe@example.com</p>
</div>
<div>
<p class="text-gray-500 text-sm">Phone</p>
<p class="font-medium">(555) 123-4567</p>
</div>
<div>
<p class="text-gray-500 text-sm">Date of Birth</p>
<p class="font-medium">January 15, 1980</p>
</div>
<div>
<p class="text-gray-500 text-sm">Address</p>
<p class="font-medium">123 Main Street, Property City, PC 12345</p>
</div>
<div>
<p class="text-gray-500 text-sm">Member Since</p>
<p class="font-medium">June 12, 2018</p>
</div>
</div>
</div>
</div>
<!-- Account Security -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-6 py-4 border-b border-gray-100">
<h2 class="text-lg font-semibold text-dark">Account Security</h2>
</div>
<div class="p-6 space-y-6">
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium text-dark">Password</h3>
<p class="text-gray-500 text-sm">Last changed 3 months ago</p>
</div>
<button class="text-primary hover:text-opacity-80 text-sm font-medium">
Change Password
</button>
</div>
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium text-dark">Two-Factor Authentication</h3>
<p class="text-gray-500 text-sm">Add an extra layer of security</p>
</div>
<button class="text-primary hover:text-opacity-80 text-sm font-medium">
Enable
</button>
</div>
<div class="flex justify-between items-center">
<div>
<h3 class="font-medium text-dark">Connected Devices</h3>
<p class="text-gray-500 text-sm">3 active sessions</p>
</div>
<button class="text-primary hover:text-opacity-80 text-sm font-medium">
Manage
</button>
</div>
</div>
</div>
<!-- Recent Activity -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-6 py-4 border-b border-gray-100 flex justify-between items-center">
<h2 class="text-lg font-semibold text-dark">Recent Activity</h2>
<a href="#" class="text-primary text-sm font-medium">View All</a>
</div>
<div class="divide-y divide-gray-100">
<div class="p-4 hover:bg-gray-50 transition">
<div class="flex items-start">
<div class="bg-blue-100 p-2 rounded-full mr-3">
<i data-feather="user" class="text-blue-600 w-4 h-4"></i>
</div>
<div>
<h3 class="font-medium text-dark">Profile Updated</h3>
<p class="text-gray-500 text-sm">You updated your profile information</p>
<p class="text-gray-400 text-xs mt-1">May 15, 2023 at 10:30 AM</p>
</div>
</div>
</div>
<div class="p-4 hover:bg-gray-50 transition">
<div class="flex items-start">
<div class="bg-green-100 p-2 rounded-full mr-3">
<i data-feather="dollar-sign" class="text-green-600 w-4 h-4"></i>
</div>
<div>
<h3 class="font-medium text-dark">Payment Received</h3>
<p class="text-gray-500 text-sm">Received $2,500 from Sarah Johnson</p>
<p class="text-gray-400 text-xs mt-1">May 5, 2023 at 9:15 AM</p>
</div>
</div>
</div>
<div class="p-4 hover:bg-gray-50 transition">
<div class="flex items-start">
<div class="bg-purple-100 p-2 rounded-full mr-3">
<i data-feather="file-text" class="text-purple-600 w-4 h-4"></i>
</div>
<div>
<h3 class="font-medium text-dark">New Lease Signed</h3>
<p class="text-gray-500 text-sm">Michael Brown signed lease for Lakeside Villa</p>
<p class="text-gray-400 text-xs mt-1">April 28, 2023 at 2:45 PM</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Right Column -->
<div class="space-y-6">
<!-- Account Summary -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-6 py-4 border-b border-gray-100">
<h2 class="text-lg font-semibold text-dark">Account Summary</h2>
</div>
<div class="p-6 space-y-4">
<div class="flex justify-between items-center">
<p class="text-gray-500">Account Type</p>
<p class="font-medium">Premium</p>
</div>
<div class="flex justify-between items-center">
<p class="text-gray-500">Properties Owned</p>
<p class="font-medium">8</p>
</div>
<div class="flex justify-between items-center">
<p class="text-gray-500">Active Tenants</p>
<p class="font-medium">12</p>
</div>
<div class="flex justify-between items-center">
<p class="text-gray-500">Monthly Revenue</p>
<p class="font-medium">$24,500</p>
</div>
<div class="flex justify-between items-center">
<p class="text-gray-500">Account Balance</p>
<p class="font-medium text-green-600">$18,750</p>
</div>
<button class="w-full mt-4 bg-primary hover:bg-opacity-90 text-white py-2 px-4 rounded-md transition">
Withdraw Funds
</button>
</div>
</div>
<!-- Quick Actions -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-6 py-4 border-b border-gray-100">
<h2 class="text-lg font-semibold text-dark">Quick Actions</h2>
</div>
<div class="p-6 grid grid-cols-2 gap-4">
<button class="bg-blue-50 hover:bg-blue-100 text-blue-600 py-3 px-4 rounded-md transition flex flex-col items-center">
<i data-feather="home" class="w-5 h-5 mb-2"></i>
<span class="text-sm">Add Property</span>
</button>
<button class="bg-green-50 hover:bg-green-100 text-green-600 py-3 px-4 rounded-md transition flex flex-col items-center">
<i data-feather="user-plus" class="w-5 h-5 mb-2"></i>
<span class="text-sm">Add Tenant</span>
</button>
<button class="bg-purple-50 hover:bg-purple-100 text-purple-600 py-3 px-4 rounded-md transition flex flex-col items-center">
<i data-feather="dollar-sign" class="w-5 h-5 mb-2"></i>
<span class="text-sm">Record Payment</span>
</button>
<button class="bg-orange-50 hover:bg-orange-100 text-orange-600 py-3 px-4 rounded-md transition flex flex-col items-center">
<i data-feather="file-text" class="w-5 h-5 mb-2"></i>
<span class="text-sm">Generate Report</span>
</button>
</div>
</div>
<!-- Connected Accounts -->
<div class="bg-white rounded-lg shadow overflow-hidden">
<div class="px-6 py-4 border-b border-gray-100">
<h2 class="text-lg font-semibold text-dark">Connected Accounts</h2>
</div>
<div class="p-6 space-y-4">
<div class="flex justify-between items-center">
<div class="flex items-center">
<i data-feather="credit-card" class="text-blue-500 w-5 h-5 mr-2"></i>
<span>Bank Account</span>
</div>
<span class="text-green-600 text-sm font-medium">Connected</span>
</div>
<div class="flex justify-between items-center">
<div class="flex items-center">
<i data-feather="mail" class="text-red-500 w-5 h-5 mr-2"></i>
<span>Gmail</span>
</div>
<span class="text-gray-500 text-sm font-medium">Not Connected</span>
</div>
<div class="flex justify-between items-center">
<div class="flex items-center">
<i data-feather="calendar" class="text-purple-500 w-5 h-5 mr-2"></i>
<span>Google Calendar</span>
</div>
<span class="text-gray-500 text-sm font-medium">Not Connected</span>
</div>
<button class="w-full mt-4 bg-white border border-primary text-primary hover:bg-primary hover:text-white py-2 px-4 rounded-md transition">
Connect More Accounts
</button>
</div>
</div>
</div>
</div>
</main>
<footer class="bg-dark text-white py-8">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-lg font-semibold mb-4">EstateEase</h3>
<p class="text-secondary text-sm">Simplifying property management for landlords and tenants alike.</p>
</div>
<div>
<h4 class="font-medium mb-4">Quick Links</h4>
<ul class="space-y-2 text-sm text-secondary">
<li><a href="index.html" class="hover:text-white transition">Dashboard</a></li>
<li><a href="properties.html" class="hover:text-white transition">Properties</a></li>
<li><a href="tenants.html" class="hover:text-white transition">Tenants</a></li>
<li><a href="payments.html" class="hover:text-white transition">Payments</a></li>
</ul>
</div>
<div>
<h4 class="font-medium mb-4">Resources</h4>
<ul class="space-y-2 text-sm text-secondary">
<li><a href="#" class="hover:text-white transition">Documentation</a></li>
<li><a href="#" class="hover:text-white transition">Support</a></li>
<li><a href="#" class="hover:text-white transition">API</a></li>
</ul>
</div>
<div>
<h4 class="font-medium mb-4">Get in Touch</h4>
<ul class="space-y-2 text-sm text-secondary">
<li class="flex items-center">
<i data-feather="mail" class="w-4 h-4 mr-2"></i>
<span>support@estateease.com</span>
</li>
<li class="flex items-center">
<i data-feather="phone" class="w-4 h-4 mr-2"></i>
<span>+1 (555) 123-4567</span>
</li>
</ul>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-6 flex flex-col md:flex-row justify-between items-center">
<p class="text-secondary text-sm mb-4 md:mb-0">© 2023 EstateEase. All rights reserved.</p>
<div class="flex space-x-4">
<a href="#" class="text-secondary hover:text-white transition">
<i data-feather="facebook" class="w-5 h-5"></i>
</a>
<a href="#" class="text-secondary hover:text-white transition">
<i data-feather="twitter" class="w-5 h-5"></i>
</a>
<a href="#" class="text-secondary hover:text-white transition">
<i data-feather="linkedin" class="w-5 h-5"></i>
</a>
</div>
</div>
</div>
</footer>
<script>
feather.replace();
// Mobile menu toggle
document.addEventListener('DOMContentLoaded', function() {
const menuToggle = document.getElementById('menuToggle');
const closeSidebar = document.getElementById('closeSidebar');
const mobileSidebar = document.getElementById('mobileSidebar');
const backdrop = document.getElementById('mobileSidebarBackdrop');
menuToggle.addEventListener('click', function() {
mobileSidebar.classList.remove('-translate-x-full');
backdrop.classList.remove('hidden');
document.body.classList.add('overflow-hidden');
});
closeSidebar.addEventListener('click', function() {
mobileSidebar.classList.add('-translate-x-full');
backdrop.classList.add('hidden');
document.body.classList.remove('overflow-hidden');
});
backdrop.addEventListener('click', function() {
mobileSidebar.classList.add('-translate-x-full');
backdrop.classList.add('hidden');
document.body.classList.remove('overflow-hidden');
});
});
</script>
</body>
</html>