Spaces:
Running
Running
fixou uma bosta
Browse files- components/footer.js +30 -0
- index.html +55 -1
- style.css +32 -18
components/footer.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
footer {
|
| 7 |
+
background: #f9fafb;
|
| 8 |
+
padding: 2rem 0;
|
| 9 |
+
border-top: 1px solid #e5e7eb;
|
| 10 |
+
}
|
| 11 |
+
.container {
|
| 12 |
+
max-width: 1200px;
|
| 13 |
+
margin: 0 auto;
|
| 14 |
+
padding: 0 1rem;
|
| 15 |
+
text-align: center;
|
| 16 |
+
}
|
| 17 |
+
p {
|
| 18 |
+
color: #6b7280;
|
| 19 |
+
font-size: 0.875rem;
|
| 20 |
+
}
|
| 21 |
+
</style>
|
| 22 |
+
<footer>
|
| 23 |
+
<div class="container">
|
| 24 |
+
<p>© 2025 CashFlow Wizard Pro. Todos os direitos reservados.</p>
|
| 25 |
+
</div>
|
| 26 |
+
</footer>
|
| 27 |
+
`;
|
| 28 |
+
}
|
| 29 |
+
}
|
| 30 |
+
customElements.define('custom-footer', CustomFooter);
|
index.html
CHANGED
|
@@ -197,5 +197,59 @@
|
|
| 197 |
</div>
|
| 198 |
</div>
|
| 199 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 200 |
</body>
|
| 201 |
-
</html>
|
|
|
|
| 197 |
</div>
|
| 198 |
</div>
|
| 199 |
</div>
|
| 200 |
+
</div>
|
| 201 |
+
</section>
|
| 202 |
+
</div>
|
| 203 |
+
|
| 204 |
+
<!-- Sidebar -->
|
| 205 |
+
<div class="w-full lg:w-1/3">
|
| 206 |
+
<div class="bg-white rounded-xl shadow-md p-6 mb-6">
|
| 207 |
+
<h2 class="text-xl font-semibold text-gray-700 mb-4">Quick Actions</h2>
|
| 208 |
+
<div class="space-y-3">
|
| 209 |
+
<a href="#" class="block p-3 border border-gray-200 rounded-lg hover:bg-gray-50 transition">
|
| 210 |
+
<div class="flex items-center">
|
| 211 |
+
<i data-feather="dollar-sign" class="text-primary-500"></i>
|
| 212 |
+
<span class="ml-2">Generate Report</span>
|
| 213 |
+
</div>
|
| 214 |
+
</a>
|
| 215 |
+
<a href="#" class="block p-3 border border-gray-200 rounded-lg hover:bg-gray-50 transition">
|
| 216 |
+
<div class="flex items-center">
|
| 217 |
+
<i data-feather="settings" class="text-primary-500"></i>
|
| 218 |
+
<span class="ml-2">Settings</span>
|
| 219 |
+
</div>
|
| 220 |
+
</a>
|
| 221 |
+
</div>
|
| 222 |
+
</div>
|
| 223 |
+
|
| 224 |
+
<div class="bg-white rounded-xl shadow-md p-6">
|
| 225 |
+
<h2 class="text-xl font-semibold text-gray-700 mb-4">Recent Transactions</h2>
|
| 226 |
+
<div class="space-y-4">
|
| 227 |
+
<div class="flex justify-between items-center">
|
| 228 |
+
<div>
|
| 229 |
+
<p class="font-medium">Web Design Project</p>
|
| 230 |
+
<p class="text-sm text-gray-500">Oct 15, 2025</p>
|
| 231 |
+
</div>
|
| 232 |
+
<span class="text-green-600 font-medium">+R$ 3,500</span>
|
| 233 |
+
</div>
|
| 234 |
+
<div class="flex justify-between items-center">
|
| 235 |
+
<div>
|
| 236 |
+
<p class="font-medium">Server Hosting</p>
|
| 237 |
+
<p class="text-sm text-gray-500">Oct 10, 2025</p>
|
| 238 |
+
</div>
|
| 239 |
+
<span class="text-red-600 font-medium">-R$ 1,200</span>
|
| 240 |
+
</div>
|
| 241 |
+
</div>
|
| 242 |
+
</div>
|
| 243 |
+
</div>
|
| 244 |
+
</div>
|
| 245 |
+
</main>
|
| 246 |
+
|
| 247 |
+
<custom-footer></custom-footer>
|
| 248 |
+
|
| 249 |
+
<script src="components/navbar.js"></script>
|
| 250 |
+
<script src="components/footer.js"></script>
|
| 251 |
+
<script>
|
| 252 |
+
feather.replace();
|
| 253 |
+
</script>
|
| 254 |
</body>
|
| 255 |
+
</html>
|
style.css
CHANGED
|
@@ -1,28 +1,42 @@
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
margin-top: 0;
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
font-size: 15px;
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
.
|
| 19 |
-
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
.
|
| 27 |
-
|
| 28 |
}
|
|
|
|
| 1 |
+
|
| 2 |
body {
|
| 3 |
+
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
| 4 |
+
background-color: #f3f4f6;
|
| 5 |
+
color: #111827;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
.container {
|
| 9 |
+
max-width: 1200px;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
.bg-primary-50 {
|
| 13 |
+
background-color: #eef2ff;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
.bg-red-50 {
|
| 17 |
+
background-color: #fef2f2;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
.bg-green-50 {
|
| 21 |
+
background-color: #ecfdf5;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
.bg-purple-50 {
|
| 25 |
+
background-color: #f5f3ff;
|
| 26 |
}
|
| 27 |
|
| 28 |
+
.rounded-xl {
|
| 29 |
+
border-radius: 0.75rem;
|
|
|
|
| 30 |
}
|
| 31 |
|
| 32 |
+
.shadow-md {
|
| 33 |
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
|
|
|
|
|
|
|
|
| 34 |
}
|
| 35 |
|
| 36 |
+
.transition {
|
| 37 |
+
transition: all 0.2s ease;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
}
|
| 39 |
|
| 40 |
+
.hover\:bg-gray-50:hover {
|
| 41 |
+
background-color: #f9fafb;
|
| 42 |
}
|