From aec4c8efcfb41fcee4c56577858eb8e90d2dd60a Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Sun, 3 Oct 2021 16:43:32 +0100 Subject: [PATCH] [FIX] Update page loader --- src/App.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/App.js b/src/App.js index c8028c8..c4bae5d 100644 --- a/src/App.js +++ b/src/App.js @@ -1,6 +1,5 @@ import React from 'react'; import './css/App.css'; -import './css/PopUp.css'; import { BrowserRouter as Router, Route, Switch, Redirect, Link } from 'react-router-dom'; import Home from "./Home"; import LoggedInHome from "./LoggedInHome"; @@ -63,13 +62,13 @@ const fadeIn = keyframes` } to { - opacity: 0.65; + opacity: 1; } `; const fadeOut = keyframes` from { - opacity: 0.65; + opacity: 1; } to { @@ -80,8 +79,8 @@ const fadeOut = keyframes` const Fade = styled.div` display: inline-block; visibility: ${props => props.out ? 'hidden' : 'visible'}; - animation: ${props => props.out ? fadeOut : fadeIn} 0.1s linear; - transition: visibility 0.1s linear; + animation: ${props => props.out ? fadeOut : fadeIn} 0.2s linear; + transition: visibility 0.2s linear; `; firebase.firestore().enablePersistence() @@ -351,7 +350,7 @@ class App extends React.Component { {/*
Loading...
*/} - + Loading...