okay good give me a link for these websites
Browse files- README.md +8 -5
- account.html +127 -0
- components/footer.js +133 -0
- components/navbar.js +86 -0
- index.html +165 -19
- script.js +92 -0
- services.html +91 -0
- style.css +25 -18
- support.html +109 -0
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: ParcelPath Pro Express π
|
| 3 |
+
colorFrom: purple
|
| 4 |
+
colorTo: gray
|
| 5 |
+
emoji: π³
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
account.html
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Account - ParcelPath Pro Express</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
</head>
|
| 11 |
+
<body class="bg-gray-100">
|
| 12 |
+
<custom-navbar></custom-navbar>
|
| 13 |
+
|
| 14 |
+
<main class="container mx-auto px-4 py-12">
|
| 15 |
+
<div class="max-w-4xl mx-auto bg-white rounded-xl shadow-md overflow-hidden">
|
| 16 |
+
<div class="p-8">
|
| 17 |
+
<div class="flex flex-col md:flex-row gap-8">
|
| 18 |
+
<div class="md:w-1/3">
|
| 19 |
+
<div class="text-center mb-6">
|
| 20 |
+
<div class="w-24 h-24 rounded-full bg-purple-100 mx-auto mb-4 flex items-center justify-center">
|
| 21 |
+
<i data-feather="user" class="text-purple-600 w-10 h-10"></i>
|
| 22 |
+
</div>
|
| 23 |
+
<h2 class="text-xl font-bold">Welcome, User!</h2>
|
| 24 |
+
<p class="text-gray-600">Premium Member</p>
|
| 25 |
+
</div>
|
| 26 |
+
|
| 27 |
+
<nav class="space-y-2">
|
| 28 |
+
<a href="#" class="block px-4 py-2 text-purple-600 bg-purple-50 rounded-lg font-medium">Dashboard</a>
|
| 29 |
+
<a href="#" class="block px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg">Shipping History</a>
|
| 30 |
+
<a href="#" class="block px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg">Payment Methods</a>
|
| 31 |
+
<a href="#" class="block px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg">Address Book</a>
|
| 32 |
+
<a href="#" class="block px-4 py-2 text-gray-600 hover:bg-gray-50 rounded-lg">Settings</a>
|
| 33 |
+
<a href="#" class="block px-4 py-2 text-red-600 hover:bg-red-50 rounded-lg">Logout</a>
|
| 34 |
+
</nav>
|
| 35 |
+
</div>
|
| 36 |
+
|
| 37 |
+
<div class="md:w-2/3">
|
| 38 |
+
<h1 class="text-2xl font-bold text-gray-800 mb-6">Account Dashboard</h1>
|
| 39 |
+
|
| 40 |
+
<div class="grid grid-cols-2 gap-4 mb-8">
|
| 41 |
+
<div class="bg-purple-50 p-4 rounded-lg">
|
| 42 |
+
<p class="text-sm text-purple-600 mb-1">Monthly Shipments</p>
|
| 43 |
+
<p class="text-2xl font-bold">24</p>
|
| 44 |
+
</div>
|
| 45 |
+
<div class="bg-blue-50 p-4 rounded-lg">
|
| 46 |
+
<p class="text-sm text-blue-600 mb-1">Loyalty Points</p>
|
| 47 |
+
<p class="text-2xl font-bold">1,250</p>
|
| 48 |
+
</div>
|
| 49 |
+
</div>
|
| 50 |
+
|
| 51 |
+
<div class="mb-8">
|
| 52 |
+
<h2 class="text-xl font-semibold mb-4">Recent Shipments</h2>
|
| 53 |
+
<div class="overflow-x-auto">
|
| 54 |
+
<table class="min-w-full bg-white">
|
| 55 |
+
<thead>
|
| 56 |
+
<tr class="bg-gray-50">
|
| 57 |
+
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Tracking #</th>
|
| 58 |
+
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th>
|
| 59 |
+
<th class="px-4 py-2 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Delivery</th>
|
| 60 |
+
</tr>
|
| 61 |
+
</thead>
|
| 62 |
+
<tbody class="divide-y divide-gray-200">
|
| 63 |
+
<tr>
|
| 64 |
+
<td class="px-4 py-3 whitespace-nowrap text-sm font-medium text-purple-600">PP1234567890</td>
|
| 65 |
+
<td class="px-4 py-3 whitespace-nowrap text-sm text-green-600">Delivered</td>
|
| 66 |
+
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-500">May 15, 2023</td>
|
| 67 |
+
</tr>
|
| 68 |
+
<tr>
|
| 69 |
+
<td class="px-4 py-3 whitespace-nowrap text-sm font-medium text-purple-600">PP9876543210</td>
|
| 70 |
+
<td class="px-4 py-3 whitespace-nowrap text-sm text-blue-600">In Transit</td>
|
| 71 |
+
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-500">May 18, 2023</td>
|
| 72 |
+
</tr>
|
| 73 |
+
<tr>
|
| 74 |
+
<td class="px-4 py-3 whitespace-nowrap text-sm font-medium text-purple-600">PP4567891230</td>
|
| 75 |
+
<td class="px-4 py-3 whitespace-nowrap text-sm text-yellow-600">Processing</td>
|
| 76 |
+
<td class="px-4 py-3 whitespace-nowrap text-sm text-gray-500">May 20, 2023</td>
|
| 77 |
+
</tr>
|
| 78 |
+
</tbody>
|
| 79 |
+
</table>
|
| 80 |
+
</div>
|
| 81 |
+
</div>
|
| 82 |
+
|
| 83 |
+
<div>
|
| 84 |
+
<h2 class="text-xl font-semibold mb-4">Quick Actions</h2>
|
| 85 |
+
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4">
|
| 86 |
+
<a href="#" class="bg-gray-50 p-4 rounded-lg hover:bg-gray-100 transition flex items-center">
|
| 87 |
+
<div class="bg-purple-100 text-purple-600 p-2 rounded-full mr-4">
|
| 88 |
+
<i data-feather="plus"></i>
|
| 89 |
+
</div>
|
| 90 |
+
<span>Create New Shipment</span>
|
| 91 |
+
</a>
|
| 92 |
+
<a href="#" class="bg-gray-50 p-4 rounded-lg hover:bg-gray-100 transition flex items-center">
|
| 93 |
+
<div class="bg-blue-100 text-blue-600 p-2 rounded-full mr-4">
|
| 94 |
+
<i data-feather="repeat"></i>
|
| 95 |
+
</div>
|
| 96 |
+
<span>Schedule Pickup</span>
|
| 97 |
+
</a>
|
| 98 |
+
<a href="#" class="bg-gray-50 p-4 rounded-lg hover:bg-gray-100 transition flex items-center">
|
| 99 |
+
<div class="bg-green-100 text-green-600 p-2 rounded-full mr-4">
|
| 100 |
+
<i data-feather="dollar-sign"></i>
|
| 101 |
+
</div>
|
| 102 |
+
<span>View Shipping Rates</span>
|
| 103 |
+
</a>
|
| 104 |
+
<a href="#" class="bg-gray-50 p-4 rounded-lg hover:bg-gray-100 transition flex items-center">
|
| 105 |
+
<div class="bg-yellow-100 text-yellow-600 p-2 rounded-full mr-4">
|
| 106 |
+
<i data-feather="map-pin"></i>
|
| 107 |
+
</div>
|
| 108 |
+
<span>Find Locations</span>
|
| 109 |
+
</a>
|
| 110 |
+
</div>
|
| 111 |
+
</div>
|
| 112 |
+
</div>
|
| 113 |
+
</div>
|
| 114 |
+
</div>
|
| 115 |
+
</div>
|
| 116 |
+
</main>
|
| 117 |
+
|
| 118 |
+
<custom-footer></custom-footer>
|
| 119 |
+
|
| 120 |
+
<script src="components/navbar.js"></script>
|
| 121 |
+
<script src="components/footer.js"></script>
|
| 122 |
+
<script src="script.js"></script>
|
| 123 |
+
<script>
|
| 124 |
+
feather.replace();
|
| 125 |
+
</script>
|
| 126 |
+
</body>
|
| 127 |
+
</html>
|
components/footer.js
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
footer {
|
| 7 |
+
background: #1a202c;
|
| 8 |
+
color: white;
|
| 9 |
+
padding: 2.5rem 1rem;
|
| 10 |
+
text-align: center;
|
| 11 |
+
margin-top: auto;
|
| 12 |
+
}
|
| 13 |
+
.footer-content {
|
| 14 |
+
max-width: 1200px;
|
| 15 |
+
margin: 0 auto;
|
| 16 |
+
display: grid;
|
| 17 |
+
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
| 18 |
+
gap: 2rem;
|
| 19 |
+
text-align: left;
|
| 20 |
+
}
|
| 21 |
+
.footer-section h3 {
|
| 22 |
+
font-size: 1.125rem;
|
| 23 |
+
font-weight: 600;
|
| 24 |
+
margin-bottom: 1rem;
|
| 25 |
+
color: #a0aec0;
|
| 26 |
+
}
|
| 27 |
+
.footer-section ul {
|
| 28 |
+
list-style: none;
|
| 29 |
+
padding: 0;
|
| 30 |
+
margin: 0;
|
| 31 |
+
}
|
| 32 |
+
.footer-section li {
|
| 33 |
+
margin-bottom: 0.5rem;
|
| 34 |
+
}
|
| 35 |
+
.footer-section a {
|
| 36 |
+
color: #cbd5e0;
|
| 37 |
+
text-decoration: none;
|
| 38 |
+
transition: color 0.2s;
|
| 39 |
+
}
|
| 40 |
+
.footer-section a:hover {
|
| 41 |
+
color: white;
|
| 42 |
+
}
|
| 43 |
+
.footer-bottom {
|
| 44 |
+
margin-top: 2rem;
|
| 45 |
+
padding-top: 1.5rem;
|
| 46 |
+
border-top: 1px solid #2d3748;
|
| 47 |
+
font-size: 0.875rem;
|
| 48 |
+
color: #a0aec0;
|
| 49 |
+
}
|
| 50 |
+
.social-icons {
|
| 51 |
+
display: flex;
|
| 52 |
+
gap: 1rem;
|
| 53 |
+
justify-content: center;
|
| 54 |
+
margin-top: 1.5rem;
|
| 55 |
+
}
|
| 56 |
+
.social-icons a {
|
| 57 |
+
color: white;
|
| 58 |
+
background: rgba(255, 255, 255, 0.1);
|
| 59 |
+
width: 36px;
|
| 60 |
+
height: 36px;
|
| 61 |
+
border-radius: 50%;
|
| 62 |
+
display: flex;
|
| 63 |
+
align-items: center;
|
| 64 |
+
justify-content: center;
|
| 65 |
+
transition: background 0.2s;
|
| 66 |
+
}
|
| 67 |
+
.social-icons a:hover {
|
| 68 |
+
background: rgba(255, 255, 255, 0.2);
|
| 69 |
+
}
|
| 70 |
+
@media (max-width: 768px) {
|
| 71 |
+
.footer-content {
|
| 72 |
+
grid-template-columns: 1fr;
|
| 73 |
+
text-align: center;
|
| 74 |
+
}
|
| 75 |
+
.social-icons {
|
| 76 |
+
justify-content: center;
|
| 77 |
+
}
|
| 78 |
+
}
|
| 79 |
+
</style>
|
| 80 |
+
<footer>
|
| 81 |
+
<div class="footer-content">
|
| 82 |
+
<div class="footer-section">
|
| 83 |
+
<h3>Shipping</h3>
|
| 84 |
+
<ul>
|
| 85 |
+
<li><a href="#">Ship a Package</a></li>
|
| 86 |
+
<li><a href="#">Get Shipping Rates</a></li>
|
| 87 |
+
<li><a href="#">Schedule a Pickup</a></li>
|
| 88 |
+
<li><a href="#">Find Locations</a></li>
|
| 89 |
+
</ul>
|
| 90 |
+
</div>
|
| 91 |
+
<div class="footer-section">
|
| 92 |
+
<h3>Tracking</h3>
|
| 93 |
+
<ul>
|
| 94 |
+
<li><a href="#">Track Shipment</a></li>
|
| 95 |
+
<li><a href="#">Tracking Help</a></li>
|
| 96 |
+
<li><a href="#">Manage Delivery</a></li>
|
| 97 |
+
<li><a href="#">FedEx Delivery Manager</a></li>
|
| 98 |
+
</ul>
|
| 99 |
+
</div>
|
| 100 |
+
<div class="footer-section">
|
| 101 |
+
<h3>Support</h3>
|
| 102 |
+
<ul>
|
| 103 |
+
<li><a href="#">Customer Service</a></li>
|
| 104 |
+
<li><a href="#">Shipping Support</a></li>
|
| 105 |
+
<li><a href="#">Contact Us</a></li>
|
| 106 |
+
<li><a href="#">File a Claim</a></li>
|
| 107 |
+
</ul>
|
| 108 |
+
</div>
|
| 109 |
+
<div class="footer-section">
|
| 110 |
+
<h3>Company</h3>
|
| 111 |
+
<ul>
|
| 112 |
+
<li><a href="#">About FedEx</a></li>
|
| 113 |
+
<li><a href="#">Careers</a></li>
|
| 114 |
+
<li><a href="#">Investors</a></li>
|
| 115 |
+
<li><a href="#">Newsroom</a></li>
|
| 116 |
+
</ul>
|
| 117 |
+
</div>
|
| 118 |
+
</div>
|
| 119 |
+
<div class="social-icons">
|
| 120 |
+
<a href="#"><i data-feather="facebook"></i></a>
|
| 121 |
+
<a href="#"><i data-feather="twitter"></i></a>
|
| 122 |
+
<a href="#"><i data-feather="instagram"></i></a>
|
| 123 |
+
<a href="#"><i data-feather="linkedin"></i></a>
|
| 124 |
+
<a href="#"><i data-feather="youtube"></i></a>
|
| 125 |
+
</div>
|
| 126 |
+
<div class="footer-bottom">
|
| 127 |
+
<p>© 2023 FedEx TrackMaster Express. All rights reserved.</p>
|
| 128 |
+
</div>
|
| 129 |
+
</footer>
|
| 130 |
+
`;
|
| 131 |
+
}
|
| 132 |
+
}
|
| 133 |
+
customElements.define('custom-footer', CustomFooter);
|
components/navbar.js
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
nav {
|
| 7 |
+
background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
|
| 8 |
+
padding: 1rem 2rem;
|
| 9 |
+
display: flex;
|
| 10 |
+
justify-content: space-between;
|
| 11 |
+
align-items: center;
|
| 12 |
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
| 13 |
+
position: relative;
|
| 14 |
+
z-index: 50;
|
| 15 |
+
}
|
| 16 |
+
.logo-container {
|
| 17 |
+
display: flex;
|
| 18 |
+
align-items: center;
|
| 19 |
+
}
|
| 20 |
+
.logo {
|
| 21 |
+
color: white;
|
| 22 |
+
font-weight: bold;
|
| 23 |
+
font-size: 1.5rem;
|
| 24 |
+
margin-right: 0.5rem;
|
| 25 |
+
}
|
| 26 |
+
.logo-icon {
|
| 27 |
+
margin-right: 0.75rem;
|
| 28 |
+
}
|
| 29 |
+
.nav-links {
|
| 30 |
+
display: flex;
|
| 31 |
+
gap: 1.5rem;
|
| 32 |
+
list-style: none;
|
| 33 |
+
margin: 0;
|
| 34 |
+
padding: 0;
|
| 35 |
+
}
|
| 36 |
+
.nav-link {
|
| 37 |
+
color: white;
|
| 38 |
+
text-decoration: none;
|
| 39 |
+
font-weight: 500;
|
| 40 |
+
padding: 0.5rem 0;
|
| 41 |
+
position: relative;
|
| 42 |
+
}
|
| 43 |
+
.nav-link:hover {
|
| 44 |
+
opacity: 0.9;
|
| 45 |
+
}
|
| 46 |
+
.nav-link::after {
|
| 47 |
+
content: '';
|
| 48 |
+
position: absolute;
|
| 49 |
+
bottom: 0;
|
| 50 |
+
left: 0;
|
| 51 |
+
width: 0;
|
| 52 |
+
height: 2px;
|
| 53 |
+
background-color: white;
|
| 54 |
+
transition: width 0.3s ease;
|
| 55 |
+
}
|
| 56 |
+
.nav-link:hover::after {
|
| 57 |
+
width: 100%;
|
| 58 |
+
}
|
| 59 |
+
@media (max-width: 768px) {
|
| 60 |
+
nav {
|
| 61 |
+
flex-direction: column;
|
| 62 |
+
padding: 1rem;
|
| 63 |
+
}
|
| 64 |
+
.nav-links {
|
| 65 |
+
margin-top: 1rem;
|
| 66 |
+
flex-direction: column;
|
| 67 |
+
gap: 0.5rem;
|
| 68 |
+
}
|
| 69 |
+
}
|
| 70 |
+
</style>
|
| 71 |
+
<nav>
|
| 72 |
+
<div class="logo-container">
|
| 73 |
+
<i data-feather="truck" class="logo-icon text-white"></i>
|
| 74 |
+
<span class="logo">FedEx TrackMaster</span>
|
| 75 |
+
</div>
|
| 76 |
+
<ul class="nav-links">
|
| 77 |
+
<li><a href="index.html" class="nav-link">Track Shipment</a></li>
|
| 78 |
+
<li><a href="#" class="nav-link">Services</a></li>
|
| 79 |
+
<li><a href="#" class="nav-link">Support</a></li>
|
| 80 |
+
<li><a href="#" class="nav-link">Account</a></li>
|
| 81 |
+
</ul>
|
| 82 |
+
</nav>
|
| 83 |
+
`;
|
| 84 |
+
}
|
| 85 |
+
}
|
| 86 |
+
customElements.define('custom-navbar', CustomNavbar);
|
index.html
CHANGED
|
@@ -1,19 +1,165 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>FedEx TrackMaster Express</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 11 |
+
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
|
| 12 |
+
</head>
|
| 13 |
+
<body class="bg-gray-100">
|
| 14 |
+
<custom-navbar></custom-navbar>
|
| 15 |
+
|
| 16 |
+
<main class="container mx-auto px-4 py-8">
|
| 17 |
+
<div class="max-w-4xl mx-auto bg-white rounded-xl shadow-md overflow-hidden">
|
| 18 |
+
<div class="p-8">
|
| 19 |
+
<div class="flex items-center justify-between mb-8">
|
| 20 |
+
<h1 class="text-3xl font-bold text-gray-800">Track Your Shipment</h1>
|
| 21 |
+
<div class="bg-purple-600 text-white p-3 rounded-full">
|
| 22 |
+
<i data-feather="package"></i>
|
| 23 |
+
</div>
|
| 24 |
+
</div>
|
| 25 |
+
|
| 26 |
+
<div class="mb-8">
|
| 27 |
+
<div class="relative">
|
| 28 |
+
<input type="text" id="trackingNumber" placeholder="Enter tracking number"
|
| 29 |
+
class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-600 focus:border-transparent">
|
| 30 |
+
<button id="trackButton"
|
| 31 |
+
class="absolute right-2 top-1/2 transform -translate-y-1/2 bg-purple-600 text-white px-4 py-2 rounded-lg hover:bg-purple-700 transition">
|
| 32 |
+
Track
|
| 33 |
+
</button>
|
| 34 |
+
</div>
|
| 35 |
+
</div>
|
| 36 |
+
|
| 37 |
+
<div class="flex justify-center mb-8">
|
| 38 |
+
<button id="generateButton"
|
| 39 |
+
class="bg-green-600 text-white px-6 py-3 rounded-lg hover:bg-green-700 transition flex items-center">
|
| 40 |
+
<i data-feather="plus" class="mr-2"></i> Generate Tracking Number
|
| 41 |
+
</button>
|
| 42 |
+
</div>
|
| 43 |
+
|
| 44 |
+
<div id="trackingResults" class="hidden bg-gray-50 p-6 rounded-lg">
|
| 45 |
+
<div class="flex items-center mb-4">
|
| 46 |
+
<i data-feather="package" class="text-purple-600 mr-2"></i>
|
| 47 |
+
<h2 class="text-xl font-semibold">Shipment Details</h2>
|
| 48 |
+
</div>
|
| 49 |
+
|
| 50 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 51 |
+
<div>
|
| 52 |
+
<h3 class="font-medium text-gray-700 mb-2">Tracking Number</h3>
|
| 53 |
+
<p id="trackingNumDisplay" class="text-gray-900 font-mono">123456789012</p>
|
| 54 |
+
</div>
|
| 55 |
+
<div>
|
| 56 |
+
<h3 class="font-medium text-gray-700 mb-2">Status</h3>
|
| 57 |
+
<p id="shipmentStatus" class="text-green-600 font-medium">In Transit</p>
|
| 58 |
+
</div>
|
| 59 |
+
<div>
|
| 60 |
+
<h3 class="font-medium text-gray-700 mb-2">Origin</h3>
|
| 61 |
+
<p id="shipmentOrigin" class="text-gray-900">New York, NY</p>
|
| 62 |
+
</div>
|
| 63 |
+
<div>
|
| 64 |
+
<h3 class="font-medium text-gray-700 mb-2">Destination</h3>
|
| 65 |
+
<p id="shipmentDestination" class="text-gray-900">Los Angeles, CA</p>
|
| 66 |
+
</div>
|
| 67 |
+
<div>
|
| 68 |
+
<h3 class="font-medium text-gray-700 mb-2">Estimated Delivery</h3>
|
| 69 |
+
<p id="shipmentDelivery" class="text-gray-900">May 15, 2023</p>
|
| 70 |
+
</div>
|
| 71 |
+
<div>
|
| 72 |
+
<h3 class="font-medium text-gray-700 mb-2">Weight</h3>
|
| 73 |
+
<p id="shipmentWeight" class="text-gray-900">5.2 lbs</p>
|
| 74 |
+
</div>
|
| 75 |
+
</div>
|
| 76 |
+
|
| 77 |
+
<div class="mt-8">
|
| 78 |
+
<h3 class="font-medium text-gray-700 mb-4">Shipment Progress</h3>
|
| 79 |
+
<div class="space-y-4">
|
| 80 |
+
<div class="flex items-start">
|
| 81 |
+
<div class="bg-green-500 rounded-full p-1.5 mt-1 mr-3">
|
| 82 |
+
<i data-feather="check" class="text-white w-3 h-3"></i>
|
| 83 |
+
</div>
|
| 84 |
+
<div>
|
| 85 |
+
<p class="font-medium">Package picked up</p>
|
| 86 |
+
<p class="text-sm text-gray-500">May 10, 2023 - 9:30 AM</p>
|
| 87 |
+
</div>
|
| 88 |
+
</div>
|
| 89 |
+
<div class="flex items-start">
|
| 90 |
+
<div class="bg-green-500 rounded-full p-1.5 mt-1 mr-3">
|
| 91 |
+
<i data-feather="check" class="text-white w-3 h-3"></i>
|
| 92 |
+
</div>
|
| 93 |
+
<div>
|
| 94 |
+
<p class="font-medium">In transit</p>
|
| 95 |
+
<p class="text-sm text-gray-500">May 11, 2023 - 2:15 PM</p>
|
| 96 |
+
</div>
|
| 97 |
+
</div>
|
| 98 |
+
<div class="flex items-start">
|
| 99 |
+
<div class="bg-gray-300 rounded-full p-1.5 mt-1 mr-3">
|
| 100 |
+
<i data-feather="circle" class="text-white w-3 h-3"></i>
|
| 101 |
+
</div>
|
| 102 |
+
<div>
|
| 103 |
+
<p class="font-medium">Out for delivery</p>
|
| 104 |
+
<p class="text-sm text-gray-500">Estimated: May 15, 2023</p>
|
| 105 |
+
</div>
|
| 106 |
+
</div>
|
| 107 |
+
<div class="flex items-start">
|
| 108 |
+
<div class="bg-gray-300 rounded-full p-1.5 mt-1 mr-3">
|
| 109 |
+
<i data-feather="circle" class="text-white w-3 h-3"></i>
|
| 110 |
+
</div>
|
| 111 |
+
<div>
|
| 112 |
+
<p class="font-medium">Delivered</p>
|
| 113 |
+
<p class="text-sm text-gray-500">Estimated: May 15, 2023</p>
|
| 114 |
+
</div>
|
| 115 |
+
</div>
|
| 116 |
+
</div>
|
| 117 |
+
</div>
|
| 118 |
+
</div>
|
| 119 |
+
|
| 120 |
+
<div id="generatedNumber" class="hidden bg-gray-50 p-6 rounded-lg mt-6">
|
| 121 |
+
<div class="flex items-center mb-4">
|
| 122 |
+
<i data-feather="truck" class="text-green-600 mr-2"></i>
|
| 123 |
+
<h2 class="text-xl font-semibold">New Tracking Number Generated</h2>
|
| 124 |
+
</div>
|
| 125 |
+
<div>
|
| 126 |
+
<p class="text-gray-700 mb-2">Your new FedEx tracking number is:</p>
|
| 127 |
+
<div class="flex items-center">
|
| 128 |
+
<p id="newTrackingNumber" class="text-2xl font-bold text-purple-600 mr-4">123456789012</p>
|
| 129 |
+
<button id="copyButton" class="text-gray-500 hover:text-purple-600">
|
| 130 |
+
<i data-feather="copy"></i>
|
| 131 |
+
</button>
|
| 132 |
+
</div>
|
| 133 |
+
<p class="text-sm text-gray-500 mt-2">Use this number to track your shipment.</p>
|
| 134 |
+
</div>
|
| 135 |
+
</div>
|
| 136 |
+
</div>
|
| 137 |
+
</div>
|
| 138 |
+
</main>
|
| 139 |
+
|
| 140 |
+
<custom-footer></custom-footer>
|
| 141 |
+
|
| 142 |
+
<script src="components/navbar.js"></script>
|
| 143 |
+
<script src="components/footer.js"></script>
|
| 144 |
+
<script src="script.js"></script>
|
| 145 |
+
<script>
|
| 146 |
+
feather.replace();
|
| 147 |
+
VANTA.NET({
|
| 148 |
+
el: "body",
|
| 149 |
+
mouseControls: true,
|
| 150 |
+
touchControls: true,
|
| 151 |
+
gyroControls: false,
|
| 152 |
+
minHeight: 200.00,
|
| 153 |
+
minWidth: 200.00,
|
| 154 |
+
scale: 1.00,
|
| 155 |
+
scaleMobile: 1.00,
|
| 156 |
+
color: 0x7a22b5,
|
| 157 |
+
backgroundColor: 0xf1f5f9,
|
| 158 |
+
points: 12.00,
|
| 159 |
+
maxDistance: 22.00,
|
| 160 |
+
spacing: 17.00
|
| 161 |
+
});
|
| 162 |
+
</script>
|
| 163 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 164 |
+
</body>
|
| 165 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 2 |
+
// DOM Elements
|
| 3 |
+
const trackButton = document.getElementById('trackButton');
|
| 4 |
+
const generateButton = document.getElementById('generateButton');
|
| 5 |
+
const trackingNumberInput = document.getElementById('trackingNumber');
|
| 6 |
+
const trackingResults = document.getElementById('trackingResults');
|
| 7 |
+
const generatedNumber = document.getElementById('generatedNumber');
|
| 8 |
+
const newTrackingNumber = document.getElementById('newTrackingNumber');
|
| 9 |
+
const copyButton = document.getElementById('copyButton');
|
| 10 |
+
|
| 11 |
+
// Sample tracking data
|
| 12 |
+
const sampleTrackingData = {
|
| 13 |
+
number: '123456789012',
|
| 14 |
+
status: 'In Transit',
|
| 15 |
+
origin: 'New York, NY',
|
| 16 |
+
destination: 'Los Angeles, CA',
|
| 17 |
+
delivery: 'May 15, 2023',
|
| 18 |
+
weight: '5.2 lbs'
|
| 19 |
+
};
|
| 20 |
+
|
| 21 |
+
// Generate random tracking number
|
| 22 |
+
function generateTrackingNumber() {
|
| 23 |
+
let number = '';
|
| 24 |
+
for (let i = 0; i < 12; i++) {
|
| 25 |
+
number += Math.floor(Math.random() * 10);
|
| 26 |
+
}
|
| 27 |
+
return number;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
// Track shipment
|
| 31 |
+
trackButton.addEventListener('click', function() {
|
| 32 |
+
const trackingNum = trackingNumberInput.value.trim();
|
| 33 |
+
|
| 34 |
+
if (!trackingNum) {
|
| 35 |
+
alert('Please enter a tracking number');
|
| 36 |
+
return;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
// Validate format (12 digits)
|
| 40 |
+
if (!/^\d{12}$/.test(trackingNum)) {
|
| 41 |
+
alert('Invalid tracking number format. Please enter 12 digits.');
|
| 42 |
+
return;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
// Hide generate section if visible
|
| 46 |
+
generatedNumber.classList.add('hidden');
|
| 47 |
+
|
| 48 |
+
// Show tracking results with sample data
|
| 49 |
+
document.getElementById('trackingNumDisplay').textContent = trackingNum;
|
| 50 |
+
document.getElementById('shipmentStatus').textContent = sampleTrackingData.status;
|
| 51 |
+
document.getElementById('shipmentOrigin').textContent = sampleTrackingData.origin;
|
| 52 |
+
document.getElementById('shipmentDestination').textContent = sampleTrackingData.destination;
|
| 53 |
+
document.getElementById('shipmentDelivery').textContent = sampleTrackingData.delivery;
|
| 54 |
+
document.getElementById('shipmentWeight').textContent = sampleTrackingData.weight;
|
| 55 |
+
|
| 56 |
+
trackingResults.classList.remove('hidden');
|
| 57 |
+
});
|
| 58 |
+
|
| 59 |
+
// Generate tracking number
|
| 60 |
+
generateButton.addEventListener('click', function() {
|
| 61 |
+
// Hide tracking results if visible
|
| 62 |
+
trackingResults.classList.add('hidden');
|
| 63 |
+
|
| 64 |
+
// Generate and display new number
|
| 65 |
+
const newNum = generateTrackingNumber();
|
| 66 |
+
newTrackingNumber.textContent = newNum;
|
| 67 |
+
generatedNumber.classList.remove('hidden');
|
| 68 |
+
});
|
| 69 |
+
|
| 70 |
+
// Copy tracking number
|
| 71 |
+
copyButton.addEventListener('click', function() {
|
| 72 |
+
const numToCopy = newTrackingNumber.textContent;
|
| 73 |
+
navigator.clipboard.writeText(numToCopy).then(() => {
|
| 74 |
+
// Change icon temporarily to indicate success
|
| 75 |
+
const icon = copyButton.querySelector('svg');
|
| 76 |
+
icon.setAttribute('data-feather', 'check');
|
| 77 |
+
feather.replace();
|
| 78 |
+
|
| 79 |
+
setTimeout(() => {
|
| 80 |
+
icon.setAttribute('data-feather', 'copy');
|
| 81 |
+
feather.replace();
|
| 82 |
+
}, 2000);
|
| 83 |
+
});
|
| 84 |
+
});
|
| 85 |
+
|
| 86 |
+
// Allow pressing Enter in tracking input
|
| 87 |
+
trackingNumberInput.addEventListener('keypress', function(e) {
|
| 88 |
+
if (e.key === 'Enter') {
|
| 89 |
+
trackButton.click();
|
| 90 |
+
}
|
| 91 |
+
});
|
| 92 |
+
});
|
services.html
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Services - ParcelPath Pro Express</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
</head>
|
| 11 |
+
<body class="bg-gray-100">
|
| 12 |
+
<custom-navbar></custom-navbar>
|
| 13 |
+
|
| 14 |
+
<main class="container mx-auto px-4 py-12">
|
| 15 |
+
<div class="max-w-5xl mx-auto">
|
| 16 |
+
<h1 class="text-4xl font-bold text-center text-gray-800 mb-12">Our Shipping Services</h1>
|
| 17 |
+
|
| 18 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
| 19 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
|
| 20 |
+
<div class="p-6">
|
| 21 |
+
<div class="bg-purple-100 text-purple-600 p-4 rounded-full w-16 h-16 flex items-center justify-center mb-4">
|
| 22 |
+
<i data-feather="clock"></i>
|
| 23 |
+
</div>
|
| 24 |
+
<h3 class="text-xl font-semibold mb-2">Express Delivery</h3>
|
| 25 |
+
<p class="text-gray-600">Guaranteed next-day or 2-day delivery for time-sensitive packages.</p>
|
| 26 |
+
</div>
|
| 27 |
+
</div>
|
| 28 |
+
|
| 29 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
|
| 30 |
+
<div class="p-6">
|
| 31 |
+
<div class="bg-blue-100 text-blue-600 p-4 rounded-full w-16 h-16 flex items-center justify-center mb-4">
|
| 32 |
+
<i data-feather="globe"></i>
|
| 33 |
+
</div>
|
| 34 |
+
<h3 class="text-xl font-semibold mb-2">International Shipping</h3>
|
| 35 |
+
<p class="text-gray-600">Reliable global delivery with customs clearance and tracking.</p>
|
| 36 |
+
</div>
|
| 37 |
+
</div>
|
| 38 |
+
|
| 39 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
|
| 40 |
+
<div class="p-6">
|
| 41 |
+
<div class="bg-green-100 text-green-600 p-4 rounded-full w-16 h-16 flex items-center justify-center mb-4">
|
| 42 |
+
<i data-feather="box"></i>
|
| 43 |
+
</div>
|
| 44 |
+
<h3 class="text-xl font-semibold mb-2">Freight Services</h3>
|
| 45 |
+
<p class="text-gray-600">Heavy and oversized shipments handled with care and precision.</p>
|
| 46 |
+
</div>
|
| 47 |
+
</div>
|
| 48 |
+
|
| 49 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
|
| 50 |
+
<div class="p-6">
|
| 51 |
+
<div class="bg-yellow-100 text-yellow-600 p-4 rounded-full w-16 h-16 flex items-center justify-center mb-4">
|
| 52 |
+
<i data-feather="shield"></i>
|
| 53 |
+
</div>
|
| 54 |
+
<h3 class="text-xl font-semibold mb-2">Secure Shipping</h3>
|
| 55 |
+
<p class="text-gray-600">Tamper-evident packaging and signature required delivery.</p>
|
| 56 |
+
</div>
|
| 57 |
+
</div>
|
| 58 |
+
|
| 59 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
|
| 60 |
+
<div class="p-6">
|
| 61 |
+
<div class="bg-red-100 text-red-600 p-4 rounded-full w-16 h-16 flex items-center justify-center mb-4">
|
| 62 |
+
<i data-feather="thermometer"></i>
|
| 63 |
+
</div>
|
| 64 |
+
<h3 class="text-xl font-semibold mb-2">Temperature Control</h3>
|
| 65 |
+
<p class="text-gray-600">Climate-controlled shipping for perishable and sensitive items.</p>
|
| 66 |
+
</div>
|
| 67 |
+
</div>
|
| 68 |
+
|
| 69 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden hover:shadow-lg transition">
|
| 70 |
+
<div class="p-6">
|
| 71 |
+
<div class="bg-indigo-100 text-indigo-600 p-4 rounded-full w-16 h-16 flex items-center justify-center mb-4">
|
| 72 |
+
<i data-feather="repeat"></i>
|
| 73 |
+
</div>
|
| 74 |
+
<h3 class="text-xl font-semibold mb-2">Returns Management</h3>
|
| 75 |
+
<p class="text-gray-600">Easy return shipping solutions for businesses and consumers.</p>
|
| 76 |
+
</div>
|
| 77 |
+
</div>
|
| 78 |
+
</div>
|
| 79 |
+
</div>
|
| 80 |
+
</main>
|
| 81 |
+
|
| 82 |
+
<custom-footer></custom-footer>
|
| 83 |
+
|
| 84 |
+
<script src="components/navbar.js"></script>
|
| 85 |
+
<script src="components/footer.js"></script>
|
| 86 |
+
<script src="script.js"></script>
|
| 87 |
+
<script>
|
| 88 |
+
feather.replace();
|
| 89 |
+
</script>
|
| 90 |
+
</body>
|
| 91 |
+
</html>
|
style.css
CHANGED
|
@@ -1,28 +1,35 @@
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
font-size: 15px;
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Shared styles across all pages */
|
| 2 |
body {
|
| 3 |
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
| 4 |
+
min-height: 100vh;
|
| 5 |
+
display: flex;
|
| 6 |
+
flex-direction: column;
|
| 7 |
}
|
| 8 |
|
| 9 |
+
/* Animation for tracking results */
|
| 10 |
+
@keyframes fadeIn {
|
| 11 |
+
from { opacity: 0; transform: translateY(20px); }
|
| 12 |
+
to { opacity: 1; transform: translateY(0); }
|
| 13 |
}
|
| 14 |
|
| 15 |
+
#trackingResults, #generatedNumber {
|
| 16 |
+
animation: fadeIn 0.5s ease-out forwards;
|
|
|
|
|
|
|
|
|
|
| 17 |
}
|
| 18 |
|
| 19 |
+
/* Custom scrollbar */
|
| 20 |
+
::-webkit-scrollbar {
|
| 21 |
+
width: 8px;
|
|
|
|
|
|
|
|
|
|
| 22 |
}
|
| 23 |
|
| 24 |
+
::-webkit-scrollbar-track {
|
| 25 |
+
background: #f1f1f1;
|
| 26 |
}
|
| 27 |
+
|
| 28 |
+
::-webkit-scrollbar-thumb {
|
| 29 |
+
background: #8b5cf6;
|
| 30 |
+
border-radius: 4px;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
::-webkit-scrollbar-thumb:hover {
|
| 34 |
+
background: #7c3aed;
|
| 35 |
+
}
|
support.html
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Support - ParcelPath Pro Express</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
</head>
|
| 11 |
+
<body class="bg-gray-100">
|
| 12 |
+
<custom-navbar></custom-navbar>
|
| 13 |
+
|
| 14 |
+
<main class="container mx-auto px-4 py-12">
|
| 15 |
+
<div class="max-w-4xl mx-auto bg-white rounded-xl shadow-md overflow-hidden">
|
| 16 |
+
<div class="p-8">
|
| 17 |
+
<h1 class="text-3xl font-bold text-gray-800 mb-8">Customer Support</h1>
|
| 18 |
+
|
| 19 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 mb-12">
|
| 20 |
+
<div class="bg-gray-50 p-6 rounded-lg">
|
| 21 |
+
<div class="flex items-center mb-4">
|
| 22 |
+
<div class="bg-purple-600 text-white p-2 rounded-full mr-4">
|
| 23 |
+
<i data-feather="phone"></i>
|
| 24 |
+
</div>
|
| 25 |
+
<h3 class="text-xl font-semibold">Phone Support</h3>
|
| 26 |
+
</div>
|
| 27 |
+
<p class="text-gray-600 mb-4">Available 24/7 for urgent shipping inquiries.</p>
|
| 28 |
+
<p class="text-purple-600 font-medium">1-800-PARCELPP</p>
|
| 29 |
+
</div>
|
| 30 |
+
|
| 31 |
+
<div class="bg-gray-50 p-6 rounded-lg">
|
| 32 |
+
<div class="flex items-center mb-4">
|
| 33 |
+
<div class="bg-blue-600 text-white p-2 rounded-full mr-4">
|
| 34 |
+
<i data-feather="mail"></i>
|
| 35 |
+
</div>
|
| 36 |
+
<h3 class="text-xl font-semibold">Email Support</h3>
|
| 37 |
+
</div>
|
| 38 |
+
<p class="text-gray-600 mb-4">Response within 2 business hours.</p>
|
| 39 |
+
<p class="text-blue-600 font-medium">support@parcelpathpro.com</p>
|
| 40 |
+
</div>
|
| 41 |
+
</div>
|
| 42 |
+
|
| 43 |
+
<div class="mb-12">
|
| 44 |
+
<h2 class="text-2xl font-bold text-gray-800 mb-6">Frequently Asked Questions</h2>
|
| 45 |
+
|
| 46 |
+
<div class="space-y-4">
|
| 47 |
+
<details class="bg-gray-50 p-4 rounded-lg cursor-pointer">
|
| 48 |
+
<summary class="font-medium">How do I track my package?</summary>
|
| 49 |
+
<p class="mt-2 text-gray-600">You can track your package using the tracking number provided in your shipping confirmation email. Simply enter the number on our tracking page.</p>
|
| 50 |
+
</details>
|
| 51 |
+
|
| 52 |
+
<details class="bg-gray-50 p-4 rounded-lg cursor-pointer">
|
| 53 |
+
<summary class="font-medium">What are your shipping rates?</summary>
|
| 54 |
+
<p class="mt-2 text-gray-600">Shipping rates vary based on package size, weight, destination, and service level. Use our online calculator for exact rates.</p>
|
| 55 |
+
</details>
|
| 56 |
+
|
| 57 |
+
<details class="bg-gray-50 p-4 rounded-lg cursor-pointer">
|
| 58 |
+
<summary class="font-medium">How do I schedule a pickup?</summary>
|
| 59 |
+
<p class="mt-2 text-gray-600">Log in to your account and use the Schedule Pickup feature. Pickups can be scheduled for the next business day.</p>
|
| 60 |
+
</details>
|
| 61 |
+
|
| 62 |
+
<details class="bg-gray-50 p-4 rounded-lg cursor-pointer">
|
| 63 |
+
<summary class="font-medium">What is your refund policy?</summary>
|
| 64 |
+
<p class="mt-2 text-gray-600">Refunds are available for service failures. Please contact support within 30 days of shipment for refund requests.</p>
|
| 65 |
+
</details>
|
| 66 |
+
</div>
|
| 67 |
+
</div>
|
| 68 |
+
|
| 69 |
+
<div>
|
| 70 |
+
<h2 class="text-2xl font-bold text-gray-800 mb-6">Contact Form</h2>
|
| 71 |
+
<form class="space-y-4">
|
| 72 |
+
<div>
|
| 73 |
+
<label for="name" class="block text-gray-700 mb-1">Full Name</label>
|
| 74 |
+
<input type="text" id="name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-600 focus:border-transparent">
|
| 75 |
+
</div>
|
| 76 |
+
<div>
|
| 77 |
+
<label for="email" class="block text-gray-700 mb-1">Email Address</label>
|
| 78 |
+
<input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-600 focus:border-transparent">
|
| 79 |
+
</div>
|
| 80 |
+
<div>
|
| 81 |
+
<label for="subject" class="block text-gray-700 mb-1">Subject</label>
|
| 82 |
+
<select id="subject" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-600 focus:border-transparent">
|
| 83 |
+
<option>Shipping Inquiry</option>
|
| 84 |
+
<option>Billing Question</option>
|
| 85 |
+
<option>Technical Support</option>
|
| 86 |
+
<option>Other</option>
|
| 87 |
+
</select>
|
| 88 |
+
</div>
|
| 89 |
+
<div>
|
| 90 |
+
<label for="message" class="block text-gray-700 mb-1">Message</label>
|
| 91 |
+
<textarea id="message" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-purple-600 focus:border-transparent"></textarea>
|
| 92 |
+
</div>
|
| 93 |
+
<button type="submit" class="bg-purple-600 text-white px-6 py-3 rounded-lg hover:bg-purple-700 transition">Send Message</button>
|
| 94 |
+
</form>
|
| 95 |
+
</div>
|
| 96 |
+
</div>
|
| 97 |
+
</div>
|
| 98 |
+
</main>
|
| 99 |
+
|
| 100 |
+
<custom-footer></custom-footer>
|
| 101 |
+
|
| 102 |
+
<script src="components/navbar.js"></script>
|
| 103 |
+
<script src="components/footer.js"></script>
|
| 104 |
+
<script src="script.js"></script>
|
| 105 |
+
<script>
|
| 106 |
+
feather.replace();
|
| 107 |
+
</script>
|
| 108 |
+
</body>
|
| 109 |
+
</html>
|