Skip to content

vietan0/fm-social-media-dashboard-with-theme-switcher-styled-components

Repository files navigation

Frontend Mentor - Social media dashboard with theme switcher solution

This is a solution to the Social media dashboard with theme switcher challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the site depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Toggle color theme to their preference

Screenshot

Links

My process

Built with

  • React - JS library
  • Styled Components - For styles
  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid

What I learned

  • Basic structure of using styled-components with React:

    // App --> React Component --> Styled Component
    export function Card() {
      return (
        <StyledCard>
          <div className="card-top"></div>
          /* more divs */
        </StyledCard>
      );
    }

    App structure:

What I learned

Author

About

This is another solution to the Social media dashboard with theme switcher challenge on Frontend Mentor.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published