Skip to content

Commit c9feddd

Browse files
Merge branch 'main' of https://github.com/sohumvenkatadri7/recode-website into fix-hyperlink-faq
2 parents 7d6db73 + f3c492e commit c9feddd

7 files changed

Lines changed: 74 additions & 60 deletions

File tree

.github/workflows/autocomment-iss-raise.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
issue_number: context.issue.number,
2222
owner: context.repo.owner,
2323
repo: context.repo.repo,
24-
body: "Thanks for opening this issue! 🎉 We'll look into it as soon as possible, estimated time for response is 5–8 hrs. \n\n Don't raise PR unless assigned to you.\n\nIn the meantime, please provide all necessary details and context to your issue — screenshots or videos of your changes help speed up the review and assignment. If you have questions, reach out to [LinkedIn](https://www.linkedin.com/in/sanjay-k-v/). Your contributions are highly appreciated!😊 \n\n Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your issue goes stale for more than one day, you can tag and comment on this same issue by tagging **@sanjay-kv**.\n\nWe are here to help you on this journey of open source. Consistent contributions are eligible for sponsorship 💰 \n\n 🎁 check our list of amazing people we sponsored so far: [GitHub Sponsorship](https://www.recodehive.com/our-sponsors). ✨ \n\n 📚Resources which can help you know more about Github 👇🏻 \n\n 1. End to End GitHub Beginner Playlist: [GitHub Playlist](https://www.youtube.com/watch?v=GrTV59Y84S8&list=PLrLTYhoDFx-kiuFiGQqVpYYZ56pIhUW63&ab_channel=RecodeHive). \n\n 2. Build your GitHub Profile: [GitHub Profile Optimisation](https://www.youtube.com/watch?v=w1zFVtthiYc&list=PLrLTYhoDFx-lTIzox5agrJgd9QbKHKPOI&ab_channel=RecodeHive). \n\n 3. GitHub Handbook for dummies: [GitHub Blog for Beginners.](https://www.recodehive.com/docs/GitHub/intro-github)"
24+
body: "Thanks for opening this issue! 🎉 We'll look into it as soon as possible, estimated time for response is 5–8 hrs. \n\n Don't raise PR unless assigned to you.\n\nIn the meantime, please provide all necessary details and context to your issue — screenshots or videos of your changes help speed up the review and assignment. If you have questions, reach out to [LinkedIn](https://www.linkedin.com/in/sanjay-k-v/). Your contributions are highly appreciated!😊 \n\n Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your issue goes stale for more than one day, you can tag and comment on this same issue by tagging **@sanjay-kv**.\n\nWe are here to help you on this journey of open source. Consistent contributions are eligible for sponsorship 💰 \n\n 🎁 check our list of amazing people we sponsored so far: [GitHub Sponsorship](https://www.recodehive.com/our-sponsors/#people-we-sponsored). ✨ \n\n 📚Resources which can help you know more about Github 👇🏻 \n\n 1. End to End GitHub Beginner Playlist: [GitHub Playlist](https://www.youtube.com/watch?v=GrTV59Y84S8&list=PLrLTYhoDFx-kiuFiGQqVpYYZ56pIhUW63&ab_channel=RecodeHive). \n\n 2. Build your GitHub Profile: [GitHub Profile Optimisation](https://www.youtube.com/watch?v=w1zFVtthiYc&list=PLrLTYhoDFx-lTIzox5agrJgd9QbKHKPOI&ab_channel=RecodeHive). \n\n 3. GitHub Handbook for dummies: [GitHub Blog for Beginners.](https://www.recodehive.com/docs/GitHub/intro-github)"
2525
2626
});

