diff --git a/.gitignore b/.gitignore index ef5ff33..6b9401c 100644 --- a/.gitignore +++ b/.gitignore @@ -32,6 +32,7 @@ yarn-error.log* /.github /.vscode -.firebasesrc +.firebaserc +/firebase.json ␠netlify.toml package-lock.json \ No newline at end of file diff --git a/src/App.js b/src/App.js index f6e958b..16ff13d 100644 --- a/src/App.js +++ b/src/App.js @@ -1,30 +1,16 @@ -import React, {useState} from 'react' -import {firebase} from './components/Firebase/firebase' -import {getAuth, onAuthStateChanged} from 'firebase/auth' -import { doc, updateDoc, getFirestore, collection, getDoc } from "firebase/firestore"; - -import detectKeys from './components/Misc/detectKeys'; - +import { getAuth, onAuthStateChanged } from 'firebase/auth'; +import React, { useState } from 'react'; +import { BrowserRouter as Router, Route, Switch } from "react-router-dom"; import AboutThis from "./components/AboutThis"; -import BannerLogin from "./components/BannerLogin"; -import GoDownArrow from "./components/GoDownArrow"; -import Header from "./components/Header"; -import MainPomodoro from "./components/MainPomodoro"; - -import { - BrowserRouter as Router, - Switch, - Route, - Link -} from "react-router-dom"; - -import Identify from "./components/Identify"; import Account from "./components/Account"; +import BannerLogin from "./components/BannerLogin"; import ClockifyTasksDisplay from './components/ClockifyTasksDisplay'; import Credits from './components/Credits'; - import Footer from './components/Footer'; -import ResetPassword from './components/Identify Childrens/ResetPassword'; +import GoDownArrow from "./components/GoDownArrow"; +import Header from "./components/Header"; +import Identify from "./components/Identify"; +import MainPomodoro from "./components/MainPomodoro"; function App() { diff --git a/src/components/AboutThis.jsx b/src/components/AboutThis.jsx index 36d2718..ba2e192 100644 --- a/src/components/AboutThis.jsx +++ b/src/components/AboutThis.jsx @@ -56,7 +56,7 @@ const AboutThis = (props) => { You have more projects?
- Yes!, all there are in my personal website. + Yes!, all there are in my personal website.
diff --git a/src/components/Account.jsx b/src/components/Account.jsx index 291f6a6..7e2ec08 100644 --- a/src/components/Account.jsx +++ b/src/components/Account.jsx @@ -1,10 +1,10 @@ -import React, {useState} from 'react' -import {firebase} from './Firebase/firebase' -import {getAuth, onAuthStateChanged} from 'firebase/auth' -import { doc, updateDoc, getFirestore, collection, getDoc } from "firebase/firestore"; +import { getAuth, onAuthStateChanged } from 'firebase/auth'; +import { doc, getDoc, getFirestore, updateDoc } from "firebase/firestore"; +import React, { useState } from 'react'; import Message from './Account Childrens/Message'; -import loadingGifLightTheme from './img/loading-light-theme.png' -import loadingGifDarkTheme from './img/loading-dark-theme.png' +import { firebase } from './Firebase/firebase'; +import loadingGifDarkTheme from './img/loading-dark-theme.png'; +import loadingGifLightTheme from './img/loading-light-theme.png'; const Account = (props) => { diff --git a/src/components/ClockifyTasksDisplay.jsx b/src/components/ClockifyTasksDisplay.jsx index 65c0a7a..c4a8a74 100644 --- a/src/components/ClockifyTasksDisplay.jsx +++ b/src/components/ClockifyTasksDisplay.jsx @@ -1,11 +1,9 @@ -import React, {useState} from 'react' -//import { makeRequest } from '../Clockify/clockify' -import { firebase } from './Firebase/firebase'; import { getAuth, onAuthStateChanged } from "firebase/auth"; -import { doc, updateDoc, getFirestore, collection, getDoc } from "firebase/firestore"; -import loadingGifLightTheme from './img/loading-light-theme.png' -import loadingGifDarkTheme from './img/loading-dark-theme.png' -import detectKeys from './Misc/detectKeys'; +import { doc, getDoc, getFirestore } from "firebase/firestore"; +import React, { useState } from 'react'; +import { firebase } from './Firebase/firebase'; +import loadingGifDarkTheme from './img/loading-dark-theme.png'; +import loadingGifLightTheme from './img/loading-light-theme.png'; const ClockifyTasksDisplay = (props) => { diff --git a/src/components/Footer.jsx b/src/components/Footer.jsx index 8c6f133..971572f 100644 --- a/src/components/Footer.jsx +++ b/src/components/Footer.jsx @@ -3,7 +3,7 @@ import React from 'react' const Footer = (props) => { return ( ) } diff --git a/src/components/Header.jsx b/src/components/Header.jsx index 511c99c..8183df6 100644 --- a/src/components/Header.jsx +++ b/src/components/Header.jsx @@ -1,15 +1,13 @@ -import React, {useState} from 'react' +import React from 'react' import DarkMode from './Header Childrens/DarkMode' import GoToAccount from './Header Childrens/GoToAccount' const Header = (props) => { - - return (