ads: float SidebarAdStack at top of <main> on 7 more pages
gear, technology, search, reading-list, show-coverage, authors/[slug], forum/thread/[id] all now render the 300x600 + 300x250 stack as a floating right column at the top of the content area. Existing single-column page structure preserved (content wraps). Maximizes impression count: every pageview across these pages now counts 300x600 + every 300x250 in the stack, on top of the existing 728x90 in Header.
This commit is contained in:
@@ -7,6 +7,7 @@ import AppImage from "@/components/ui/AppImage";
|
||||
import AdImage from "@/components/AdImage";
|
||||
import { ADS_728X90, shuffle } from "@/lib/ads";
|
||||
import { getLegacyArticlesBySection } from "@/lib/articles/legacy-source";
|
||||
import SidebarAdStack from "@/components/SidebarAdStack";
|
||||
|
||||
export const revalidate = 1800;
|
||||
|
||||
@@ -125,6 +126,7 @@ export default async function TechnologyPage({ searchParams }: PageProps) {
|
||||
</div>
|
||||
|
||||
<main className="max-w-container mx-auto px-4 py-8">
|
||||
<aside className="float-right ml-6 mb-6 hidden lg:block max-w-[300px]"><SidebarAdStack /></aside>
|
||||
{articles.length === 0 && (
|
||||
<div className="text-center py-16">
|
||||
<p className="font-body text-[#888] text-base">
|
||||
|
||||
Reference in New Issue
Block a user