.github/workflows/autocomment-pr-raise.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: |
1919
COMMENT=$(cat <<EOF
2020
{
21-
"body": "Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs. \\n\n 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](https://www.linkedin.com/in/sanjay-k-v/). Your contributions are highly appreciated!😊 \n\n 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**.\n\n We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰 \n\n 🎁 check our list of amazing people we sponsored so far: [GitHub Sponsorship](https://www.recodehive.com/our-sponsors). ✨ \n\n 📚Your perks for contribution to this community 👇🏻 \n\n 1. Get free Consultation use code recode50 to get free: [Mentorship for free](https://event.recodehive.com/git). \n\n 2. Get the Ebook for free use code recode at checkout: [Data Science cheatsheet for Beginners](https://dev.recodehive.com/book). \n\n 3. Check out this weekly Newsletter: [Sanjay's Newsletter.](https://recodehive.substack.com/) \n\n If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊"
21+
"body": "Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs. \\n\n 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](https://www.linkedin.com/in/sanjay-k-v/). Your contributions are highly appreciated!😊 \n\n 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**.\n\n We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰 \n\n 🎁 check our list of amazing people we sponsored so far: [GitHub Sponsorship](https://www.recodehive.com/our-sponsors/#people-we-sponsored). ✨ \n\n 📚Your perks for contribution to this community 👇🏻 \n\n 1. Get free Consultation use code recode50 to get free: [Mentorship for free](https://event.recodehive.com/git). \n\n 2. Get the Ebook for free use code recode at checkout: [Data Science cheatsheet for Beginners](https://dev.recodehive.com/book). \n\n 3. Check out this weekly Newsletter: [Sanjay's Newsletter.](https://recodehive.substack.com/) \n\n If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊"
2222
}
2323
EOF
2424
)

src/components/dashboard/LeaderBoard/leaderboard.css

Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
width: 48px;
240240
height: 48px;
241241
border-radius: 50%;
242-
color: #fff;
242+
color: #080808;
243243
font-size: 20px;
244244
}
245245

@@ -259,6 +259,9 @@
259259
font-size: 2rem;
260260
font-weight: 800;
261261
margin-bottom: 4px;
262+
text-align: center;
263+
width: 100%;
264+
262265
}
263266

264267
.light .stat-value {
@@ -276,7 +279,7 @@
276279
}
277280

278281
.light .stat-label {
279-
color: #666;
282+
color: #000000 !important;
280283
}
281284

282285
.dark .stat-label {
@@ -347,10 +350,12 @@
347350
border-color: #6366f1;
348351
box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
349352
}
353+
350354
70% {
351355
border-color: #6366f1;
352356
box-shadow: 0 0 0 6px rgba(99, 102, 241, 0);
353357
}
358+
354359
100% {
355360
border-color: inherit;
356361
}
@@ -387,11 +392,9 @@
387392
font-weight: 600;
388393
letter-spacing: 0.3px;
389394
appearance: none;
390-
background: linear-gradient(
391-
to bottom,
392-
rgba(255, 255, 255, 0.05) 0%,
393-
rgba(0, 0, 0, 0.05) 100%
394-
);
395+
background: linear-gradient(to bottom,
396+
rgba(255, 255, 255, 0.05) 0%,
397+
rgba(0, 0, 0, 0.05) 100%);
395398
cursor: pointer;
396399
transition: all 0.25s ease;
397400
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
@@ -834,37 +837,46 @@
834837
.leaderboard-container {
835838
padding: 24px 8px;
836839
}
840+
837841
.top-performers-grid {
838842
grid-template-columns: 1fr;
839843
gap: 20px;
840844
}
845+
841846
.stats-grid {
842847
grid-template-columns: 1fr;
843848
}
849+
844850
.contributors-header {
845851
display: none;
846852
}
853+
847854
.contributor-row {
848855
grid-template-columns: 1fr;
849856
gap: 16px;
850857
padding: 16px;
851858
margin-bottom: 12px;
852859
border-radius: 8px;
853860
}
861+
854862
.contributor-cell {
855863
padding: 0;
856864
}
865+
857866
.rank-cell {
858867
position: absolute;
859868
top: 8px;
860869
left: 8px;
861870
}
871+
862872
.avatar-cell {
863873
justify-self: center;
864874
}
875+
865876
.username-cell {
866877
text-align: center;
867878
}
879+
868880
.prs-cell,
869881
.points-cell {
870882
justify-self: center;
@@ -957,23 +969,19 @@
957969
width: 32px;
958970
height: 32px;
959971
border-radius: 50%;
960-
background: linear-gradient(
961-
90deg,
962-
rgba(0, 0, 0, 0.06) 25%,
963-
rgba(0, 0, 0, 0.12) 50%,
964-
rgba(0, 0, 0, 0.06) 75%
965-
);
972+
background: linear-gradient(90deg,
973+
rgba(0, 0, 0, 0.06) 25%,
974+
rgba(0, 0, 0, 0.12) 50%,
975+
rgba(0, 0, 0, 0.06) 75%);
966976
background-size: 200% 100%;
967977
animation: skeleton-shimmer 2s infinite;
968978
}
969979

