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/web/app/blog/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Every blog page carries one CrawlProof unit at the top of the post,
* above the content (never at the bottom, against the footer): the text strip,
* filled by the ad.js loader the root layout already includes. It collapses
* to nothing when there is no advertiser. Same slot as components/AdUnit.
* to nothing when there is no advertiser. The home page carries no ad.
*/
export default function BlogLayout({ children }: { children: React.ReactNode }) {
return (
Expand Down
4 changes: 0 additions & 4 deletions apps/web/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Link from 'next/link';
import CouponCard from '@/components/CouponCard';
import StoreCard from '@/components/StoreCard';
import SearchBar from '@/components/SearchBar';
import AdUnit from '@/components/AdUnit';
import { getDb } from '@/lib/db';
import { Coupon, Store } from '@/lib/types';

Expand Down Expand Up @@ -191,9 +190,6 @@ export default async function HomePage() {
)}
</section>

{/* Advertisement */}
<AdUnit />

{/* Top Stores */}
<section>
<div className="flex items-center justify-between mb-5">
Expand Down
22 changes: 0 additions & 22 deletions apps/web/components/AdUnit.tsx

This file was deleted.

Loading