forked from Code-4-Community/scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from Code-4-Community/ma-signup-update
added success page
- Loading branch information
Showing
6 changed files
with
137 additions
and
14 deletions.
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
45 changes: 45 additions & 0 deletions
45
apps/frontend/src/components/volunteer/signup/SuccessPage.tsx
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,45 @@ | ||
import React from 'react'; | ||
import { Link } from 'react-router-dom'; | ||
import checkIcon from './check.png'; | ||
|
||
|
||
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> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
const styles = { | ||
container: { | ||
display: 'flex', | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
height: '100vh', | ||
outline: '1px solid black', // Outline of the sign-up form | ||
} as React.CSSProperties, // Assert styles as React.CSSProperties | ||
content: { | ||
textAlign: 'center', | ||
} as React.CSSProperties, // Assert styles as React.CSSProperties | ||
checkContainer: { | ||
display: 'flex', | ||
flexDirection: 'column', | ||
alignItems: 'center', | ||
marginBottom: '1rem', | ||
} as React.CSSProperties, // Assert styles as React.CSSProperties | ||
checkIcon: { | ||
width: '100px', // Adjust the width and height of the image as needed | ||
height: '100px', | ||
marginBottom: '0.5rem', | ||
} as React.CSSProperties, // Assert styles as React.CSSProperties | ||
}; | ||
|
||
export default SuccessPage; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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