970980
.skeleton-loader.dark .skeleton-avatar {
971-
background: linear-gradient(
972-
90deg,
973-
rgba(255, 255, 255, 0.05) 25%,
974-
rgba(255, 255, 255, 0.1) 50%,
975-
rgba(255, 255, 255, 0.05) 75%
976-
);
981+
background: linear-gradient(90deg,
982+
rgba(255, 255, 255, 0.05) 25%,
983+
rgba(255, 255, 255, 0.1) 50%,
984+
rgba(255, 255, 255, 0.05) 75%);
977985
background-size: 200% 100%;
978986
}
979987

@@ -993,23 +1001,19 @@
9931001
height: 16px;
9941002
width: 60%;
9951003
border-radius: 4px;
996-
background: linear-gradient(
997-
90deg,
998-
rgba(0, 0, 0, 0.06) 25%,
999-
rgba(0, 0, 0, 0.12) 50%,
1000-
rgba(0, 0, 0, 0.06) 75%
1001-
);
1004+
background: linear-gradient(90deg,
1005+
rgba(0, 0, 0, 0.06) 25%,
1006+
rgba(0, 0, 0, 0.12) 50%,
1007+
rgba(0, 0, 0, 0.06) 75%);
10021008
background-size: 200% 100%;
10031009
animation: skeleton-shimmer 2s infinite;
10041010
}
10051011

10061012
.skeleton-loader.dark .skeleton-bar {
1007-
background: linear-gradient(
1008-
90deg,
1009-
rgba(255, 255, 255, 0.05) 25%,
1010-
rgba(255, 255, 255, 0.1) 50%,
1011-
rgba(255, 255, 255, 0.05) 75%
1012-
);
1013+
background: linear-gradient(90deg,
1014+
rgba(255, 255, 255, 0.05) 25%,
1015+
rgba(255, 255, 255, 0.1) 50%,
1016+
rgba(255, 255, 255, 0.05) 75%);
10131017
background-size: 200% 100%;
10141018
}
10151019

@@ -1022,30 +1026,27 @@
10221026
height: 20px;
10231027
width: 60px;
10241028
border-radius: 12px;
1025-
background: linear-gradient(
1026-
90deg,
1027-
rgba(0, 0, 0, 0.06) 25%,
1028-
rgba(0, 0, 0, 0.12) 50%,
1029-
rgba(0, 0, 0, 0.06) 75%
1030-
);
1029+
background: linear-gradient(90deg,
1030+
rgba(0, 0, 0, 0.06) 25%,
1031+
rgba(0, 0, 0, 0.12) 50%,
1032+
rgba(0, 0, 0, 0.06) 75%);
10311033
background-size: 200% 100%;
10321034
animation: skeleton-shimmer 2s infinite;
10331035
}
10341036

10351037
.skeleton-loader.dark .skeleton-badge {
1036-
background: linear-gradient(
1037-
90deg,
1038-
rgba(255, 255, 255, 0.05) 25%,
1039-
rgba(255, 255, 255, 0.1) 50%,
1040-
rgba(255, 255, 255, 0.05) 75%
1041-
);
1038+
background: linear-gradient(90deg,
1039+
rgba(255, 255, 255, 0.05) 25%,
1040+
rgba(255, 255, 255, 0.1) 50%,
1041+
rgba(255, 255, 255, 0.05) 75%);
10421042
background-size: 200% 100%;
10431043
}
10441044

10451045
@keyframes skeleton-shimmer {
10461046
0% {
10471047
background-position: -200% 0;
10481048
}
1049+
10491050
100% {
10501051
background-position: 200% 0;
10511052
}
@@ -1469,4 +1470,4 @@
14691470
.pr-item-meta {
14701471
gap: 12px;
14711472
}
1472-
}
1473+
}

src/pages/dashboard/dashboard.css

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
z-index: 1051;
6363
}
6464

