DEV Community

Cover image for My Twitter Mobile Clone
Naya Willis
Naya Willis

Posted on

12 1

My Twitter Mobile Clone

LINK TO LIVE CLONE (Click the home button at bottom, for some reason it doesn't load the homepage right away)

So, I cloned Twitter's mobile version. It was pretty challenging but I've managed to do the best I could. I used React and SCSS/CSS to build this. I practically made everything a component. I felt that the more components I use the more structured I would feel getting further into this project. After all, that's the point of react right?

Alt Text

Hompage

Alt Text

This is the Twitter feed you would see. I'm actually using the npm package 'faker' to generate the fake users with fake tweets.

This is the explorer page. I actually have a friend who sent me a random article to use which the one that you see on the page now.

Alt Text

The Navbar component at the bottom was the easiest part of the project to implement. The Navbar component is reusable across every page. I love that type of consistency. I tried to do the same with the header but it didn't work out how I wanted because of the icons on the right side of the header. For the most part, they are all different across pages.

Create Tweet Page

This is the "Create Tweet" page.

Alt Text

It was a little tough finding the exact same icons so I had to improvise and find closely similar ones. I actually used fontAwesome for the icons displayed.

My favorite page to build was the one and only 🥁🥁🥁🥁🥁🥁...

Notifications Page

Alt Text

As I looked at this and then looked at my phone to compare the clone and the actual page from the app, I said to myself, "Damn, I'm really getting good at this, the hard work is really paying off". This was a proud moment for me.

To conclude, not everything on the clone is functional, again, it was mere UI practice. This clone helped me to understand component isolation a bit more. I will definitely be doing more of these. Thanks for reading.

LINK TO LIVE CLONE (Click the home button at bottom, for some reason it doesn't load the homepage right away)

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 (2)

Collapse
 
yo profile image
Yoginth

Woah looks amazing and realistic!

Good job 👏

Collapse
 
greedybrain profile image
Naya Willis

Absolutely, can't have people thinking I'm a phony now lol. Again, I didn't clone every piece of functionality. It was UI practice.

5fb29adf74b97e00075f2101--modest-a...

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Instrument, monitor, fix: a hands-on debugging session

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️