Skip to content

Commit

Permalink
fix(bandsintown): fix ad unit ids and import
Browse files Browse the repository at this point in the history
  • Loading branch information
netlob committed May 7, 2024
1 parent c09e6a6 commit 2f9361a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/pages/album/[id]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { TopListeners } from '@/components/TopListeners';
const BandsInTown: FC<{ album: statsfm.Album }> = ({ album }) => {
return (
<div>
<div id="amplified_100006357"></div>
<div id="amplified_100006348"></div>
<script
dangerouslySetInnerHTML={{
__html: `
Expand All @@ -39,7 +39,7 @@ const BandsInTown: FC<{ album: statsfm.Album }> = ({ album }) => {
album: "${album?.name}",
hostname: "srv.clickfuse.com",
})
.pushAdUnit(100006357)
.pushAdUnit(100006348)
.run();
});
`,
Expand Down
6 changes: 3 additions & 3 deletions src/pages/artist/[id]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ import { ArtistRelatedArtists } from '@/components/Artist/ArtistRelatedArtists';
const BandsInTown: FC<{ artist: statsfm.Artist }> = ({ artist }) => {
return (
<div>
<div id="amplified_100006357"></div>
<script async src="//srv.clickfuse.com/ads/ads.js"></script>
<div id="amplified_100006348"></div>
<script
dangerouslySetInnerHTML={{
__html: `
Expand All @@ -39,7 +40,7 @@ const BandsInTown: FC<{ artist: statsfm.Artist }> = ({ artist }) => {
album: "",
hostname: "srv.clickfuse.com",
})
.pushAdUnit(100006357)
.pushAdUnit(100006348)
.run();
});
`,
Expand Down Expand Up @@ -211,7 +212,6 @@ const Artist: NextPage<Props> = ({ artist, origin }) => {
content={`View ${artist.name} on stats.fm`}
/>
<meta property="twitter:card" content="summary_large_image" />
<script async src="//srv.clickfuse.com/ads/ads.js"></script>
</Head>

<div className="bg-foreground pt-20">
Expand Down
6 changes: 3 additions & 3 deletions src/pages/track/[id]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ import Link from 'next/link';
const BandsInTown: FC<{ track: statsfm.Track }> = ({ track }) => {
return (
<div>
<div id="amplified_100006357"></div>
<script async src="//srv.clickfuse.com/ads/ads.js"></script>
<div id="amplified_100006348"></div>
<script
dangerouslySetInnerHTML={{
__html: `
Expand All @@ -49,7 +50,7 @@ const BandsInTown: FC<{ track: statsfm.Track }> = ({ track }) => {
album: "${track?.albums[0]?.name}",
hostname: "srv.clickfuse.com",
})
.pushAdUnit(100006357)
.pushAdUnit(100006348)
.run();
});
`,
Expand Down Expand Up @@ -299,7 +300,6 @@ const Track: NextPage<Props> = ({ track }) => {
content={`View ${track.name} on stats.fm`}
/>
<meta property="twitter:card" content="summary" />
<script async src="//srv.clickfuse.com/ads/ads.js"></script>
</Head>

<div className="bg-foreground pt-20">
Expand Down

0 comments on commit 2f9361a

Please sign in to comment.