This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, {useState} from 'react'; | |
import {Container, Input, Button, Title} from './styles' | |
import firebase from '../data/Firebase'; | |
export default function Login() { | |
const [email, setEmail] = useState(''); | |
const [pass, setPass] = useState(''); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import styled from "styled-components"; | |
export const Container = styled.div` | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
flex-direction: column; | |
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import firebase from ‘firebase’; | |
const config = { | |
apiKey: "AIzfhrwkKhDBFHbntnKhTahHjkNK6FG875dsdfSB6y", | |
authDomain: "teste-76g33.firebaseapp.com", | |
databaseURL: "https://teste-76g33.firebaseio.com", | |
projectId: "tste6g33", | |
storageBucket: "", | |
messagingSenderId: "547432956432" | |
}; | |
firebase.initializeApp(config); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import styled from "styled-components"; | |
export const Container = styled.div` | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
flex-direction: column; | |
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import App from './App'; | |
import Login from './container/Login' | |
import Cadastre from './container/Cadastre' | |
import Started from './screen/Started' | |
import State from './container/State' | |
import './css/doc.css' | |
import { | |
BrowserRouter as Router, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import App from './App'; | |
import Login from './container/Login' | |
import Cadastre from './container/Cadastre' | |
import Started from './screen/Started' | |
import State from './container/State' | |
import './css/doc.css' | |
import { | |
BrowserRouter as Router, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import App from './App'; | |
import Login from './container/Login' | |
import Cadastre from './container/Cadastre' | |
import Started from './screen/Started' | |
import State from './container/State' | |
import './css/doc.css' | |
import { | |
BrowserRouter as Router, |