Add Codeable to Developer Tools lists

This commit is contained in:
Sam Carlton 2022-07-01 13:13:16 -05:00
parent 276e7326b4
commit 8ee6b911a2

View file

@ -69,6 +69,14 @@ if ( !!categorySlug ) {
pageLabel = category?.pluralLabel || category.label pageLabel = category?.pluralLabel || category.label
} }
const adName = (() => {
if ( kindName === 'game' ) return 'new-world-1'
if ( kindName === 'developer-tools' ) return 'codeable-1'
return 'default'
})()
--- ---
<Layout <Layout
headOptions={{ headOptions={{
@ -106,7 +114,7 @@ if ( !!categorySlug ) {
client:load client:load
> >
<AdInline <AdInline
name={ kindName === 'game' ? 'new-world-1' : 'default' } name={ adName }
/> />
</Search> </Search>