Skip to content

Commit 20ac0bd

Browse files
committed
remove buy sell ads
1 parent 926bc18 commit 20ac0bd

8 files changed

Lines changed: 12 additions & 28 deletions

File tree

app/(main)/(course)/course/[courseSlug]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import MoreHeader from "@/components/more-header";
1818
import { BreadcrumbLinks } from "@/components/breadrumb-links";
1919
import Link from "next/link";
2020
import ShowPro from "./show-pro";
21-
import CarbonAdBanner from "@/components/carbon-ad-banner";
21+
2222

2323
type Params = Promise<{ courseSlug: string }>;
2424

@@ -115,7 +115,7 @@ export default async function CoursePage({ params }: { params: Params }) {
115115
/>
116116
)}
117117
<div className="p-8 flex justify-end">
118-
<CarbonAdBanner />
118+
119119
</div>
120120
</article>
121121
<Suspense>

app/(main)/(course)/courses/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type { CoursesQueryResult } from "@/sanity/types";
1111
import { sanityFetch } from "@/sanity/lib/live";
1212
import { coursesQuery } from "@/sanity/lib/queries";
1313
import MoreHeader from "@/components/more-header";
14-
import CarbonAdBanner from "@/components/carbon-ad-banner";
14+
1515

1616
function HeroCourse({
1717
title,
@@ -83,7 +83,7 @@ export default async function Page() {
8383
) : (
8484
<Onboarding />
8585
)}
86-
<CarbonAdBanner />
86+
8787
{heroPost?._id && (
8888
<aside>
8989
<MoreHeader title="Latest Courses" href="/courses/page/1" />

app/(main)/(podcast)/podcast/Podcast.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import PlayerPlayButton from "@/components/player-play-button";
1616
import PodcastOpenSpotify from "@/components/podcast-open-spotify";
1717
import PodcastOpenApple from "@/components/podcast-open-apple";
1818
import PodcastOpenYouTube from "@/components/podcast-open-youtube";
19-
import CarbonAdBanner from "@/components/carbon-ad-banner";
19+
2020
import PodmatchBadge from "@/components/podmatch-badge";
2121

2222
export default async function Podcast({ podcast }: { podcast: NonNullable<PodcastQueryResult> }) {

app/(main)/(podcast)/podcasts/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { podcastsQuery } from "@/sanity/lib/queries";
1313
import { Button } from "@/components/ui/button";
1414
import { Separator } from "@/components/ui/separator";
1515
import MoreHeader from "@/components/more-header";
16-
import CarbonAdBanner from "@/components/carbon-ad-banner";
16+
1717
import PodmatchBadge from "@/components/podmatch-badge";
1818

1919
function HeroPodcast({
@@ -99,7 +99,7 @@ export default async function Page() {
9999
) : (
100100
<Onboarding />
101101
)}
102-
<CarbonAdBanner />
102+
103103
<div className="flex m-2 md:m-8 justify-center">
104104
<PodmatchBadge />
105105
</div>

app/(main)/(post)/blog/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { sanityFetch } from "@/sanity/lib/live";
1212
import { blogQuery } from "@/sanity/lib/queries";
1313
import { Button, buttonVariants } from "@/components/ui/button";
1414
import { Separator } from "@/components/ui/separator";
15-
import CarbonAdBanner from "@/components/carbon-ad-banner";
15+
1616
import MoreHeader from "@/components/more-header";
1717

1818
function HeroPost({
@@ -84,7 +84,7 @@ export default async function Page() {
8484
) : (
8585
<Onboarding />
8686
)}
87-
<CarbonAdBanner />
87+
8888
{heroPost?._id && (
8989
<aside>
9090
<MoreHeader title="View More" href="/blog/page/1" />

app/(main)/(post)/post/[slug]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import CoverMedia from "@/components/cover-media";
1616
import MoreHeader from "@/components/more-header";
1717
import { BreadcrumbLinks } from "@/components/breadrumb-links";
1818
import SponsorCard from "@/components/sponsor-card";
19-
import CarbonAdBanner from "@/components/carbon-ad-banner";
19+
2020

2121
type Params = Promise<{ slug: string }>;
2222

@@ -99,7 +99,7 @@ export default async function PostPage({ params }: { params: Params }) {
9999
<DateComponent dateString={post.date} />
100100
</div>
101101
</div>
102-
<CarbonAdBanner />
102+
103103
</div>
104104
{post?.sponsor?.length && (
105105
<section className="flex flex-col mt-10 mb-10">

app/(main)/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import AnimatedHero from "@/components/animated-hero";
2-
import CarbonAdBanner from "@/components/carbon-ad-banner";
2+
33
import CoverImage from "@/components/cover-image";
44
import type { HomePageQueryResult } from "@/sanity/types";
55
import { sanityFetch } from "@/sanity/lib/live";

components/carbon-ad-banner.tsx

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)