diff --git a/attached_assets/image_1772785237269.png b/attached_assets/image_1772785237269.png new file mode 100644 index 0000000..712e85f Binary files /dev/null and b/attached_assets/image_1772785237269.png differ diff --git a/client/src/components/adsense.tsx b/client/src/components/adsense.tsx index 19e4f72..591a344 100644 --- a/client/src/components/adsense.tsx +++ b/client/src/components/adsense.tsx @@ -121,10 +121,12 @@ export function MultiplexAd() { ); } -export function PageSideAds() { +export function PageSideAds({ contentHalfWidth = 640 }: { contentHalfWidth?: number }) { + const gap = 10; + const offset = contentHalfWidth + gap; return (
-
+
-
+
- +
diff --git a/client/src/pages/article.tsx b/client/src/pages/article.tsx index bb9bb4c..ce97661 100644 --- a/client/src/pages/article.tsx +++ b/client/src/pages/article.tsx @@ -164,7 +164,7 @@ export default function ArticlePage() { return (
- +