Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add wallet connection message to LoginPage #85

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 33 additions & 6 deletions client/app/components/Pages/LoginPage.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,43 @@
import React from "react";
import AossieImg from "../../../public/aossie.png";
import Web3Connect from "../Helper/Web3Connect";

const LoginPage = () => {
return (
<div
className="flex p-8 h-full w-full items-start justify-between"
className="flex flex-col items-center justify-center min-h-screen w-full"
style={{
backgroundImage: `url(${AossieImg.src})`,
backgroundSize: "20%",
backgroundRepeat: "no-repeat",
backgroundPosition: "center",
background: "linear-gradient(to right, #e3f2fd, #bbdefb)",
}}
></div>
>
{/* Content Container */}
<div className="bg-white shadow-lg rounded-lg p-8 w-96 text-center">
{/* Logo */}
<img
src={AossieImg.src}
alt="Aossie Logo"
className="h-20 mx-auto mb-6"
style={{ objectFit: "contain" }}
/>

{/* Title */}
<h1 className="text-2xl font-bold text-gray-800 mb-4">
Election Dashboard
</h1>

{/* Subtitle */}
<p className="text-gray-600 mb-8">
Please connect your wallet to access the election dashboard.
</p>

<div className="flex justify-center">
<Web3Connect/>

</div>
</div>


</div>
);
};

Expand Down