feat: add navbar component to the application (CAS-32) #18
@ -1,4 +1,4 @@
|
||||
<nav class="bg-[#0F212E] text-gray-300 border-b border-[#1B2C3B]">
|
||||
<nav class="bg-deep-blue text-gray-300 border-b border-deep-blue-contrast">
|
||||
<div class="max-w-full mx-auto px-4">
|
||||
<div class="flex justify-between items-center h-14">
|
||||
<div class="flex items-center space-x-6">
|
||||
@ -7,13 +7,13 @@
|
||||
</a>
|
||||
<div class="hidden md:flex items-center space-x-1">
|
||||
<a routerLink="/games"
|
||||
class="px-3 py-2 rounded-md text-sm hover:bg-[#1B2C3B] transition-colors duration-200">Games</a>
|
||||
class="px-3 py-2 rounded-md text-sm hover:bg-deep-blue-contrast transition-colors duration-200">Games</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hidden md:flex items-center space-x-4">
|
||||
<button
|
||||
class="cursor-pointer px-4 py-1.5 rounded bg-[#00A76F] hover:bg-[#00C684] text-white text-sm font-medium transition-colors duration-200">Login</button>
|
||||
class="cursor-pointer px-4 py-1.5 rounded bg-emerald-500 hover:bg-emerald-600 text-white text-sm font-medium transition-colors duration-200">Login</button>
|
||||
</div>
|
||||
|
||||
<div class="md:hidden">
|
||||
@ -29,12 +29,12 @@
|
||||
</div>
|
||||
|
||||
<div [class]="isMenuOpen ? 'block' : 'hidden'" class="md:hidden">
|
||||
<div class="p-2 pt-2 mb-4 space-y-1 bg-[#1B2C3B] rounded-b-lg">
|
||||
<div class="p-2 pt-2 mb-4 space-y-1 bg-deep-blue-contrast rounded-b-lg">
|
||||
<a routerLink="/games"
|
||||
class="block px-3 py-2 rounded-md text-sm hover:bg-[#263B4D] transition-colors duration-200">Games</a>
|
||||
class="block px-3 py-2 rounded-md text-sm hover:bg-deep-blue-light transition-colors duration-200">Games</a>
|
||||
<div class="pt-2 space-y-2">
|
||||
<button
|
||||
class="cursor-pointer w-full px-4 py-1.5 rounded bg-[#00A76F] hover:bg-[#00C684] text-white text-sm font-medium transition-colors duration-200">Login</button>
|
||||
class="cursor-pointer w-full px-4 py-1.5 rounded bg-emerald-500 hover:bg-emerald-600 text-white text-sm font-medium transition-colors duration-200">Login</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,22 +1,13 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
@theme {
|
||||
--color-primary-900: rgb(26, 44, 56);
|
||||
--color-primary-800: rgb(30, 48, 60);
|
||||
--color-primary-600: rgb(34, 52, 64);
|
||||
|
||||
--color-accent-blue: #3b82f6;
|
||||
--color-accent-green: #22c55e;
|
||||
|
||||
--color-gold: #ffd700;
|
||||
--color-gold-light: #ffe44d;
|
||||
|
||||
--color-gray-100: #f3f4f6;
|
||||
--color-gray-200: #e5e7eb;
|
||||
--color-gray-300: #d1d5db;
|
||||
--color-gray-400: #9ca3af;
|
||||
--color-deep-blue: #0F212E;
|
||||
--color-deep-blue-light: #1A2C38;
|
||||
--color-deep-blue-contrast: #1B2C3B;
|
||||
--color-light-blue: #1475E1;
|
||||
--color-green: #00E701;
|
||||
}
|
||||
|
||||
body {
|
||||
@apply bg-primary-800 text-gray-100;
|
||||
@apply bg-deep-blue text-gray-100;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user