Skip to content

Commit

Permalink
stlye changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dli85 committed Sep 29, 2024
1 parent 3e3a950 commit f168ef3
Showing 1 changed file with 98 additions and 12 deletions.
110 changes: 98 additions & 12 deletions apps/frontend/src/components/volunteer/signup/SuccessPage.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,72 @@
import React from 'react';
import { Link } from 'react-router-dom';
import checkIcon from './check.png';

import Navbar from '../../../pages/Navbar';

const SuccessPage = () => {
return (
<div style={styles.container}>
<div style={styles.content}>
<h1>Welcome, Volunteer!</h1>
<div style={styles.checkContainer}>
<img src={checkIcon} alt="Check Icon" style={styles.checkIcon} /> {/* Use img tag with src attribute */}
<p>Thank you!</p>
<p>Please verify your account with the link sent to your email.</p>
<>
<Navbar />
<div style={styles.rectangleGrey}>
<div style={styles.rectangleWhite}>
<div style={styles.container}>
<div style={styles.content}>
<h1 style={styles.heading}>Welcome, Volunteer!</h1>
<hr style={styles.line}></hr>
<div style={styles.checkContainer}>
<img
src={checkIcon}
alt="Check Icon"
style={styles.checkIcon}
/>{' '}
{/* Use img tag with src attribute */}
<p style={styles.paragraph}>Thank you!</p>
<p style={styles.paragraph}>
Please verify your account with <br /> the link sent to your
email.
</p>
</div>
<hr style={styles.line}></hr>
<Ellipses />
</div>
</div>
</div>
</div>
</div>
</>
);
};

const Ellipses = () => {
return (
<svg width="600" height="100">
<ellipse
cx="257"
cy="50"
rx="10"
ry="10"
fill="grey"
stroke="black"
strokeWidth="1"
/>
<ellipse
cx="300"
cy="50"
rx="10"
ry="10"
fill="grey"
stroke="black"
strokeWidth="1"
/>
<ellipse
cx="343"
cy="50"
rx="10"
ry="10"
fill="grey"
stroke="black"
strokeWidth="1"
/>
</svg>
);
};

Expand All @@ -23,8 +75,9 @@ const styles = {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
height: '100vh',
outline: '1px solid black', // Outline of the sign-up form
height: '480px',
// height: '100vh',
// outline: '1px solid black', // Outline of the sign-up form
} as React.CSSProperties, // Assert styles as React.CSSProperties
content: {
textAlign: 'center',
Expand All @@ -40,6 +93,39 @@ const styles = {
height: '100px',
marginBottom: '0.5rem',
} as React.CSSProperties, // Assert styles as React.CSSProperties
rectangleGrey: {
marginTop: '51px',
marginLeft: '96px',
marginRight: '96px',
marginBottom: '64px',
border: 'none',
background: '#D9D9D9',
paddingTop: '51px',
paddingBottom: '51px',
paddingRight: '51px',
paddingLeft: '51px',
} as React.CSSProperties,
rectangleWhite: {
background: 'white',
paddingTop: '19px',
} as React.CSSProperties,
heading: {
fontFamily: 'Montserrat',
fontWeight: 700,
fontSize: '30px',
} as React.CSSProperties,
paragraph: {
fontFamily: 'Montserrat',
fontWeight: 600,
fontSize: '30px',
} as React.CSSProperties,
line: {
border: 'none',
height: '0px',
borderTop: '2px solid black',
borderColor: 'black',
width: '100%',
} as React.CSSProperties,
};

export default SuccessPage;
export default SuccessPage;

0 comments on commit f168ef3

Please sign in to comment.