Mirrored from https://github.com/Camo67/OCIU-npo.git
Synced Nov 21, 03:37 UTC
Refactor: Change text color to white
gpt-engineer-app[bot] committed
Oct 8, 2025 at 04:10 UTC
018edef159bac99eb32e67e6bcb9f3d4afe67249
1 file changed
+4
-4
src/components/Navigation.tsx
+4
-4
@@ -20,9 +20,9 @@ const navItems = [{
20
}];
21
export const Navigation = () => {
22
const [isOpen, setIsOpen] = useState(false);
23
- return <nav className="fixed top-0 left-0 right-0 z-50 backdrop-blur-sm border-b border-border shadow-sm bg-[vrgb(51,_0,_255)] bg-[#3300ff]">
23
+ return <nav className="fixed top-0 left-0 right-0 z-50 backdrop-blur-sm border-b border-border shadow-sm bg-primary">
24
<div className="container mx-auto px-4">
25
- <div className="flex items-center justify-between h-16 bg-[#3300ff]">
25
+ <div className="flex items-center justify-between h-16">
26
{/* Logo */}
27
<a href="#home" className="flex items-center">
28
<img src={logoBanner} alt="Community & Unity" className="h-12 w-auto" />
@@ -30,7 +30,7 @@ export const Navigation = () => {
30
31
{/* Desktop Navigation */}
32
<div className="hidden md:flex items-center gap-6">
33
- {navItems.map(item => <a key={item.label} href={item.href} className="text-foreground hover:text-primary transition-colors font-medium">
33
+ {navItems.map(item => <a key={item.label} href={item.href} className="text-primary-foreground hover:text-accent transition-colors font-medium">
34
{item.label}
35
</a>)}
36
</div>
@@ -43,7 +43,7 @@ export const Navigation = () => {
43
44
{/* Mobile Navigation */}
45
{isOpen && <div className="md:hidden py-4 space-y-3 border-t border-border">
46
- {navItems.map(item => <a key={item.label} href={item.href} className="block py-2 text-foreground hover:text-primary transition-colors font-medium" onClick={() => setIsOpen(false)}>
46
+ {navItems.map(item => <a key={item.label} href={item.href} className="block py-2 text-primary-foreground hover:text-accent transition-colors font-medium" onClick={() => setIsOpen(false)}>
47
{item.label}
48
</a>)}
49
</div>}