Skip to content

Commit 2a7f87a

Browse files
authored
Merge pull request #131 from harish599/main
feat: Clickable Profile card and Our Project redirection to main repo
2 parents c55935c + b4d37f2 commit 2a7f87a

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/components/ourProjects.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ const HeadingComponent: React.FC<HeadingComponentProps> = ({
6060
className="flex items-center md:items-start md:justify-start gap-6 sm:gap-10 flex-col"
6161
>
6262
{/* tag */}
63-
<div className="px-6 py-2 bg-gradient-to-r from-blue-500 to-purple-500 text-white rounded-full text-sm sm:text-base font-medium tracking-wide shadow-lg transform hover:scale-105 transition-transform duration-300">
63+
<div
64+
className="cursor-pointer px-6 py-2 bg-gradient-to-r from-blue-500 to-purple-500 text-white rounded-full text-sm sm:text-base font-medium tracking-wide shadow-lg transform hover:scale-105 transition-transform duration-300"
65+
onClick={() =>
66+
(window.location.href = "https://github.com/recodehive")
67+
}
68+
>
6469
{tag}
6570
</div>
6671
{/* title */}

src/pages/index.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,14 @@ export default function Home(): ReactNode {
5858
<div className="m-4">
5959
<BlogCarousel />
6060
</div>
61-
<div className="m-4">
61+
<div
62+
className="m-4"
63+
onClick={() => (window.location.href = "https://www.sanjaykv.com/")}
64+
>
6265
<img
6366
src="/selfhero.png"
6467
alt="recodehive"
65-
className="w-full h-full object-cover rounded-2xl"
68+
className="w-full h-full object-cover rounded-2xl cursor-pointer"
6669
/>
6770
</div>
6871
<div className="m-4">

0 commit comments

Comments
 (0)