File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
shared/components/client/ads Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -139,3 +139,18 @@ export const DownloadPopupAdSlot = ({ className }: { className?: string }) => {
139
139
/>
140
140
) ;
141
141
} ;
142
+
143
+ export const MultiplexAdSlot = ( { className } : { className ?: string } ) => {
144
+ return (
145
+ < AdTemplate
146
+ className = { cn (
147
+ 'relative rounded-xl bg-zinc-800/50 p-2 my-8 h-32 max-h-32 w-full min-w-64 text-sm text-zinc-400' ,
148
+ className ,
149
+ ) }
150
+ adSlot = '6673081563'
151
+ adFormat = 'autorelaxed'
152
+ fullWidthResponsive = 'true'
153
+ showCloseButton = { true }
154
+ />
155
+ ) ;
156
+ } ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import {
14
14
} from './SongPageButtons' ;
15
15
import SongCard from '../../browse/components/SongCard' ;
16
16
import SongCardGroup from '../../browse/components/SongCardGroup' ;
17
- import { InterSectionAdSlot } from '../../shared/components/client/ads/AdSlots' ;
17
+ import { MultiplexAdSlot } from '../../shared/components/client/ads/AdSlots' ;
18
18
import { ErrorBox } from '../../shared/components/client/ErrorBox' ;
19
19
import { formatTimeAgo } from '../../shared/util/format' ;
20
20
@@ -92,7 +92,7 @@ export async function SongPage({ id }: { id: string }) {
92
92
< SongDetails song = { song } />
93
93
</ div >
94
94
</ div >
95
- < InterSectionAdSlot className = 'mb-0' />
95
+ < MultiplexAdSlot className = 'mb-0' />
96
96
97
97
{ /* Suggested songs */ }
98
98
< h2 className = 'text-md uppercase text-zinc-400 mt-10 mb-2' >
You can’t perform that action at this time.
0 commit comments