Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/site/app/_components/ad-unit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useEffect, useRef } from "react";
import { usePathname } from "next/navigation";

/**
* One CrawlProof ad unit, above the footer on public pages.
* One CrawlProof ad unit, at the top of the main content on public pages.
* Manage the slot at https://crawlproof.com/ads/slots
*/
const AD_SLOT = "5500e925-8ab1-4dd9-b89d-eaafa3554f68";
Expand Down
6 changes: 4 additions & 2 deletions apps/site/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,10 @@ export default function RootLayout({ children }: { children: React.ReactNode })
<a href="/account">Account</a>
</nav>
</header>
<main id="main">{children}</main>
<AdUnit />
<main id="main">
<AdUnit />
{children}
</main>
<footer className="footer">
<div className="footer__columns">
<div>
Expand Down
Loading