Skip to content

fix: replace main page hero image with hero-img.png and improve acces…#1897

Closed
kotebhakti30 wants to merge 1 commit into
recodehive:mainfrom
kotebhakti30:fix/replace-main-page-image
Closed

fix: replace main page hero image with hero-img.png and improve acces…#1897
kotebhakti30 wants to merge 1 commit into
recodehive:mainfrom
kotebhakti30:fix/replace-main-page-image

Conversation

@kotebhakti30

Copy link
Copy Markdown

PR Title: fix: replace main page hero image with hero-img.png
PR Description:
Summary
Replaces the current /selfhero.png hero image on the main page with /img/hero-img.png, improving visual appeal and accessibility as referenced in the issue.
Changes
src/pages/index.tsx

Replaced /selfhero.png with /img/hero-img.png
Replaced inline onClick navigation with a proper tag with target="_blank" and rel="noopener noreferrer" for better accessibility and security
Added loading="lazy" to the image for better performance
Added hover scale transition effect for better UX
Kept existing margin and rounded corner styling

Expected Outcome

Homepage displays the updated hero image
Image is fully responsive across desktop and mobile
No visual regressions to surrounding UI elements
Page performance maintained with lazy loading

Related Issues
Closes #1498

@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

@kotebhakti30 is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

@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 Jun 14, 2026
@github-actions github-actions Bot added this to the recode:launch 3.0 milestone Jun 14, 2026
@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 Enhacement gssoc26 label gssoc:approved gssoc label level:intermediate gssoc labels 35pts type:design gssoc labels 10pts type:performance gssoc label 15pts type:refractor gssoc label 10pts labels Jun 14, 2026
@github-actions

Copy link
Copy Markdown

✅ Synchronized metadata from Issue #1498:

  • Labels: level 1, recode, Enhacement, level:intermediate, gssoc:approved, type:design, type:refractor, type:performance
  • Milestone: recode:launch 3.0

Comment thread src/pages/index.tsx Outdated
Comment on lines +74 to +86

<div
className="m-4"
onClick={() => (window.location.href = "https://www.sanjaykv.com/")}
>
<img
src="/selfhero.png"
alt="recodehive"
className="h-full w-full cursor-pointer rounded-2xl object-cover"
/>
<div className="m-4">
<a
href="https://www.sanjaykv.com/"
target="_blank"
rel="noopener noreferrer"
className="block overflow-hidden rounded-2xl shadow-lg transition-transform duration-300 hover:scale-[1.01]"
>
<img
src="/img/hero-img.png"
alt="ReCode Hive - Learn to Code"
className="h-full w-full object-cover"
loading="lazy"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@kotebhakti30 i thinki you didn't able to understand the issue completely . the main task is to replace the image highlighted in the issue with the builder note kind of image that we had pointed out . this is not the desired changes . Please take a look onto the issue

@iitzIrFan iitzIrFan moved this to In Progress in @recode-web Jun 14, 2026
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
recode-website Ready Ready Preview, Comment Jun 15, 2026 12:47am

@github-actions

Copy link
Copy Markdown

✅ Synchronized metadata from Issue #1498:

  • Labels: level 1, recode, Enhacement, level:intermediate, gssoc:approved, type:design, type:refractor, type:performance
  • Milestone: recode:launch 3.0

Comment thread src/pages/index.tsx

<div
className="m-4"
onClick={() => (window.location.href = "https://www.sanjaykv.com/")}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@kotebhakti30 kotebhakti30 force-pushed the fix/replace-main-page-image branch from e3cc1c3 to ffdc8ba Compare June 17, 2026 03:00
@github-actions

Copy link
Copy Markdown

✅ Synchronized metadata from Issue #1498:

  • Labels: level 1, recode, Enhacement, level:intermediate, gssoc:approved, type:design, type:refractor, type:performance
  • Milestone: recode:launch 3.0

Comment thread src/pages/index.tsx
className="m-4"
onClick={() => (window.location.href = "https://www.sanjaykv.com/")}
>
<div className="m-4">

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

plz bring back,
onClick={() => (window.location.href = "https://www.sanjaykv.com/")}
rest looks good to me though!

@iitzIrFan iitzIrFan requested review from Adez017 and sanjay-kv June 17, 2026 08:10
Comment thread src/pages/index.tsx
src="/hero-builder-note.svg"
alt="Dear Coder — a note from the ReCode Hive team"
className="h-full w-full rounded-2xl object-cover shadow-md"
loading="lazy"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is it an acceptable change @sanjay-kv ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nope

@sanjay-kv sanjay-kv closed this Jun 17, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to Done in @recode-web Jun 17, 2026
@kotebhakti30

Copy link
Copy Markdown
Author

Hi @sanjay-kv, I want to get this right before reopening the PR. Could you clarify what the "builder note kind of image" should look like? For example:

A specific image file already in the repo I should use?
A design reference or screenshot I can follow?
Should it be an SVG illustration, a photo, or something else entirely?

Also confirming I'll restore the onClick handler as requested by @iitzIrFan. Thanks!

@Adez017

Adez017 commented Jun 18, 2026

Copy link
Copy Markdown
Member

Hi @sanjay-kv, I want to get this right before reopening the PR. Could you clarify what the "builder note kind of image" should look like? For example:

A specific image file already in the repo I should use? A design reference or screenshot I can follow? Should it be an SVG illustration, a photo, or something else entirely?

Also confirming I'll restore the onClick handler as requested by @iitzIrFan. Thanks!

@kotebhakti30 The image is what referenced in the builders club , we want something or exact replica of that for recodehive .

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

Labels

Enhacement gssoc26 label gssoc:approved gssoc label in-review The current changes are in review and would need approval and testing before merging level:intermediate gssoc labels 35pts level 1 10 points recode this is label for leaderboard type:design gssoc labels 10pts type:performance gssoc label 15pts type:refractor gssoc label 10pts

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

replace main page image

4 participants