File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import MoreHeader from "@/components/more-header";
1818import { BreadcrumbLinks } from "@/components/breadrumb-links" ;
1919import Link from "next/link" ;
2020import ShowPro from "./show-pro" ;
21- import CarbonAdBanner from "@/components/carbon-ad-banner" ;
21+
2222
2323type 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 >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import type { CoursesQueryResult } from "@/sanity/types";
1111import { sanityFetch } from "@/sanity/lib/live" ;
1212import { coursesQuery } from "@/sanity/lib/queries" ;
1313import MoreHeader from "@/components/more-header" ;
14- import CarbonAdBanner from "@/components/carbon-ad-banner" ;
14+
1515
1616function 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" />
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import PlayerPlayButton from "@/components/player-play-button";
1616import PodcastOpenSpotify from "@/components/podcast-open-spotify" ;
1717import PodcastOpenApple from "@/components/podcast-open-apple" ;
1818import PodcastOpenYouTube from "@/components/podcast-open-youtube" ;
19- import CarbonAdBanner from "@/components/carbon-ad-banner" ;
19+
2020import PodmatchBadge from "@/components/podmatch-badge" ;
2121
2222export default async function Podcast ( { podcast } : { podcast : NonNullable < PodcastQueryResult > } ) {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { podcastsQuery } from "@/sanity/lib/queries";
1313import { Button } from "@/components/ui/button" ;
1414import { Separator } from "@/components/ui/separator" ;
1515import MoreHeader from "@/components/more-header" ;
16- import CarbonAdBanner from "@/components/carbon-ad-banner" ;
16+
1717import PodmatchBadge from "@/components/podmatch-badge" ;
1818
1919function 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 >
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { sanityFetch } from "@/sanity/lib/live";
1212import { blogQuery } from "@/sanity/lib/queries" ;
1313import { Button , buttonVariants } from "@/components/ui/button" ;
1414import { Separator } from "@/components/ui/separator" ;
15- import CarbonAdBanner from "@/components/carbon-ad-banner" ;
15+
1616import MoreHeader from "@/components/more-header" ;
1717
1818function 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" />
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import CoverMedia from "@/components/cover-media";
1616import MoreHeader from "@/components/more-header" ;
1717import { BreadcrumbLinks } from "@/components/breadrumb-links" ;
1818import SponsorCard from "@/components/sponsor-card" ;
19- import CarbonAdBanner from "@/components/carbon-ad-banner" ;
19+
2020
2121type 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" >
Original file line number Diff line number Diff line change 11import AnimatedHero from "@/components/animated-hero" ;
2- import CarbonAdBanner from "@/components/carbon-ad-banner" ;
2+
33import CoverImage from "@/components/cover-image" ;
44import type { HomePageQueryResult } from "@/sanity/types" ;
55import { sanityFetch } from "@/sanity/lib/live" ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments