Skip to content

Enhancing Blog Card with author details#1514

Merged
sanjay-kv merged 6 commits into
recodehive:mainfrom
steam-bell-92:main
May 15, 2026
Merged

Enhancing Blog Card with author details#1514
sanjay-kv merged 6 commits into
recodehive:mainfrom
steam-bell-92:main

Conversation

@steam-bell-92
Copy link
Copy Markdown
Member

Description

This PR redirects the blog headline to its respective blog page, displays the blog author details with clickable navigation to their GitHub profile, and replaces the default profile image with the author’s GitHub avatar.

Fixes #1492

Type of Change

  • New feature (e.g., new page, component, or functionality)
  • Bug fix (non-breaking change that fixes an issue)
  • UI/UX improvement (design, layout, or styling updates)
  • Performance optimization (e.g., code splitting, caching)
  • Documentation update (README, contribution guidelines, etc.)
  • Other (please specify):

Changes Made

  • Added redirection from blog card headline to the respective blog page
  • Fetched and displayed the blog author's information on the blog card
  • Made author name clickable, redirecting users to the author's GitHub profile
  • Replaced the default profile image with the author's GitHub profile picture

Checklist

  • My code follows the style guidelines of this project.
  • I have tested my changes across major browsers and devices
  • My changes do not generate new console warnings or errors .
  • I ran npm run build and attached screenshot(s) in this PR.
  • This is already assigned Issue to me, not an unassigned issue.
Blogs.from.recode.hive._.recode.hive.-.Google.Chrome.2026-05-14.23-42-12.mp4

Copilot AI review requested due to automatic review settings May 14, 2026 18:30
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 14, 2026

@steam-bell-92 is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs.

In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊

Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.

We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰

🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨

📚Your perks for contribution to this community 👇🏻

  1. Get free Consultation use code recode50 to get free: Mentorship for free.

  2. Get the Ebook for free use code recode at checkout: Data Science cheatsheet for Beginners.

  3. Check out this weekly Newsletter: Sanjay's Newsletter.

If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@github-actions github-actions Bot added in-review The current changes are in review and would need approval and testing before merging level 1 10 points recode this is label for leaderboard labels May 14, 2026
@github-actions github-actions Bot added this to the recode:launch 3.0 milestone May 14, 2026
@github-actions
Copy link
Copy Markdown

✅ Synchronized metadata from Issue #1492:

  • Labels: level 1, recode
  • Milestone: recode:launch 3.0

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances blog cards across the /blogs page and the blog carousel by making titles clickable (to the blog post), displaying author names as links to GitHub profiles, and showing GitHub avatars with tooltip details.

Changes:

  • Added centralized author profile metadata/utilities (getAuthorProfiles, getAuthorTooltip) for consistent author rendering.
  • Updated /blogs listing cards and carousel cards to link titles to blog pages and render author stacks + GitHub links.
  • Updated CSS to support title links, stacked avatars, and multi-line tooltips.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
src/utils/authors.ts Adds author profile model + helpers to fetch profiles/tooltips for use in UI components.
src/pages/blogs/index.tsx Updates blog listing cards to link titles, render author stacks, and link authors to GitHub.
src/pages/blogs/blogs-new.css Adds styles for title links, stacked avatars, and tooltip formatting on the blogs page.
src/components/blogCarousel/blogCarousel.css Adds styles for title links, stacked avatars, and tooltips in the carousel UI.
src/components/blogCarousel/blogCard.tsx Updates carousel blog card UI to link titles/read-more and render author details/avatars.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/pages/blogs/index.tsx Outdated
Comment thread src/pages/blogs/index.tsx
Comment thread src/pages/blogs/index.tsx
Comment thread src/pages/blogs/blogs-new.css
Comment thread src/pages/blogs/blogs-new.css Outdated
Comment thread src/components/blogCarousel/blogCard.tsx Outdated
Comment thread src/components/blogCarousel/blogCard.tsx
Comment thread src/components/blogCarousel/blogCard.tsx
Comment thread src/components/blogCarousel/blogCarousel.css
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

✅ Synchronized metadata from Issue #1492:

  • Labels: level 1, recode
  • Milestone: recode:launch 3.0

@github-actions
Copy link
Copy Markdown

✅ Synchronized metadata from Issue #1492:

  • Labels: level 1, recode
  • Milestone: recode:launch 3.0

Commented out the author avatar styles in blogCarousel.css.
@github-actions
Copy link
Copy Markdown

✅ Synchronized metadata from Issue #1492:

  • Labels: level 1, recode
  • Milestone: recode:launch 3.0

Comment out styles for the author avatar wrapper.
@github-actions
Copy link
Copy Markdown

✅ Synchronized metadata from Issue #1492:

  • Labels: level 1, recode
  • Milestone: recode:launch 3.0

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 15, 2026

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

Project Deployment Actions Updated (UTC)
recode-website Ready Ready Preview, Comment May 15, 2026 0:30am

@sanjay-kv sanjay-kv merged commit a0ed8e3 into recodehive:main May 15, 2026
5 checks passed
@sanjay-kv
Copy link
Copy Markdown
Member

@steam-bell-92 great dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in-review The current changes are in review and would need approval and testing before merging level 1 10 points recode this is label for leaderboard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change to main blog page author desing

3 participants