Skip to content

feat(blog): move "About the author" card to the bottom of each post - #8060

Merged
ankur-arch merged 1 commit into
mainfrom
chore/blog-author-bio-bottom
Jul 10, 2026
Merged

feat(blog): move "About the author" card to the bottom of each post#8060
ankur-arch merged 1 commit into
mainfrom
chore/blog-author-bio-bottom

Conversation

@ankur-arch

@ankur-arch ankur-arch commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

What

Moves the per-post "About the author" card (AuthorBio) from just below the post header to the end of the article, after the body and before the series / related-posts section. This affects every blog post page (apps/blog/src/app/(blog)/[slug]/page.tsx).

The compact byline at the top (author avatars + publish date, AuthorAvatarGroup) is unchanged — only the full author-bio card moves.

Why

Places author credentials where readers naturally reach them: right after finishing the post, the conventional spot for an "About the author" block.

Changes

  • apps/blog/src/app/(blog)/[slug]/page.tsx — render <AuthorBio> after </article> instead of before the body.
  • apps/blog/src/components/AuthorBio.tsx — update the component docstring to describe the end-of-post placement.
  • Placement comments updated to match.

Note / tradeoff

The bio was originally surfaced high in the document deliberately, for E-E-A-T and so LLM/agent crawlers encounter author credentials early (#8037). Moving it to the bottom reverses that choice. The author name/link still appears at the top via the byline, and full BlogPosting + Person structured data (author name, URL, bio, social profiles) is emitted in JSON-LD regardless of visual placement, so machine-readable authorship is preserved. Flag if you'd prefer the bio to remain near the top.

Scope

Layout-only; no data, schema, or API changes.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Improvements
    • Moved the “About the author” biography to the end of blog posts, placing it immediately after the article content.
    • Kept related posts, calls to action, and sharing options following the author biography.

Relocate the per-post AuthorBio ("About the author") card from just below
the header to the end of the article, after the body and before the
series/related-posts section, so readers meet the author credentials
right after finishing the post. The compact byline (avatars + date) stays
in the header. Update the placement comments to match.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment Jul 10, 2026 3:29pm
docs Ready Ready Preview, Comment Jul 10, 2026 3:29pm
eclipse Ready Ready Preview, Comment Jul 10, 2026 3:29pm
site Ready Ready Preview, Comment Jul 10, 2026 3:29pm

Request Review

@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 7d5c4090-cdfd-47b8-aaec-7c375f2e1e26

📥 Commits

Reviewing files that changed from the base of the PR and between d6f4c4e and 89fdfd5.

📒 Files selected for processing (2)
  • apps/blog/src/app/(blog)/[slug]/page.tsx
  • apps/blog/src/components/AuthorBio.tsx

Walkthrough

The blog post page now renders AuthorBio after the article content, while related posts and sharing elements remain afterward. The component’s inline documentation was updated to reflect the new placement.

Changes

Author bio placement

Layer / File(s) Summary
Post rendering order and documentation
apps/blog/src/app/(blog)/[slug]/page.tsx, apps/blog/src/components/AuthorBio.tsx
AuthorBio moves from before the post body to the end of the article, and its placement rationale is updated in the component documentation.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

  • prisma/web#8037: Introduced the AuthorBio usage on the same blog post page.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: moving the About the author card to the end of each blog post.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Comment @coderabbitai help to get the list of available commands.

@argos-ci

argos-ci Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected 1 ignored Jul 10, 2026, 3:36 PM

@ankur-arch
ankur-arch merged commit 6312523 into main Jul 10, 2026
16 of 17 checks passed
@ankur-arch
ankur-arch deleted the chore/blog-author-bio-bottom branch July 10, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant