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

Account not verified page #26

Closed
wants to merge 15 commits into from
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fixed styling errors
shailahaggarson committed Dec 7, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 42fec7c2bb0d373caadb618e7a3cddd25ff9f3a2
40 changes: 0 additions & 40 deletions backend/src/models/post_request.html
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure why we have an html file in the backend, endpoints used by the frontend should be in the frontend/src/api directory

This file was deleted.

38 changes: 10 additions & 28 deletions frontend/src/pages/account_not_verified/index.css
Original file line number Diff line number Diff line change
@@ -1,35 +1,22 @@
@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);
.account-not-verified-page {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}

.account-not-verified-page {
text-align: center;
color: var(--primary-blue);
padding: 20px;
max-width: 500px;
margin: 0 auto;
height: 100vh;
}

.account-not-verified-page h2 {
font-size: 24px;
font-size: var(--title-text, 24px);
font-weight: 500;
}

.account-not-verified-page div {
color: var(--dark);
font-size: 16px;
margin-top: 10px;
color: var(--primary-blue);
margin-bottom: 15px;
}

.account-not-verified-button {
@@ -40,16 +27,11 @@ body, html {
border: 1px solid var(--primary-blue);
border-radius: 5px;
cursor: pointer;
font-size: 16px;
font-size: var(--font-primary, 16px);
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
width: auto;
}

.account-not-verified-button:hover {
background-color: var(--secondary-blue);
}

span {
font-size: 16px;
color: var(--grey) /* Light grey to match the button */
}
6 changes: 6 additions & 0 deletions package-lock.json

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