Social media dashboard using Next and Tailwind

Solution retrospective
I like very much result of displaying all the cards because I used grid to do so and I rarely use grid but using it with Tailwind was super easy and comfortable.
What specific areas of your project would you like help with?In the project all bigger cards have own social media color used in that little line at the top of the card. I wanted to fill that color line using function with switch case that would return string which could be used in class. I did this actually but I didn't work. I mean the string appeared in the class but it didn't applied for specific css styles. I wonder there is such way to do that.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Mateusz Bizoń's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord