diff --git a/frontend/src/components/features/about/AboutRosetta.tsx b/frontend/src/components/features/about/AboutRosetta.tsx index 923ea1a..61b7f99 100644 --- a/frontend/src/components/features/about/AboutRosetta.tsx +++ b/frontend/src/components/features/about/AboutRosetta.tsx @@ -11,10 +11,8 @@ export function AboutRosetta() { viewport={{ once: true }} transition={{ duration: 0.5 }} className="about-section-title" - > - Why Rosetta Exists - - + /> + {/* Bento Grid Layout */}
{/* Row 1: Three equal cards - Problem, Result, Built for AI */} diff --git a/frontend/src/components/layout/Header.tsx b/frontend/src/components/layout/Header.tsx index 4d96aaa..83c3421 100644 --- a/frontend/src/components/layout/Header.tsx +++ b/frontend/src/components/layout/Header.tsx @@ -1,5 +1,7 @@ -import { Link, useLocation } from 'react-router-dom'; -import { Github, Moon, Sun } from 'lucide-react'; +import { useState } from 'react'; +import { Link, useLocation, useNavigate } from 'react-router-dom'; +import { Github, Moon, Sun, Menu, X } from 'lucide-react'; +import { motion, AnimatePresence } from 'framer-motion'; import logo from '../../assets/logo.svg'; interface HeaderProps { @@ -9,8 +11,15 @@ interface HeaderProps { export function Header({ isDarkMode, onToggleDarkMode }: HeaderProps) { const location = useLocation(); + const navigate = useNavigate(); + const [isMenuOpen, setIsMenuOpen] = useState(false); const isActive = (path: string) => location.pathname === path; + const handleNavClick = (path: string) => { + setIsMenuOpen(false); + navigate(path); + }; + return ( ); } diff --git a/frontend/src/pages/About.tsx b/frontend/src/pages/About.tsx index 6505be3..89434b3 100644 --- a/frontend/src/pages/About.tsx +++ b/frontend/src/pages/About.tsx @@ -17,7 +17,7 @@ export function About() {
{/* Hero Section */} -
+
{/* Animated background grid */}
{/* Meet the Builder Section */} -
-
+
+ {/* Animated background grid */} +
+
+
+ +