diff --git a/src/components/Header.tsx b/src/components/Header.tsx deleted file mode 100644 index 757f14c..0000000 --- a/src/components/Header.tsx +++ /dev/null @@ -1,144 +0,0 @@ -import { useState } from 'react' -import { Link } from '@tanstack/react-router' -import { motion, AnimatePresence } from 'framer-motion' -import { Activity, Home, Menu, X } from 'lucide-react' -import { CrabIdleAnimation } from '~/components/ani' - -export function Header() { - const [isOpen, setIsOpen] = useState(false) - - return ( - <> -
- {/* Subtle gradient overlay */} -
- - - - -
- -
- - CRABWALK - - - - {/* Decorative claw brackets */} -
- - v3.0 - -
-
- - {/* Sidebar navigation */} - - {isOpen && ( - <> - {/* Overlay */} - setIsOpen(false)} - className="fixed inset-0 bg-black/60 backdrop-blur-sm z-40" - /> - - {/* Sidebar panel */} - - {/* Scanline texture */} -
- - {/* Header */} -
-
- -

- NAVIGATION -

-
- -
- - {/* Navigation links */} - - - {/* Footer */} -
-
- - - crabwalk online - -
-
- - - )} - - - ) -} diff --git a/src/routes/__root.tsx b/src/routes/__root.tsx index 1127262..d95db7a 100644 --- a/src/routes/__root.tsx +++ b/src/routes/__root.tsx @@ -3,7 +3,6 @@ import { HeadContent, Scripts, createRootRoute, Link } from '@tanstack/react-rou import { TanStackRouterDevtools } from '@tanstack/react-router-devtools' import { motion } from 'framer-motion' import appCss from '../styles.css?url' -import { Header } from '../components/Header' import { QueryProvider } from '../integrations/query/provider' import { queryDevtoolsPlugin } from '../integrations/query/devtools' import { CrabIdleAnimation } from '../components/ani' @@ -32,7 +31,7 @@ export const Route = createRootRoute({ function NotFound() { return ( -
+
{/* Background glow */}
@@ -77,7 +76,6 @@ function RootDocument({ children }: { children: React.ReactNode }) { -
{children} {devtoolsPlugins.map((plugin, i) => ( diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 0a2a0ac..9527a71 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -59,7 +59,7 @@ function Home() { }, [isHovering]) return ( -
+
{/* Decorative background elements */}
@@ -70,7 +70,7 @@ function Home() { {/* Main content */} -
+
{/* Interactive animated crab with glow */}