Skip to content
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

added header to login sign up page #657

Open
wants to merge 3 commits into
base: main
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
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ function App() {
</ThemeProvider>
</div>
<div className="footbelow">
<Footer />
<Footer />
</div>
</I18nextProvider>
</>
Expand Down
10 changes: 7 additions & 3 deletions src/pages/Login.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import { SignIn } from "@clerk/clerk-react";

import Header from "../components/Common/Header"

import React, { useState } from 'react';

export default function SignInPage() {
Expand All @@ -14,14 +17,14 @@ export default function SignInPage() {
style={{
display: "flex",
flexDirection: "column",
justifyContent: "center",

alignItems: "center",
minHeight: "100vh",
backgroundColor: "#f7fafc",
padding: "1rem",
}}
>
<div
{/* <div
style={{
position: "absolute",
top: "3rem",
Expand All @@ -38,7 +41,8 @@ export default function SignInPage() {
}}
>
<i className="fas fa-home" style={{ fontSize: "24px", color: "#333" }}></i>
</div>
</div> */}
<Header/>
<div style={{ position: "relative" }}>

{/* Remember Me and Forgot Password section */}
Expand Down
9 changes: 5 additions & 4 deletions src/pages/Signup.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SignUp } from "@clerk/clerk-react";
import React, { useState } from 'react';

import Header from "../components/Common/Header"
export default function SignUpPage() {
const [password, setPassword] = useState("");
const [passwordError, setPasswordError] = useState("");
Expand Down Expand Up @@ -33,14 +33,14 @@ export default function SignUpPage() {
style={{
display: "flex",
flexDirection: "column",
justifyContent: "center",

alignItems: "center",
minHeight: "100vh",
backgroundColor: "#f7fafc",
padding: "1rem",
}}
>
<div
{/* <div
style={{
position: "absolute",
top: "3rem",
Expand All @@ -57,7 +57,8 @@ export default function SignUpPage() {
}}
>
<i className="fas fa-home" style={{ fontSize: "24px", color: "#333" }}></i>
</div>
</div> */}
<Header />
<div style={{ position: "relative" }}>
<SignUp
appearance={{
Expand Down