Skip to content

Phone auth #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,120 changes: 913 additions & 207 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"antd": "^4.19.5",
"bootstrap": "^5.1.3",
"firebase": "^9.4.1",
"firebase": "^9.6.10",
"formik": "^2.2.9",
"react": "^17.0.2",
"react-bootstrap": "^2.0.2",
"react-datepicker": "^4.7.0",
"react-dom": "^17.0.2",
"react-google-button": "^0.7.2",
"react-phone-number-input": "^3.1.49",
"react-router-dom": "^6.0.2",
"react-scripts": "4.0.3",
"typescript": "^4.6.3",
"web-vitals": "^1.0.1"
},
"scripts": {
Expand All @@ -39,5 +44,8 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/react-datepicker": "^4.4.0"
}
}
44 changes: 44 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,47 @@ body {
width: 40px !important;
height: 38px !important;
}

.button-right {
display: flex;
justify-content: flex-end;
}

#recaptcha-container {
margin: 20px;
}

.App {
font-family: sans-serif;
text-align: center;

}

.react-datepicker-wrapper,
.react-datepicker__input-container {
width:100%;
margin-left: 5%;
}

label {

margin-left:50%;
margin-top:100px;
color: black;
font-weight:bold;
display: block;
}

label:after { content: ":"}

.button1{
margin-left: 49%;
background-color: #044656;
border: none;
color: white;
padding: 10px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
}
11 changes: 10 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ import "./App.css";
import Home from "./components/Home";
import Login from "./components/Login";
import Signup from "./components/Signup";
import PhoneSignup from "./components/PhoneSignup";
import ProtectedRoute from "./components/ProtectedRoute";
import { UserAuthContextProvider } from "./context/UserAuthContext";
import Calender from "./components/Calender";


function App() {
return (

<Container style={{ width: "400px" }}>
<Row>
<Col>
Expand All @@ -22,13 +26,18 @@ function App() {
</ProtectedRoute>
}
/>

<Route path="/" element={<Login />} />
<Route path="/signup" element={<Signup />} />
<Route path="/PhoneSignup" element={<PhoneSignup />} />

<Route path="/Signup" element={<Signup />} />
<Route path="/Calender" element={<Calender />} />
</Routes>
</UserAuthContextProvider>
</Col>
</Row>
</Container>

);
}

Expand Down
Loading