1qk1 / productivity-platform

Open Source productivity platform in the making
https://prodapp.xyz/
MIT License
3 stars 0 forks source link

Bug: Navigation sidebar not displaying when can't connect to fontawesome #144

Closed JuanFKurucz closed 5 years ago

JuanFKurucz commented 5 years ago

Describe the bug Navgiation sidebear isn't showing up when browser can't handle the request to https://use.fontawesome.com/releases/v5.4.2/css/all.css file

To Reproduce Steps to reproduce the behavior: You will require somehow to lose connection to https://use.fontawesome.com/releases/v5.4.2/css/all.css There are two ways I can think of, change the path of the link to something like https://use.fontawesome.com/releases/v5.4.2/css/all.1css or disable your internet connection while developing in local mode.

  1. Be logged before hand
  2. Go to http://localhost:3000/pomodoro
  3. Sidebar menu won't be appearing 2.1 You won't see the play button in pomodoro 2.2 In other pages you have other errors of not displaying buttons that are required to use the site.

Expected behavior Buttons should show up to be able to use the site even if you can't reach fontawesome.

Actual behavior Sometimes even in production site it losses connection to fontawesome and navigation bar is hidden.

Screenshots board pomodoro store

Desktop (please complete the following information):

Smartphone (please complete the following information): Not tested in mobile

Additional context A good way to solve this issue would be using the css file locally, I could fix this issue myself.