From e63ff2e8e315799446039bec310ff65f9e547ddd Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Mon, 19 Oct 2026 12:23:54 +0000 Subject: [PATCH] logicsrc-web: move blog ads from the page bottom to the top The blog index and post pages each ended with an AdUnit right above the site footer. It was each page's only ad, so it moves under the heading (under the byline on posts) instead of being removed. Co-Authored-By: Claude Opus 5.5 --- apps/logicsrc-web/src/app/blog/[slug]/page.tsx | 6 +++--- apps/logicsrc-web/src/app/blog/page.tsx | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/logicsrc-web/src/app/blog/[slug]/page.tsx b/apps/logicsrc-web/src/app/blog/[slug]/page.tsx index ddeb81f5..e3246a7f 100644 --- a/apps/logicsrc-web/src/app/blog/[slug]/page.tsx +++ b/apps/logicsrc-web/src/app/blog/[slug]/page.tsx @@ -145,6 +145,9 @@ export default async function BlogPostPage({ ) : null} +
+ +
{post.featured_image?.url ? ( // eslint-disable-next-line @next/next/no-img-element -
- -
); diff --git a/apps/logicsrc-web/src/app/blog/page.tsx b/apps/logicsrc-web/src/app/blog/page.tsx index c16b1bc0..c16c2427 100644 --- a/apps/logicsrc-web/src/app/blog/page.tsx +++ b/apps/logicsrc-web/src/app/blog/page.tsx @@ -54,6 +54,10 @@ export default async function BlogIndex(): Promise {

+
+ +
+ {posts.length === 0 ? (

No posts yet.

) : ( @@ -122,10 +126,6 @@ export default async function BlogIndex(): Promise { })} )} - -
- -
);