Skip to content

Commit 729c6be

Browse files
committed
Add: New blog for freecodecamp
1 parent b3785a2 commit 729c6be

File tree

4 files changed

+44
-41
lines changed

4 files changed

+44
-41
lines changed

components/FreeCodeCampCard/FreeCodeCamp.js

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,41 +11,46 @@ export default function FreeCodeCamp({ showDesc = true }) {
1111
{showDesc && (
1212
<h2 className="prose text-gray-600 dark:text-gray-400 mb-16">
1313
I’ve been writing articles for{" "}
14-
<a href="https://freecodecamp.com">freeCodeCamp</a> where I generally
15-
write about projects and technical learnings. Some of the articles
16-
that I wrote are down below.
14+
<a href="https://www.freecodecamp.org/news/author/manu/">
15+
freeCodeCamp
16+
</a>{" "}
17+
where I generally write about projects and technical learnings. Some
18+
of the articles that I wrote are down below.
1719
</h2>
1820
)}
19-
<div className="flex flex-col items-center sm:flex-row sm:space-x-8 w-full">
21+
<div className=" grid grid-cols-1 sm:grid-cols-2 gap-10 lg:gap-10 w-full">
22+
<ProjectFCC
23+
link="https://www.freecodecamp.org/news/prepare-for-react-technical-interviews/"
24+
title="How to Prepare for React Interviews – Front-End Technical Interview Guide"
25+
image="freecodecamp/react-interview.png"
26+
date="Sept 8, 2022"
27+
/>
2028
<ProjectFCC
2129
link="https://www.freecodecamp.org/news/how-to-build-react-based-code-editor/"
2230
title="How to Build a Code Editor with React that Compiles and Executes in 40+ Languages"
2331
image="freecodecamp/codeeditor.png"
2432
date="May 25, 2022"
2533
/>
34+
2635
<ProjectFCC
2736
link="https://www.freecodecamp.org/news/integrate-a-payment-gateway-in-next-js-and-react-with-razorpay-and-tailwindcss/"
2837
title="How to Set Up a Payment Gateway in Next.js and React with Razorpay and TailwindCSS"
2938
image="freecodecamp/payments.png"
3039
date="Dec 22, 2021"
3140
/>
32-
</div>
33-
<div className="flex flex-col items-center sm:flex-row sm:space-x-8 w-full">
3441
<ProjectFCC
3542
link="https://www.freecodecamp.org/news/how-to-build-a-working-contact-form-with-sendgrid-and-next-js/"
3643
title="Send emails with your contact form with SendGrid and Next.js"
3744
image="freecodecamp/sendgrid.png"
3845
date="October 21, 2021"
3946
/>
47+
4048
<ProjectFCC
4149
link="https://www.freecodecamp.org/news/how-to-create-beautiful-box-shadows-in-html-and-css/"
4250
title="Create Beautiful box shadows with HTML, CSS and TailwindCSS"
4351
image="freecodecamp/boxshadows.png"
4452
date="January 3, 2022"
4553
/>
46-
</div>
47-
48-
<div className="flex flex-col items-center sm:flex-row sm:space-x-8 w-full">
4954
<ProjectFCC
5055
link="https://www.freecodecamp.org/news/how-to-build-a-portfolio-site-with-nextjs-tailwindcss/"
5156
title="Build a developers portfolio website with Next.js and TailwindCSS"

components/FreeCodeCampCard/Project.js

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@ import React from "react";
22

33
const ProjectFCC = ({ link, image, title, date }) => {
44
return (
5-
<a href={link} className=" w-3/4 sm:w-1/2 mb-10 min-h-72" target="__blank">
6-
<div className=" flex-shrink-0 rounded-lg shadow-xl shadow-gray-500/20 dark:shadow-blue-500/20 overflow-hidden ">
7-
<div className="relative overflow-hidden h-40 w-full bg-gradient-to-r from-pink-500 via-red-500 to-yellow-500">
8-
<img
9-
src={image}
10-
className="transition hover:scale-125 duration-[2000ms] absolute inset-x-0 top-4 rounded-md w-[90%] mx-auto"
11-
/>
12-
</div>
13-
<div className="flex flex-col justify-between mx-4 my-4 ">
14-
<h2 className="font-bold text-lg mb-14 text-gray-700">{title}</h2>
15-
<p className="text-sm font-light">{date}</p>
16-
</div>
5+
<a href={link} className=" w-full mb-10 h-full" target="__blank">
6+
<div className="relative overflow-hidden h-52 flex items-center justify-center rounded-md w-full bg-gradient-to-r from-pink-500 via-red-500 to-yellow-500">
7+
<img
8+
src={image}
9+
className="transition hover:scale-110 duration-[4000ms] rounded-md w-[90%] mx-auto"
10+
/>
11+
</div>
12+
<p className="text-sm font-light py-2">{date}</p>
13+
<div className="flex flex-col justify-between ">
14+
<h2 className="font-bold text-lg text-gray-700">{title}</h2>
1715
</div>
1816
</a>
1917
);
682 KB
Loading

public/sitemap.xml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -45,76 +45,76 @@
4545
</url>
4646

4747
<url>
48-
<loc
49-
>https://manuarora.in/snippets/firebase-auth-with-user-doc-firestore</loc
50-
>
48+
<loc>https://manuarora.in/blog/ace-the-javascript-interview</loc>
5149
</url>
5250

5351
<url>
54-
<loc>https://manuarora.in/snippets/gradient-border</loc>
52+
<loc>https://manuarora.in/blog/blogging-platform-nextjs</loc>
5553
</url>
5654

5755
<url>
58-
<loc>https://manuarora.in/snippets/gradient-text</loc>
56+
<loc>https://manuarora.in/blog/build-your-own-covid-leads-portal</loc>
5957
</url>
6058

6159
<url>
62-
<loc>https://manuarora.in/snippets/keyboard-events</loc>
60+
<loc>https://manuarora.in/blog/developer-portfolio-website</loc>
6361
</url>
6462

6563
<url>
66-
<loc>https://manuarora.in/snippets/loader</loc>
64+
<loc>https://manuarora.in/blog/how-to-effectively-freelance</loc>
6765
</url>
6866

6967
<url>
70-
<loc>https://manuarora.in/snippets/moving-card</loc>
68+
<loc>https://manuarora.in/blog/top-5-nextjs-resources</loc>
7169
</url>
7270

7371
<url>
74-
<loc>https://manuarora.in/snippets/navbar-effect</loc>
72+
<loc
73+
>https://manuarora.in/snippets/firebase-auth-with-user-doc-firestore</loc
74+
>
7575
</url>
7676

7777
<url>
78-
<loc>https://manuarora.in/snippets/razorpay</loc>
78+
<loc>https://manuarora.in/snippets/gradient-border</loc>
7979
</url>
8080

8181
<url>
82-
<loc>https://manuarora.in/snippets/sendgrid</loc>
82+
<loc>https://manuarora.in/snippets/gradient-text</loc>
8383
</url>
8484

8585
<url>
86-
<loc>https://manuarora.in/snippets/spotify</loc>
86+
<loc>https://manuarora.in/snippets/keyboard-events</loc>
8787
</url>
8888

8989
<url>
90-
<loc>https://manuarora.in/snippets/tailwind-card</loc>
90+
<loc>https://manuarora.in/snippets/loader</loc>
9191
</url>
9292

9393
<url>
94-
<loc>https://manuarora.in/snippets/toast</loc>
94+
<loc>https://manuarora.in/snippets/moving-card</loc>
9595
</url>
9696

9797
<url>
98-
<loc>https://manuarora.in/blog/ace-the-javascript-interview</loc>
98+
<loc>https://manuarora.in/snippets/navbar-effect</loc>
9999
</url>
100100

101101
<url>
102-
<loc>https://manuarora.in/blog/blogging-platform-nextjs</loc>
102+
<loc>https://manuarora.in/snippets/razorpay</loc>
103103
</url>
104104

105105
<url>
106-
<loc>https://manuarora.in/blog/build-your-own-covid-leads-portal</loc>
106+
<loc>https://manuarora.in/snippets/sendgrid</loc>
107107
</url>
108108

109109
<url>
110-
<loc>https://manuarora.in/blog/developer-portfolio-website</loc>
110+
<loc>https://manuarora.in/snippets/spotify</loc>
111111
</url>
112112

113113
<url>
114-
<loc>https://manuarora.in/blog/how-to-effectively-freelance</loc>
114+
<loc>https://manuarora.in/snippets/tailwind-card</loc>
115115
</url>
116116

117117
<url>
118-
<loc>https://manuarora.in/blog/top-5-nextjs-resources</loc>
118+
<loc>https://manuarora.in/snippets/toast</loc>
119119
</url>
120120
</urlset>

0 commit comments

Comments
 (0)