65-
.dashboard-mobile-menu > div:last-child {
65+
.dashboard-mobile-menu>div:last-child {
6666
position: absolute;
6767
top: 0;
6868
left: 0;
@@ -76,7 +76,7 @@
7676
transition: transform 0.3s ease;
7777
}
7878

79-
.dashboard-mobile-menu.show > div:last-child {
79+
.dashboard-mobile-menu.show>div:last-child {
8080
transform: translateX(0);
8181
}
8282

@@ -295,11 +295,9 @@
295295
left: 0;
296296
right: 0;
297297
height: 4px;
298-
background: linear-gradient(
299-
90deg,
300-
var(--ifm-color-primary),
301-
var(--ifm-color-primary-light)
302-
);
298+
background: linear-gradient(90deg,
299+
var(--ifm-color-primary),
300+
var(--ifm-color-primary-light));
303301
}
304302

305303
.dashboard-stat-card:hover {
@@ -322,9 +320,9 @@
322320
}
323321

324322
.dashboard-stat-title {
325-
font-size: 1.1rem;
323+
font-size: 1.2rem;
326324
font-weight: 600;
327-
margin-bottom: 8px;
325+
margin-bottom: inherit;
328326
color: var(--ifm-color-content-secondary);
329327
}
330328

@@ -343,7 +341,7 @@
343341
font-size: 0.9rem;
344342
color: var(--ifm-color-content-secondary);
345343
line-height: 1.4;
346-
margin: 0;
344+
margin-bottom: 0;
347345
}
348346

349347
.loading-spinner {
@@ -359,6 +357,7 @@
359357
0% {
360358
transform: rotate(0deg);
361359
}
360+
362361
100% {
363362
transform: rotate(360deg);
364363
}
@@ -714,4 +713,4 @@
714713
[data-theme="dark"] .loading-spinner {
715714
border-color: var(--ifm-color-emphasis-300);
716715
border-top-color: var(--ifm-color-primary);
717-
}
716+
}

src/pages/dashboard/giveaway/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ const giveawayStyles = `
419419
.dashboard-stat-value {
420420
font-size: 2.5rem;
421421
font-weight: 800;
422-
margin-bottom: 10px;
422+
margin-bottom: inherit;
423423
color: var(--ifm-color-primary);
424424
min-height: 60px;
425425
display: flex;

src/pages/our-sponsors/index.tsx

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const OurSponsors: React.FC = () => {
1717

1818
// Filter for current sponsors (exclude isWeSponsor)
1919
const currentSponsors = sponsors.filter(
20-
(s) => !s.isPastSponsor && !s.isWeSponsor,
20+
(s) => !s.isPastSponsor && !s.isWeSponsor
2121
);
2222
const pastSponsors = sponsors.filter((s) => s.isPastSponsor);
2323

@@ -29,7 +29,7 @@ const OurSponsors: React.FC = () => {
2929
const handlePaymentSuccess = () => {
3030
setShowScanner(false);
3131
alert(
32-
"Thanks, we will redirect to Github Sponsors page, upon sponsoring you will be added to our sponsors list.",
32+
"Thanks, we will redirect to Github Sponsors page, upon sponsoring you will be added to our sponsors list."
3333
);
3434
window.location.href = "https://github.com/sponsors/sanjay-kv?o=esb";
3535
};
@@ -40,6 +40,7 @@ const OurSponsors: React.FC = () => {
4040
setActiveTab(tab);
4141
};
4242

43+
// Handle popup modal close on Escape key and click outside
4344
useEffect(() => {
4445
if (!showScanner) return;
4546

@@ -62,6 +63,16 @@ const OurSponsors: React.FC = () => {
6263
return () => controller.abort();
6364
}, [showScanner]);
6465

66+
// Auto-switch tab if hash is "#people-we-sponsored"
67+
useEffect(() => {
68+
if (window.location.hash === "#people-we-sponsored") {
69+
setActiveTab("past");
70+
// Optionally scroll into view for a nice effect
71+
const el = document.getElementById("people-we-sponsored");
72+
if (el) el.scrollIntoView({ behavior: "smooth" });
73+
}
74+
}, []);
75+
6576
return (
6677
<Layout>
6778
<Head>
@@ -181,7 +192,9 @@ const OurSponsors: React.FC = () => {
181192
</div>
182193
</div>
183194

195+
{/* --- Explicit anchor for "People We Sponsored" --- */}
184196
<div
197+
id="people-we-sponsored"
185198
className={`tab-content ${activeTab === "past" ? "active" : ""}`}
186199
>
187200
{weSponsorPeople.length > 0 ? (

src/theme/Footer/Layout/enhanced-footer.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,7 @@ html[data-theme="light"] .enhanced-footer.light-theme {
894894
}
895895

896896
.support-icon {
897+
font-size: 12px !important;
897898
background: linear-gradient(135deg, #10b981 0%, #047857 100%);
898899
}
899900

0 commit comments

Comments
 (0)