DEV Community

Cover image for Build Dev.to Clone in ReactJS
CodeBucks
CodeBucks

Posted on β€’ Edited on

95 20

Build Dev.to Clone in ReactJS

Hey guys,

Today, I'm feeling so grateful for this DEV community. From the last few months this community gave me lot's of support. So in return I wanted to share something.

I have build this clone of this Dev.to. (Home page only)

Demo Link: https://devto-clone.vercel.app/

This clone has lot's of good features like in the dev,
Such as,

  • Infinite Loading
  • Skeleton UI etc.. It is mobile responsive.

Things that I have used to build this clone,
-- ReactJS (React hooks)
-- react-icons package
-- Sass for styling

I have also created tutorial, You can find it here:

Follow whole tutorial and you can learn lot's of things like,

-- Setting Layout
-- Creating Hamburger Menu
-- Getting data from API
-- Creating Skeleton UI
-- Infinite Loading
-- Mobile Responsive
-- React Hooks
-- Sass styling
-- Advanced Conditional Rendering etc.

You can find Full-Code from here.

Please share your valuable review!

All suggestions are welcome!

Thanks For Reading and Supporting.πŸ˜„

Feel free to visit my youtube channel:

@CodeBucks

Follow me on Twitter where I'm sharing lot's of useful resources!

@code.bucks πŸ˜‰

Note: This clone is for educational purpose only.

You might also like these website templates:

  • A beautiful portfolio template in ReactJS => here
  • NFT collection landing page in ReactJS => here

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (24)

Collapse
 
guscarpim profile image
Gustavo Scarpim β€’ β€’ Edited

Nice work, is cool!!
One problem, your dropdown-menu It is misaligned:

Besides, it's perfect!! Congrats!!

Collapse
 
codebucks profile image
CodeBucks β€’

Hey. Thanks for pointing that out! I will fix it. ^_^

Collapse
 
aashishrbhandari profile image
Ashish R Bhandari β€’ β€’ Edited

Hii,
The site looks awesome,
Great Job,
A small changes from my end.
A small Minimal CSS changes will make the things look good.

margin: 0 auto; // This will make your container be in center

.headerContainer {
    margin: 0 auto; 
    max-width: 1280px;
}
.main-container {
    margin: 0 auto;
    max-width: 1280px;
    padding: 1rem 0rem;
}
Enter fullscreen mode Exit fullscreen mode

Adding this both in proper order or adding it in Inline Styling will help u achieve the below results.
Small CSS Changes To Center the Header & Main Container

Collapse
 
codebucks profile image
CodeBucks β€’

Hey, Thanks for the suggestions! ^_^

Collapse
 
ben profile image
Ben Halpern β€’

This is cool!

Collapse
 
jaagrav profile image
Jaagrav β€’

Do you have any plans to refractor dev.to's code to react?

Collapse
 
choryfdieg profile image
Diego GarcΓ­a (chory) β€’

Wow ! Very good work, thanks for sharing

Collapse
 
codebucks profile image
CodeBucks β€’

You're welcome! πŸ˜‡

Collapse
 
andrewbaisden profile image
Andrew Baisden β€’

Like it!

Collapse
 
kwizera123 profile image
Kwizera123 β€’

Nice work βœ”οΈ

Collapse
 
rexyandrian profile image
Rexy Andriansyah β€’

Great work

Collapse
 
codebucks profile image
CodeBucks β€’

Thanks! ^_^

Collapse
 
bertmeeuws profile image
Bert Meeuws β€’

Looks good! I was going to make a clone with a redesign too; what's next? Connecting a server with auth/db?

Collapse
 
codebucks profile image
CodeBucks β€’

Hey Thanks! Right now I haven't thought about connect it with any backend. If you want then you can try it. πŸ˜‰

Collapse
 
stokry profile image
Stokry β€’

Nice work!

Collapse
 
anggachelsea profile image
Angga Lesmana β€’

Wow thanks Sir . This good reference

Collapse
 
codebucks profile image
CodeBucks β€’

You're welcome! πŸ˜‡

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay