Skip to content

Commit

Permalink
Merge pull request #141 from Motouom/Home-Pages
Browse files Browse the repository at this point in the history
Feat(frontend):   Implemented the Home page for the app
  • Loading branch information
Motouom authored Jun 13, 2024
2 parents 6d1144f + 7d2dc00 commit a286eba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions power-pay-frontend/src/components/Home.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { useNavigate } from 'react-router-dom';
import Logo from '../assets/Logo.png';

import React, { useState, useEffect } from 'react';

const Home: React.FC = () => {
Expand All @@ -11,9 +12,6 @@ const Home: React.FC = () => {
const handleSendMoneyClick = () => {
navigate('/payment');
};



return (
<div className="flex justify-center items-center mb-34 bg-800 text-black text-sm">
<div className="w-80 m-auto px-4 py-2 text-lg absolute inset-x-0 top-12">
Expand All @@ -26,6 +24,7 @@ const Home: React.FC = () => {
Send Money
</button>
<button

className="rounded-full w-80 m-auto px-4 py-2 text-white bg-blue-950 text-lg absolute inset-x-0 bottom-6"
onClick={handleCheckBalanceClick}>
Check Balance
Expand Down

0 comments on commit a286eba

Please sign in to comment.