mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Show Codeable for developer tools apps
This commit is contained in:
parent
9062ee8d61
commit
ec4153c0f1
1 changed files with 12 additions and 1 deletions
|
|
@ -31,6 +31,17 @@ const {
|
||||||
|
|
||||||
const details = new ListingDetails( listing )
|
const details = new ListingDetails( listing )
|
||||||
|
|
||||||
|
|
||||||
|
const adName = (() => {
|
||||||
|
// Games
|
||||||
|
if ( details.isGame ) return 'new-world-1'
|
||||||
|
|
||||||
|
// Developer Tools
|
||||||
|
if ( listing?.category?.slug === 'developer-tools' ) return 'codeable-1'
|
||||||
|
|
||||||
|
return 'default'
|
||||||
|
})()
|
||||||
|
|
||||||
---
|
---
|
||||||
<section class="container space-y-8 py-32">
|
<section class="container space-y-8 py-32">
|
||||||
|
|
||||||
|
|
@ -65,7 +76,7 @@ const details = new ListingDetails( listing )
|
||||||
<Virtualization listing={ listing } />
|
<Virtualization listing={ listing } />
|
||||||
|
|
||||||
<AdInline
|
<AdInline
|
||||||
name={ listing.isGame ? 'new-world-1' : 'default' }
|
name={ adName }
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Devices
|
<Devices
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue