diff --git a/app/page.tsx b/app/page.tsx index 4fe3ad1..64bca0d 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -22,6 +22,7 @@ export default function Home() { const { isAuthenticated, user, logout } = useAuth(); const [showSuccess, setShowSuccess] = useState(false); const [userSubscription, setUserSubscription] = useState(null); + const [mobileMenuOpen, setMobileMenuOpen] = useState(false); // Check for success message in URL useEffect(() => { @@ -208,6 +209,35 @@ export default function Home() { + + + Contact + + + + { + e.preventDefault(); + const pricingSection = + document.getElementById("pricing"); + if (pricingSection) { + pricingSection.scrollIntoView({ + behavior: "smooth", + }); + } + }} + className="cursor-pointer" + > + Pricing + + + + + Upload File + + +
My Subscriptions @@ -230,18 +260,43 @@ export default function Home() { ) : ( // Show login/signup buttons when not authenticated <> - setMobileMenuOpen(!mobileMenuOpen)} + className="md:hidden p-2 rounded-md text-gray-700 hover:bg-gray-100" + aria-label="Toggle menu" > - Log In - - - Sign Up - + + {mobileMenuOpen ? ( + + ) : ( + + )} + + + {/* Desktop Login/Signup Buttons */} +
+ + Log In + + + Sign Up + +
)}
@@ -249,26 +304,78 @@ export default function Home() { + {/* Mobile Menu Panel - Only show when logged out */} + {!isAuthenticated && ( +
+
+ {/* Navigation Links */} + setMobileMenuOpen(false)} + className="px-4 py-2 text-gray-700 hover:bg-gray-100 rounded-md transition-colors" + > + Contact + + + + {/* Divider */} +
+ + {/* Auth Section - Mobile */} + setMobileMenuOpen(false)} + className="px-4 py-2 text-center text-gray-700 border border-gray-300 hover:bg-gray-100 rounded-md transition-colors" + > + Log In + + setMobileMenuOpen(false)} + className="px-4 py-2 text-center bg-orange-500 hover:bg-orange-600 text-white rounded-md transition-colors" + > + Sign Up + +
+
+ )} + {/* Main Content */}
-
+

Welcome to reYa Render

Whether you're working on animations, visualizations, or still images, our render farm is optimized to deliver high-quality @@ -276,22 +383,32 @@ export default function Home() { take care of the rendering process, saving you time and computing power so you can focus on the creative side of your work.

-
+ + {/* Image below text on mobile */} +
+ 3D Model +
-
+ {/* Image on desktop */} +