Please make sure that the web interface is very easy to use and not complicated at all we want our staff to be able to function very easily and make things flow
Browse files- components/footer.js +7 -17
- components/navbar.js +6 -7
- index.html +10 -10
- style.css +11 -9
components/footer.js
CHANGED
|
@@ -71,28 +71,18 @@ class CustomFooter extends HTMLElement {
|
|
| 71 |
<footer>
|
| 72 |
<div class="footer-content">
|
| 73 |
<div class="footer-section">
|
| 74 |
-
<h3>
|
| 75 |
-
<p>
|
| 76 |
</div>
|
| 77 |
<div class="footer-section">
|
| 78 |
-
<h3>
|
| 79 |
<ul>
|
| 80 |
-
<li><a href="#">
|
| 81 |
-
<li><a href="#">
|
| 82 |
-
<li><a href="#">
|
| 83 |
-
<li><a href="#">Community</a></li>
|
| 84 |
</ul>
|
| 85 |
</div>
|
| 86 |
-
|
| 87 |
-
<h3>Company</h3>
|
| 88 |
-
<ul>
|
| 89 |
-
<li><a href="#">About</a></li>
|
| 90 |
-
<li><a href="#">Careers</a></li>
|
| 91 |
-
<li><a href="#">Privacy</a></li>
|
| 92 |
-
<li><a href="#">Terms</a></li>
|
| 93 |
-
</ul>
|
| 94 |
-
</div>
|
| 95 |
-
</div>
|
| 96 |
<div class="social-links">
|
| 97 |
<a href="#"><i data-feather="twitter"></i></a>
|
| 98 |
<a href="#"><i data-feather="instagram"></i></a>
|
|
|
|
| 71 |
<footer>
|
| 72 |
<div class="footer-content">
|
| 73 |
<div class="footer-section">
|
| 74 |
+
<h3>Work Portal</h3>
|
| 75 |
+
<p>Simple interface for staff productivity</p>
|
| 76 |
</div>
|
| 77 |
<div class="footer-section">
|
| 78 |
+
<h3>Quick Links</h3>
|
| 79 |
<ul>
|
| 80 |
+
<li><a href="#">My Tasks</a></li>
|
| 81 |
+
<li><a href="#">Team Calendar</a></li>
|
| 82 |
+
<li><a href="#">Help Desk</a></li>
|
|
|
|
| 83 |
</ul>
|
| 84 |
</div>
|
| 85 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
<div class="social-links">
|
| 87 |
<a href="#"><i data-feather="twitter"></i></a>
|
| 88 |
<a href="#"><i data-feather="instagram"></i></a>
|
components/navbar.js
CHANGED
|
@@ -61,19 +61,18 @@ class CustomNavbar extends HTMLElement {
|
|
| 61 |
}
|
| 62 |
}
|
| 63 |
</style>
|
| 64 |
-
|
| 65 |
<a href="/" class="logo">
|
| 66 |
-
<i data-feather="
|
| 67 |
-
<span>
|
| 68 |
</a>
|
| 69 |
<ul>
|
| 70 |
<li><a href="/" class="active"><i data-feather="home"></i> Home</a></li>
|
| 71 |
-
<li><a href="#"><i data-feather="
|
| 72 |
-
<li><a href="#"><i data-feather="
|
| 73 |
-
<li><a href="#"><i data-feather="user"></i> Account</a></li>
|
| 74 |
</ul>
|
| 75 |
</nav>
|
| 76 |
-
|
| 77 |
}
|
| 78 |
}
|
| 79 |
customElements.define('custom-navbar', CustomNavbar);
|
|
|
|
| 61 |
}
|
| 62 |
}
|
| 63 |
</style>
|
| 64 |
+
<nav>
|
| 65 |
<a href="/" class="logo">
|
| 66 |
+
<i data-feather="briefcase" class="logo-icon"></i>
|
| 67 |
+
<span>Work Portal</span>
|
| 68 |
</a>
|
| 69 |
<ul>
|
| 70 |
<li><a href="/" class="active"><i data-feather="home"></i> Home</a></li>
|
| 71 |
+
<li><a href="#"><i data-feather="file"></i> Projects</a></li>
|
| 72 |
+
<li><a href="#"><i data-feather="calendar"></i> Schedule</a></li>
|
|
|
|
| 73 |
</ul>
|
| 74 |
</nav>
|
| 75 |
+
`;
|
| 76 |
}
|
| 77 |
}
|
| 78 |
customElements.define('custom-navbar', CustomNavbar);
|
index.html
CHANGED
|
@@ -15,20 +15,20 @@
|
|
| 15 |
|
| 16 |
<main class="flex-grow flex items-center justify-center" id="vanta-bg">
|
| 17 |
<div class="text-center p-8 bg-white bg-opacity-90 rounded-xl shadow-2xl max-w-2xl mx-4">
|
| 18 |
-
<h1 class="text-5xl font-bold mb-6 text-gray-800">
|
| 19 |
-
<
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
<div class="flex justify-center gap-4">
|
| 23 |
-
<a href="#" class="px-6 py-3 bg-black text-white rounded-lg hover:bg-gray-800 transition flex items-center gap-2">
|
| 24 |
-
<i data-feather="plus"></i> Create
|
| 25 |
</a>
|
| 26 |
-
<a href="#" class="px-6 py-3
|
| 27 |
-
<i data-feather="
|
|
|
|
|
|
|
|
|
|
| 28 |
</a>
|
| 29 |
</div>
|
| 30 |
</div>
|
| 31 |
-
|
| 32 |
|
| 33 |
<custom-footer></custom-footer>
|
| 34 |
|
|
|
|
| 15 |
|
| 16 |
<main class="flex-grow flex items-center justify-center" id="vanta-bg">
|
| 17 |
<div class="text-center p-8 bg-white bg-opacity-90 rounded-xl shadow-2xl max-w-2xl mx-4">
|
| 18 |
+
<h1 class="text-5xl font-bold mb-6 text-gray-800">Simple Dashboard</h1>
|
| 19 |
+
<div class="flex flex-col gap-3 max-w-xs mx-auto">
|
| 20 |
+
<a href="#" class="px-6 py-3 bg-black text-white rounded-lg hover:bg-gray-800 transition flex items-center justify-center gap-2">
|
| 21 |
+
<i data-feather="plus"></i> New Project
|
|
|
|
|
|
|
|
|
|
| 22 |
</a>
|
| 23 |
+
<a href="#" class="px-6 py-3 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition flex items-center justify-center gap-2">
|
| 24 |
+
<i data-feather="list"></i> View Projects
|
| 25 |
+
</a>
|
| 26 |
+
<a href="#" class="px-6 py-3 bg-green-600 text-white rounded-lg hover:bg-green-700 transition flex items-center justify-center gap-2">
|
| 27 |
+
<i data-feather="users"></i> Team Members
|
| 28 |
</a>
|
| 29 |
</div>
|
| 30 |
</div>
|
| 31 |
+
</main>
|
| 32 |
|
| 33 |
<custom-footer></custom-footer>
|
| 34 |
|
style.css
CHANGED
|
@@ -4,14 +4,16 @@ body {
|
|
| 4 |
font-family: 'Inter', sans-serif;
|
| 5 |
background-color: #f8fafc;
|
| 6 |
}
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
50% { transform: translateY(-15px); }
|
| 12 |
-
100% { transform: translateY(0px); }
|
| 13 |
}
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
font-family: 'Inter', sans-serif;
|
| 5 |
background-color: #f8fafc;
|
| 6 |
}
|
| 7 |
+
/* Simplified button styles */
|
| 8 |
+
a {
|
| 9 |
+
transition: all 0.2s ease;
|
| 10 |
+
font-weight: 500;
|
|
|
|
|
|
|
| 11 |
}
|
| 12 |
|
| 13 |
+
/* Larger click targets for mobile */
|
| 14 |
+
@media (max-width: 768px) {
|
| 15 |
+
a, button {
|
| 16 |
+
padding: 12px 16px !important;
|
| 17 |
+
font-size: 1.1rem !important;
|
| 18 |
+
}
|
| 19 |
+
}
|