Skip to content

Commit d5b7f06

Browse files
authored
Merge pull request #21 from lassiecoder/staging
feat: added "work with me" CTA
2 parents e229a6a + 7351f99 commit d5b7f06

File tree

3 files changed

+84
-18
lines changed

3 files changed

+84
-18
lines changed

src/app/globals.css

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,32 @@ body {
4343
.animate-spin-slow {
4444
animation: spin-slow 10s linear infinite;
4545
}
46+
47+
.blob {
48+
background: #2c98e7;
49+
border-radius: 50%;
50+
margin: 4px;
51+
height: 10px;
52+
width: 10px;
53+
54+
box-shadow: 0 0 0 0 #82bee9;
55+
transform: scale(1);
56+
animation: pulse 2s infinite;
57+
}
58+
59+
@keyframes pulse {
60+
0% {
61+
transform: scale(0.55);
62+
box-shadow: 0 0 0 0 #82bee9;
63+
}
64+
65+
70% {
66+
transform: scale(1);
67+
box-shadow: 0 0 0 8px rgba(0, 0, 0, 0);
68+
}
69+
70+
100% {
71+
transform: scale(0.75);
72+
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
73+
}
74+
}

src/app/pages/about.tsx

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Tooltip from "@/components/Tooltip";
44
import Link from "next/link";
55
import React from "react";
66
import { HiMiniBellAlert } from "react-icons/hi2";
7+
import { IoGitNetworkOutline } from "react-icons/io5";
78

89
const About = () => {
910
return (
@@ -80,7 +81,7 @@ const About = () => {
8081
innovation and excellence defines every project I undertake.
8182
</p>
8283
</h3>
83-
<div className="flex justify-center items-center">
84+
<div className="flex justify-center items-center space-x-3 max-[478px]:flex-col max-[478px]:space-x-0 max-[478px]:space-y-3">
8485
<Link
8586
href={"https://techscoop.hashnode.dev/newsletter"}
8687
target="_blank"
@@ -93,6 +94,20 @@ const About = () => {
9394
</span>
9495
</button>
9596
</Link>
97+
98+
<Link
99+
href={"https://forms.gle/udY3jQDBETu81BNf9"}
100+
target="_blank"
101+
className="block md:hidden"
102+
>
103+
<button className="relative inline-flex h-10 overflow-hidden rounded-full p-[1px] focus:outline-none focus:ring-2 focus:ring-slate-400 focus:ring-offset-2 focus:ring-offset-slate-50">
104+
<span className="absolute inset-[-1000%] animate-[spin_2s_linear_infinite] bg-[conic-gradient(from_90deg_at_50%_50%,#E2CBFF_0%,#393BB2_50%,#E2CBFF_100%)]" />
105+
<span className="inline-flex h-full w-full cursor-pointer items-center justify-center rounded-full bg-slate-950 px-3 py-1 text-sm font-medium text-white backdrop-blur-3xl">
106+
&nbsp; Work with me &nbsp;
107+
<IoGitNetworkOutline className="mr-2 text-xl" />
108+
</span>
109+
</button>
110+
</Link>
96111
</div>
97112
</div>
98113
);

src/components/footer.tsx

Lines changed: 39 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
FaMailBulk
1111
} from "react-icons/fa";
1212
import Link from "next/link";
13+
import { HiMiniBellAlert } from "react-icons/hi2";
1314

1415
export default function Footer() {
1516
const trackSponsorClick = () => {
@@ -22,24 +23,45 @@ export default function Footer() {
2223
return (
2324
<div className="flex bg-black w-full items-center xl:px-8 lg:px-8 md:px-8 px-4 pt-6">
2425
{/* Container that changes between centered/between based on screen size */}
25-
<div className="w-full flex justify-center md:justify-between sm:justify-between items-center">
26-
{/* Left Side - GitHub Sponsor Button */}
27-
<Link
28-
href={"https://github.com/sponsors/lassiecoder"}
29-
className="inline-flex items-center mr-4 w-[100px] h-[40px]"
30-
onClick={trackSponsorClick}
31-
>
32-
<Image
33-
src="/sponsor-icon.png"
34-
alt="Sponsor lassiecoder on GitHub"
35-
className="h-8 w-auto rounded-lg"
36-
width={100}
37-
height={10}
38-
style={{ width: "100%", height: "auto" }}
39-
/>
40-
</Link>
26+
<div className="w-full flex justify-between items-center">
27+
{/* Left Side - Both Links */}
28+
<div className="flex items-center space-x-3">
29+
<Link
30+
href={"https://github.com/sponsors/lassiecoder"}
31+
className="inline-flex items-center mr-2 w-[100px] h-[40px]"
32+
onClick={trackSponsorClick}
33+
>
34+
<Image
35+
src="/sponsor-icon.png"
36+
alt="Sponsor lassiecoder on GitHub"
37+
className="h-8 w-auto rounded-lg"
38+
width={100}
39+
height={10}
40+
style={{ width: "100%", height: "auto" }}
41+
/>
42+
</Link>
43+
44+
<div className="flex justify-center items-center">
45+
{/* <Link
46+
href={"https://forms.gle/MLcypaSbFCefBdza7"}
47+
target="_blank"
48+
className="flex items-center space-x-1 border-[0.8px] border-[#2c98e7] rounded-full px-4 py-1.5 text-xs text-white transition-all duration-300 hover:scale-105 hover:border-[#a855f7] hover:shadow-[0_0_8px_#9333ea]"
49+
>
50+
<div className="blob"></div>
51+
<span className="text-xs">Work with me</span>
52+
</Link> */}
53+
<Link
54+
href={"https://forms.gle/MLcypaSbFCefBdza7"}
55+
target="_blank"
56+
className="hidden md:flex items-center space-x-1 border-[0.8px] border-[#2c98e7] rounded-full px-4 py-1.5 text-xs text-white transition-all duration-300 hover:scale-105 hover:border-[#a855f7] hover:shadow-[0_0_8px_#9333ea]"
57+
>
58+
<div className="blob"></div>
59+
<span className="text-xs">Work with me</span>
60+
</Link>
61+
</div>
62+
</div>
4163

42-
{/* Social Icons - Centered on small screens */}
64+
{/* Right Side - Social Icons */}
4365
<div className="flex space-x-5 md:space-x-8 items-center">
4466
<SocialLink
4567
href="https://github.com/lassiecoder"

0 commit comments

Comments
 (0)