Skip to content

Commit

Permalink
integrated paystack
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelIkoli committed Mar 12, 2024
1 parent 001cf78 commit d1b0a70
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/Contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ const Contact = () => {
<div className=" border rounded py-5 flex-column container-fluid bg-dark">
<p><RiLinkedinBoxFill /><a rel="noreferrer" href="https://www.linkedin.com/in/samuel-ikoli-584380115/" target="_blank" className="px-3">Linkedin</a></p>
<p><FaGithub /> <a rel="noreferrer" href="https://github.com/samuelIkoli" target="_blank" className="px-3">Github</a></p>
<p><FaPhone /> <a href="tel:+2347031523145" className="px-3">Phone +234 703 152 3145</a> </p>
<p><RiMailLine /> <span className="px-2"></span> Email: [email protected]</p>
<p><FaPhone /> <a href="tel:+2347031523145" className="px-3"> +234 703 152 3145</a> </p>
<p><RiMailLine /> <span className="px-2"></span> [email protected]</p>
<br />
<p>You can also use this form to contact me.</p>
<form onSubmit={handleSubmit}>
Expand Down
3 changes: 2 additions & 1 deletion src/Donate.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ function Donate() {
<div className=" border rounded py-5 flex-column container-fluid bg-dark">

<form>
<div className="col-12 col-lg-6">
<p>Secured and Powered by Paystack</p>
<div className="col-12 col-lg-6 pt-3">
<label htmlFor="user_email">
Email Address
</label>
Expand Down
1 change: 1 addition & 0 deletions src/Pay.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ function Pay() {
<div className=" border rounded py-5 flex-column container-fluid bg-dark">

<form>
<p>Secured and Powered by Paystack</p>
<div className="col-12 col-lg-6">
<label htmlFor="user_email">
Email Address
Expand Down
18 changes: 9 additions & 9 deletions src/Samuel.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import { FaGithub, FaInstagram } from "react-icons/fa";

const Samuel = () => {

const [myAge, setMyAge] = useState();
useEffect(() => {
setInterval(() => {
var ageInMilliseconds = Date.now() - new Date('1997-06-22');
setMyAge((ageInMilliseconds / 1000 / 60 / 60 / 24 / 365.25).toFixed(15));
}, 100)
}, []);
// const [myAge, setMyAge] = useState();
// useEffect(() => {
// setInterval(() => {
// var ageInMilliseconds = Date.now() - new Date('1997-06-22');
// setMyAge((ageInMilliseconds / 1000 / 60 / 60 / 24 / 365.25).toFixed(15));
// }, 100)
// }, []);


return (
Expand All @@ -32,9 +32,9 @@ const Samuel = () => {
<div className="text-center pt-2">
<p>Lives in: Abuja, Nigeria</p>
</div>
<div className="text-center pt-2">
{/* <div className="text-center pt-2">
<p>Age: {myAge} </p>
</div>
</div> */}
<hr />
<div className="text-center pt-2 pb-1">
<p><span className="mx-2"><RiMailLine /></span> [email protected]</p>
Expand Down

0 comments on commit d1b0a70

Please sign in to comment.