-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
68 additions
and
38 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
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 |
---|---|---|
@@ -1,13 +1,23 @@ | ||
import React from 'react'; | ||
|
||
import { useNavigate } from 'react-router-dom'; | ||
import backicon from '../assets/svg/backicon.svg'; | ||
const Payment = () => { | ||
const navigate = useNavigate(); | ||
|
||
|
||
const HomeClick = () => { | ||
navigate('/'); // Navigates to the home page | ||
}; | ||
return ( | ||
<div className="min-h-screen flex justify-center items-center bg-blue-100"> | ||
<> | ||
<button onClick={HomeClick} className='absolute top-0 left-0'> | ||
<img src={backicon} alt="" className='h-[9vh]' /> | ||
</button> | ||
<div className="flex items-center justify-center min-h-screen bg-blue-100"> | ||
<h1 className="text-3xl font-semibold text-blue-900">Payment Page</h1> | ||
</div> | ||
|
||
|
||
</> | ||
); | ||
}; | ||
|
||
export default Payment; | ||
export default Payment; |
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