diff --git a/src/App.tsx b/src/App.tsx index 43856ee..a080e79 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -9,7 +9,6 @@ import { } from 'react-router-dom' import { Toaster } from '@/components/ui/sonner' import Navbar from './components/Navbar' -import Browse from './pages/Browse' import BuildNew from './pages/BuildNew' import BuildProgress from './pages/BuildProgress' import Dashboard from './pages/Dashboard' @@ -39,7 +38,6 @@ function App() { } /> - } /> } /> } /> } /> @@ -52,7 +50,6 @@ function App() { } /> - } /> } /> } /> } /> diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 6449ea3..614ebb6 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -1,57 +1,23 @@ -import { useAuthActions } from '@convex-dev/auth/react' -import { Authenticated, Unauthenticated } from 'convex/react' import { Link } from 'react-router-dom' -import { Button } from '@/components/ui/button' export default function Navbar() { - const { signIn, signOut } = useAuthActions() - return ( - - - - - Mesh Forge - - - - - - Dashboard - - - - - - - - signIn('google', { redirectTo: window.location.href }) - } - className="bg-white text-slate-900 hover:bg-slate-200" - > - Sign in - - - - signOut()}> - Sign Out - - - + + + + Mesh Forge + + diff --git a/src/pages/LandingPage.tsx b/src/pages/LandingPage.tsx index 5d5e836..afde08f 100644 --- a/src/pages/LandingPage.tsx +++ b/src/pages/LandingPage.tsx @@ -1,5 +1,3 @@ -import { useAuthActions } from '@convex-dev/auth/react' -import { Authenticated, Unauthenticated } from 'convex/react' import { useNavigate } from 'react-router-dom' import { Button } from '@/components/ui/button' @@ -20,45 +18,8 @@ function QuickBuildIcon(props: React.SVGProps) { ) } -function BrowseIcon(props: React.SVGProps) { - return ( - - Browse - - - - - - ) -} - export default function LandingPage() { const navigate = useNavigate() - const { signIn } = useAuthActions() return ( @@ -84,49 +45,6 @@ export default function LandingPage() { Quick Build - navigate('/browse')} - size="lg" - variant="outline" - className="border-cyan-500/50 text-white hover:bg-slate-900/60" - > - - Browse Builds - - - navigate('/dashboard')} - size="lg" - className="bg-white text-slate-900 hover:bg-slate-200" - > - - Dashboard icon - - - Go to Dashboard - - - - - signIn('google', { redirectTo: window.location.href }) - } - size="lg" - className="bg-white text-slate-900 hover:bg-slate-200" - > - Sign in - - {/* Benefits Grid */}