Utilize preto, cinza, branco.. Paleta de cores, escura
Browse files- components/navbar.js +23 -23
- index.html +2 -2
- style.css +19 -19
components/navbar.js
CHANGED
|
@@ -14,9 +14,9 @@ class CustomNavbar extends HTMLElement {
|
|
| 14 |
}
|
| 15 |
|
| 16 |
.scrolled {
|
| 17 |
-
background-color:
|
| 18 |
-
box-shadow: 0 4px 6px -1px rgba(
|
| 19 |
-
|
| 20 |
|
| 21 |
.nav-link {
|
| 22 |
position: relative;
|
|
@@ -47,22 +47,22 @@ class CustomNavbar extends HTMLElement {
|
|
| 47 |
<div class="container mx-auto flex justify-between items-center">
|
| 48 |
<div class="flex items-center">
|
| 49 |
<a href="/" class="flex items-center">
|
| 50 |
-
<span class="text-2xl font-bold text-
|
| 51 |
-
|
| 52 |
</div>
|
| 53 |
|
| 54 |
<div class="hidden md:flex items-center space-x-8">
|
| 55 |
-
<a href="#features" class="nav-link text-gray-
|
| 56 |
-
<a href="#solutions" class="nav-link text-gray-
|
| 57 |
-
<a href="#pricing" class="nav-link text-gray-
|
| 58 |
-
<a href="#resources" class="nav-link text-gray-
|
| 59 |
-
<a href="#contact" class="nav-link text-gray-
|
| 60 |
-
|
| 61 |
|
| 62 |
<div class="hidden md:flex items-center space-x-4">
|
| 63 |
-
<a href="#" class="text-
|
| 64 |
-
<a href="#" class="bg-
|
| 65 |
-
|
| 66 |
</a>
|
| 67 |
</div>
|
| 68 |
|
|
@@ -72,15 +72,15 @@ class CustomNavbar extends HTMLElement {
|
|
| 72 |
</div>
|
| 73 |
|
| 74 |
<div id="mobile-menu" class="hidden flex-col items-center space-y-4 py-6 px-6 mt-4 bg-white rounded-lg shadow-lg md:hidden">
|
| 75 |
-
<a href="#features" class="w-full text-center py-2 text-gray-
|
| 76 |
-
<a href="#solutions" class="w-full text-center py-2 text-gray-
|
| 77 |
-
<a href="#pricing" class="w-full text-center py-2 text-gray-
|
| 78 |
-
<a href="#resources" class="w-full text-center py-2 text-gray-
|
| 79 |
-
<a href="#contact" class="w-full text-center py-2 text-gray-
|
| 80 |
-
<div class="w-full border-t border-gray-
|
| 81 |
-
<a href="#" class="w-full text-center py-2 text-
|
| 82 |
-
<a href="#" class="w-full text-center py-2 bg-
|
| 83 |
-
|
| 84 |
</a>
|
| 85 |
</div>
|
| 86 |
</div>
|
|
|
|
| 14 |
}
|
| 15 |
|
| 16 |
.scrolled {
|
| 17 |
+
background-color: black;
|
| 18 |
+
box-shadow: 0 4px 6px -1px rgba(255, 255, 255, 0.1), 0 2px 4px -1px rgba(255, 255, 255, 0.06);
|
| 19 |
+
}
|
| 20 |
|
| 21 |
.nav-link {
|
| 22 |
position: relative;
|
|
|
|
| 47 |
<div class="container mx-auto flex justify-between items-center">
|
| 48 |
<div class="flex items-center">
|
| 49 |
<a href="/" class="flex items-center">
|
| 50 |
+
<span class="text-2xl font-bold text-white bg-black p-2 rounded-lg">BizElegance</span>
|
| 51 |
+
</a>
|
| 52 |
</div>
|
| 53 |
|
| 54 |
<div class="hidden md:flex items-center space-x-8">
|
| 55 |
+
<a href="#features" class="nav-link text-gray-300 hover:text-white font-medium">Features</a>
|
| 56 |
+
<a href="#solutions" class="nav-link text-gray-300 hover:text-white font-medium">Solutions</a>
|
| 57 |
+
<a href="#pricing" class="nav-link text-gray-300 hover:text-white font-medium">Pricing</a>
|
| 58 |
+
<a href="#resources" class="nav-link text-gray-300 hover:text-white font-medium">Resources</a>
|
| 59 |
+
<a href="#contact" class="nav-link text-gray-300 hover:text-white font-medium">Contact</a>
|
| 60 |
+
</div>
|
| 61 |
|
| 62 |
<div class="hidden md:flex items-center space-x-4">
|
| 63 |
+
<a href="#" class="text-white hover:text-gray-300 font-medium">Log In</a>
|
| 64 |
+
<a href="#" class="bg-white hover:bg-gray-200 text-black font-medium rounded-lg px-5 py-2.5 transition-all">
|
| 65 |
+
Get Started
|
| 66 |
</a>
|
| 67 |
</div>
|
| 68 |
|
|
|
|
| 72 |
</div>
|
| 73 |
|
| 74 |
<div id="mobile-menu" class="hidden flex-col items-center space-y-4 py-6 px-6 mt-4 bg-white rounded-lg shadow-lg md:hidden">
|
| 75 |
+
<a href="#features" class="w-full text-center py-2 text-gray-300 hover:text-white font-medium">Features</a>
|
| 76 |
+
<a href="#solutions" class="w-full text-center py-2 text-gray-300 hover:text-white font-medium">Solutions</a>
|
| 77 |
+
<a href="#pricing" class="w-full text-center py-2 text-gray-300 hover:text-white font-medium">Pricing</a>
|
| 78 |
+
<a href="#resources" class="w-full text-center py-2 text-gray-300 hover:text-white font-medium">Resources</a>
|
| 79 |
+
<a href="#contact" class="w-full text-center py-2 text-gray-300 hover:text-white font-medium">Contact</a>
|
| 80 |
+
<div class="w-full border-t border-gray-700 pt-4 flex flex-col space-y-4">
|
| 81 |
+
<a href="#" class="w-full text-center py-2 text-white font-medium">Log In</a>
|
| 82 |
+
<a href="#" class="w-full text-center py-2 bg-white text-black font-medium rounded-lg px-5 py-2.5 transition-all">
|
| 83 |
+
Get Started
|
| 84 |
</a>
|
| 85 |
</div>
|
| 86 |
</div>
|
index.html
CHANGED
|
@@ -48,7 +48,7 @@
|
|
| 48 |
|
| 49 |
<main>
|
| 50 |
<!-- Hero Section -->
|
| 51 |
-
<section class="relative bg-gradient-to-r from-
|
| 52 |
<div class="container mx-auto px-6 py-24 md:py-32 lg:py-40">
|
| 53 |
<div class="max-w-3xl mx-auto text-center">
|
| 54 |
<h1 class="text-4xl md:text-5xl lg:text-6xl font-bold leading-tight mb-6 executive-heading">
|
|
@@ -202,7 +202,7 @@
|
|
| 202 |
</div>
|
| 203 |
</section>
|
| 204 |
<!-- CTA Section -->
|
| 205 |
-
<section class="py-20 bg-gradient-to-r from-
|
| 206 |
<div class="container mx-auto px-6">
|
| 207 |
<div class="max-w-4xl mx-auto text-center">
|
| 208 |
<h2 class="text-3xl md:text-4xl font-bold mb-6">
|
|
|
|
| 48 |
|
| 49 |
<main>
|
| 50 |
<!-- Hero Section -->
|
| 51 |
+
<section class="relative bg-gradient-to-r from-gray-900 to-gray-800 text-white">
|
| 52 |
<div class="container mx-auto px-6 py-24 md:py-32 lg:py-40">
|
| 53 |
<div class="max-w-3xl mx-auto text-center">
|
| 54 |
<h1 class="text-4xl md:text-5xl lg:text-6xl font-bold leading-tight mb-6 executive-heading">
|
|
|
|
| 202 |
</div>
|
| 203 |
</section>
|
| 204 |
<!-- CTA Section -->
|
| 205 |
+
<section class="py-20 bg-gradient-to-r from-gray-800 to-gray-700 text-white">
|
| 206 |
<div class="container mx-auto px-6">
|
| 207 |
<div class="max-w-4xl mx-auto text-center">
|
| 208 |
<h2 class="text-3xl md:text-4xl font-bold mb-6">
|
style.css
CHANGED
|
@@ -2,25 +2,25 @@
|
|
| 2 |
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');
|
| 3 |
/* Color Variables */
|
| 4 |
:root {
|
| 5 |
-
--primary-50: #
|
| 6 |
-
--primary-100: #
|
| 7 |
-
--primary-200: #
|
| 8 |
-
--primary-300: #
|
| 9 |
-
--primary-400: #
|
| 10 |
-
--primary-500: #
|
| 11 |
-
--primary-600: #
|
| 12 |
-
--primary-700: #
|
| 13 |
-
--primary-800: #
|
| 14 |
-
--primary-900: #
|
| 15 |
-
--accent-100: #
|
| 16 |
-
--accent-200: #
|
| 17 |
-
--accent-300: #
|
| 18 |
-
--accent-400: #
|
| 19 |
-
--accent-500: #
|
| 20 |
-
--accent-600: #
|
| 21 |
-
--accent-700: #
|
| 22 |
-
--accent-800: #
|
| 23 |
-
--accent-900: #
|
| 24 |
}
|
| 25 |
/* Custom scrollbar */
|
| 26 |
::-webkit-scrollbar {
|
|
|
|
| 2 |
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');
|
| 3 |
/* Color Variables */
|
| 4 |
:root {
|
| 5 |
+
--primary-50: #f9fafb;
|
| 6 |
+
--primary-100: #f3f4f6;
|
| 7 |
+
--primary-200: #e5e7eb;
|
| 8 |
+
--primary-300: #d1d5db;
|
| 9 |
+
--primary-400: #9ca3af;
|
| 10 |
+
--primary-500: #6b7280;
|
| 11 |
+
--primary-600: #4b5563;
|
| 12 |
+
--primary-700: #374151;
|
| 13 |
+
--primary-800: #1f2937;
|
| 14 |
+
--primary-900: #111827;
|
| 15 |
+
--accent-100: #e5e7eb;
|
| 16 |
+
--accent-200: #d1d5db;
|
| 17 |
+
--accent-300: #9ca3af;
|
| 18 |
+
--accent-400: #6b7280;
|
| 19 |
+
--accent-500: #4b5563;
|
| 20 |
+
--accent-600: #374151;
|
| 21 |
+
--accent-700: #1f2937;
|
| 22 |
+
--accent-800: #111827;
|
| 23 |
+
--accent-900: #030712;
|
| 24 |
}
|
| 25 |
/* Custom scrollbar */
|
| 26 |
::-webkit-scrollbar {
|