← Back to Blog
To Do: Build a banner that is safe for nextjs

To Do: Build a banner that is safe for nextjs

To Do for this website. Build a banner that is safe.

A post from Slack might be the solution needed.

*[_type == 'bannerQueue' && "android" in banners[]->platform[]] { banners["android" in @->banners[].platform[]]->{ _id, bannerType, "description": description[$lang], "imageUrl": image.asset->url, platform, } }[0]

was the solution to what the problem was for another developer.
banners["android" in @->platform[]]->{