@@ -2,7 +2,6 @@ import React, { FunctionComponent } from 'react';
2
2
import { Card , CardContent , CardHeader } from '@/components' ;
3
3
import { TextWithNAFallback } from '@/components/atoms/TextWithNAFallback' ;
4
4
import { ctw } from '@/common' ;
5
- import { AdExample } from '../AdExample' ;
6
5
import { AdImageWithLink } from '../AdImageWithLink' ;
7
6
import { toTitleCase } from 'string-ts' ;
8
7
import { AnchorIfUrl } from '@/components/atoms/AnchorIfUrl' ;
@@ -87,18 +86,19 @@ export const AdsAndSocialMedia: FunctionComponent<{
87
86
</ div >
88
87
</ CardContent >
89
88
</ Card >
90
- < Card >
91
- < CardHeader className = { 'pt-4 font-bold' } > Related Ads</ CardHeader >
92
- < CardContent className = { 'flex flex-col space-y-4' } >
93
- < div className = { 'grid grid-cols-[400px_400px] gap-8' } >
94
- { ! ! relatedAdsImages ?. length &&
95
- relatedAdsImages . map ( ( { src, link } , index ) => (
96
- < AdExample key = { src } src = { src } link = { link } alt = { `Ad Example ${ index + 1 } ` } />
97
- ) ) }
98
- { ! relatedAdsImages ?. length && < > No ads detected.</ > }
99
- </ div >
100
- </ CardContent >
101
- </ Card >
89
+ { /*Hiding this for now, will be added back in later*/ }
90
+ { /*<Card>*/ }
91
+ { /* <CardHeader className={'pt-4 font-bold'}>Related Ads</CardHeader>*/ }
92
+ { /* <CardContent className={'flex flex-col space-y-4'}>*/ }
93
+ { /* <div className={'grid grid-cols-[400px_400px] gap-8'}>*/ }
94
+ { /* {!!relatedAdsImages?.length &&*/ }
95
+ { /* relatedAdsImages.map(({ src, link }, index) => (*/ }
96
+ { /* <AdExample key={src} src={src} link={link} alt={`Ad Example ${index + 1}`} />*/ }
97
+ { /* ))}*/ }
98
+ { /* {!relatedAdsImages?.length && <>No ads detected.</>}*/ }
99
+ { /* </div>*/ }
100
+ { /* </CardContent>*/ }
101
+ { /*</Card>*/ }
102
102
</ div >
103
103
) ;
104
104
} ;
0 commit comments