Initial commit of the Ad Generator Lite project, including backend services, frontend components, and configuration files. Added core functionalities for ad generation, user management, and image processing, along with a structured matrix system for ad testing.
f201243
| "use client"; | |
| import React from "react"; | |
| import { usePathname } from "next/navigation"; | |
| import { Header } from "./Header"; | |
| export const ConditionalHeader: React.FC = () => { | |
| const pathname = usePathname(); | |
| const isLoginPage = pathname === "/login"; | |
| if (isLoginPage) { | |
| return null; | |
| } | |
| return <Header />; | |
| }; | |