Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zun-liang/fem-fylo-landing-page

Frontend Mentor Challenge Solution Fylo Dark Theme Landing Page
https://github.com/zun-liang/fem-fylo-landing-page

css html javascript reactjs styled-componnets vite

Last synced: 9 days ago
JSON representation

Frontend Mentor Challenge Solution Fylo Dark Theme Landing Page

Awesome Lists containing this project

README

        

# Frontend Mentor - Fylo dark theme landing page solution

This is a solution to the [Fylo dark theme landing page challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/fylo-dark-theme-landing-page-5ca5f2d21e82137ec91a50fd). Frontend Mentor challenges help you improve your coding skills by building realistic projects.

## Table of contents

- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Continued development](#continued-development)
- [Useful resources](#useful-resources)
- [Author](#author)

## 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

### Screenshot



mobile preview




desktop preview

### Links

- Solution URL: [here](https://www.frontendmentor.io/solutions/fylo-landing-page-created-using-reactjs-and-styledcomponents-GESHUJeGU9)
- Live Site URL: [here](https://zun-liang.github.io/fem-fylo-landing-page/)

## My process

### Built with

- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- [React](https://reactjs.org/) - JS library
- [Styled Components](https://styled-components.com/) - For styles
- Vite

### What I learned

- how to work with svg in styled-components
- styled-components transient-props
- how to style multiple backgrounds for the same element
- how to style FontAwesome in React and styled-components

### Continued development

- React router
- React context
- React custom hooks
- render props
- unit testing
- styled-components

### Useful resources

- [How to Import SVGs in a React and Vite app](https://www.freecodecamp.org/news/how-to-import-svgs-in-react-and-vite/)
- [Handling Custom SVGs in React using Styled Components](https://vaadarsh8178.medium.com/handling-custom-svgs-in-react-using-styled-components-30d2739ff4cb)

## Author

- Website - [Zun Liang](https://zunldev.com/)
- GitHub - [@zun-liang](https://github.com/zun-liang)
- Frontend Mentor - [@zun-liang](https://www.frontendmentor.io/profile/zun-liang)
- freeCodeCamp - [@zun-liang](https://www.freecodecamp.org/zun-liang)