feat(www): content changes

This commit is contained in:
Musa 2025-11-26 14:44:18 -08:00
parent 98fb8cb2fd
commit 337950bcdb
8 changed files with 70 additions and 14 deletions

View file

@ -0,0 +1,26 @@
"use client";
import { usePathname } from "next/navigation";
import { Navbar, Footer } from "@katanemo/ui";
export function ConditionalLayout({
children,
}: {
children: React.ReactNode;
}) {
const pathname = usePathname();
const isStudio = pathname?.startsWith("/studio");
if (isStudio) {
return <>{children}</>;
}
return (
<div className="min-h-screen">
<Navbar />
<main className="pt-20">{children}</main>
<Footer />
</div>
);
}

View file

@ -19,8 +19,8 @@ const customerLogos = [
src: "/logos/sandisk.svg",
},
{
name: "Oracle",
src: "/logos/oracle.svg",
name: "HP",
src: "/logos/hp.svg",
},
];