-
Notifications
You must be signed in to change notification settings - Fork 0
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
Account not verified page #26
Open
shailahaggarson
wants to merge
15
commits into
main
Choose a base branch
from
not_verified
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
73c51b5
Merge pull request #20 from ubclaunchpad/volunteer_shift
shailahaggarson 295233c
styling consistency
jjessieshang 62cc95d
Added account not verified page - access at /vounteer/account-not-ver…
shailahaggarson 3a1e2d4
Routing to acct not verified page (not working yet)
shailahaggarson d83801a
Trying to troubleshoot
shailahaggarson ae09aa3
Fixed bugs so redirect works
shailahaggarson d2e7ba6
Merge branch 'main' into not_verified
shailahaggarson 760a7b8
Fixed verifyUser bug
shailahaggarson b94e76d
Merge branch 'not_verified' of https://github.com/ubclaunchpad/neuron…
shailahaggarson 41d58d7
Fixed packages.json and navigate
shailahaggarson 4a1374d
removed console logs
shailahaggarson 42fec7c
Fixed styling errors
shailahaggarson bd3aefa
Merge branch 'main' into not_verified
shailahaggarson 007f192
Merge branch 'main' of https://github.com/ubclaunchpad/neuron
shailahaggarson 56260ff
Merge branch 'main' into not_verified
shailahaggarson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
@import '../../styles.css'; | ||
|
||
/* index.css */ | ||
|
||
/* Import Fonts */ | ||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600;700&display=swap'); | ||
|
||
body, html { | ||
margin: 0; | ||
padding: 0; | ||
font-family: var(--font-primary); | ||
background-color: var(--white); | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
|
||
.account-not-verified-page { | ||
text-align: center; | ||
color: var(--primary-blue); | ||
} | ||
|
||
.account-not-verified-page h2 { | ||
font-size: 24px; | ||
font-weight: 500; | ||
} | ||
|
||
.account-not-verified-page div { | ||
color: var(--dark); | ||
font-size: 16px; | ||
margin-top: 10px; | ||
} | ||
|
||
button { | ||
margin-top: 20px; | ||
padding: 10px 20px; | ||
background-color: var(--white); | ||
color: var(--dark); | ||
border: 1px solid var(--primary-blue); | ||
border-radius: 5px; | ||
cursor: pointer; | ||
font-size: 16px; | ||
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
button:hover { | ||
background-color: var(--secondary-blue); | ||
} | ||
|
||
span { | ||
font-size: 16px; /* Adjust as needed */ | ||
color: var(--grey) /* Light grey to match the button */ | ||
} | ||
|
||
/** | ||
|
||
button { | ||
margin-top: 20px; | ||
padding: 10px 20px; | ||
background-color: var(--white); | ||
color: var(--dark); | ||
border: 1px solid #D1D5DB; | ||
border-radius: 8px; | ||
cursor: pointer; | ||
font-size: 16px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); | ||
transition: background-color 0.2s, box-shadow 0.2s; | ||
} | ||
|
||
button:hover { | ||
background-color: #F9FAFB; | ||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | ||
} | ||
*/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import React, { useState } from 'react'; | ||
import './index.css'; | ||
import logoutIcon from "./logout.png"; | ||
|
||
function AccountNotVerified() { | ||
//const [data, setData] = useState(null); | ||
|
||
const logOut = () => { | ||
// Implement log-out logic here | ||
console.log('Logged out'); | ||
}; | ||
|
||
return ( | ||
<div className="account-not-verified-page"> | ||
<h2>Waiting for an admin to verify your account.</h2> | ||
<div>You can reach out to us at <b>[email protected]</b>. </div> | ||
<button onClick={logOut}> | ||
<img | ||
src={logoutIcon} | ||
alt="Log out icon" | ||
style={{ width: '14px', height: '14px', marginRight: '8px', marginTop: '1px' }} | ||
/> | ||
Log Out | ||
</button> | ||
|
||
</div> | ||
); | ||
} | ||
|
||
export default AccountNotVerified; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fonts should be defined in styles.css and used like variables here