mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 11:31:11 -05:00
Visual edit in Lovable
This commit is contained in:
@@ -8,12 +8,9 @@ import { Link, useNavigate } from 'react-router-dom';
|
||||
import { SearchDropdown } from '@/components/search/SearchDropdown';
|
||||
import { AuthButtons } from '@/components/auth/AuthButtons';
|
||||
import { ThemeToggle } from '@/components/theme/ThemeToggle';
|
||||
|
||||
export function Header() {
|
||||
const navigate = useNavigate();
|
||||
|
||||
return (
|
||||
<header className="sticky top-0 z-50 w-full border-b border-border bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60">
|
||||
return <header className="sticky top-0 z-50 w-full border-b border-border bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60">
|
||||
<div className="container flex h-16 items-center justify-between px-4">
|
||||
{/* Logo and Brand */}
|
||||
<div className="flex items-center gap-4">
|
||||
@@ -26,36 +23,24 @@ export function Header() {
|
||||
<h1 className="text-xl font-bold bg-gradient-to-r from-primary to-accent bg-clip-text text-transparent">
|
||||
ThrillWiki
|
||||
</h1>
|
||||
<span className="text-xs text-muted-foreground -mt-1">Theme Park Database</span>
|
||||
|
||||
</div>
|
||||
</Link>
|
||||
|
||||
{/* Desktop Navigation */}
|
||||
<nav className="hidden md:flex items-center gap-6 ml-8">
|
||||
<Button
|
||||
variant="ghost"
|
||||
className="text-sm font-medium hover:text-primary"
|
||||
onClick={() => navigate('/parks')}
|
||||
>
|
||||
<Button variant="ghost" className="text-sm font-medium hover:text-primary" onClick={() => navigate('/parks')}>
|
||||
<MapPin className="w-4 h-4 mr-2" />
|
||||
Parks
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
className="text-sm font-medium hover:text-primary"
|
||||
onClick={() => navigate('/rides')}
|
||||
>
|
||||
<Button variant="ghost" className="text-sm font-medium hover:text-primary" onClick={() => navigate('/rides')}>
|
||||
🎢 Rides
|
||||
</Button>
|
||||
<Button variant="ghost" className="text-sm font-medium hover:text-primary">
|
||||
<Star className="w-4 h-4 mr-2" />
|
||||
Reviews
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
className="text-sm font-medium hover:text-primary"
|
||||
onClick={() => navigate('/manufacturers')}
|
||||
>
|
||||
<Button variant="ghost" className="text-sm font-medium hover:text-primary" onClick={() => navigate('/manufacturers')}>
|
||||
🏭 Manufacturers
|
||||
</Button>
|
||||
</nav>
|
||||
@@ -80,30 +65,18 @@ export function Header() {
|
||||
</SheetTrigger>
|
||||
<SheetContent side="right" className="w-[300px] sm:w-[400px]">
|
||||
<div className="flex flex-col gap-4 mt-8">
|
||||
<Button
|
||||
variant="ghost"
|
||||
className="justify-start"
|
||||
onClick={() => navigate('/parks')}
|
||||
>
|
||||
<Button variant="ghost" className="justify-start" onClick={() => navigate('/parks')}>
|
||||
<MapPin className="w-4 h-4 mr-2" />
|
||||
Parks
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
className="justify-start"
|
||||
onClick={() => navigate('/rides')}
|
||||
>
|
||||
<Button variant="ghost" className="justify-start" onClick={() => navigate('/rides')}>
|
||||
🎢 Rides
|
||||
</Button>
|
||||
<Button variant="ghost" className="justify-start">
|
||||
<Star className="w-4 h-4 mr-2" />
|
||||
Reviews
|
||||
</Button>
|
||||
<Button
|
||||
variant="ghost"
|
||||
className="justify-start"
|
||||
onClick={() => navigate('/manufacturers')}
|
||||
>
|
||||
<Button variant="ghost" className="justify-start" onClick={() => navigate('/manufacturers')}>
|
||||
🏭 Manufacturers
|
||||
</Button>
|
||||
<div className="border-t pt-4 mt-4">
|
||||
@@ -122,6 +95,5 @@ export function Header() {
|
||||
</Sheet>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
);
|
||||
</header>;
|
||||
}
|
||||
Reference in New Issue
Block a user