diff --git a/apps/marketing/src/app/(marketing)/layout.tsx b/apps/marketing/src/app/(marketing)/layout.tsx index 956c8e4a5..365d8a5d1 100644 --- a/apps/marketing/src/app/(marketing)/layout.tsx +++ b/apps/marketing/src/app/(marketing)/layout.tsx @@ -2,6 +2,8 @@ import React, { useEffect, useState } from 'react'; +import { usePathname } from 'next/navigation'; + import { cn } from '@documenso/ui/lib/utils'; import { Footer } from '~/components/(marketing)/footer'; @@ -13,6 +15,7 @@ export type MarketingLayoutProps = { export default function MarketingLayout({ children }: MarketingLayoutProps) { const [scrollY, setScrollY] = useState(0); + const pathname = usePathname(); useEffect(() => { const onScroll = () => { @@ -25,7 +28,11 @@ export default function MarketingLayout({ children }: MarketingLayoutProps) { }, []); return ( -
+
5,