Skip to content

Commit

Permalink
Merge pull request #141 from BhartiNagpure/bharti
Browse files Browse the repository at this point in the history
update login page
  • Loading branch information
J0SAL authored Jul 30, 2023
2 parents a5959e9 + 44ba910 commit 8f9cf07
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 24 deletions.
31 changes: 16 additions & 15 deletions frontend/components/common/Login.tsx
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
import React from "react";
import React, { useState, useEffect } from "react";
import { ConnectButton } from "web3uikit";
import style from "../../styles/Main.module.css";

function Login() {
return (
<div>
<div
style={{
minHeight: "90vh",
display: "flex",
justifyContent: "center",
flexDirection: "column",
textAlign: "center",
alignContent: "center",
alignItems: "center",
gap: "20px",
}}
<div
className={` ${style.wlcimg}`}
>
<img
src="/images/welcome.svg"
alt="no data"
width={"100vh"}
height={"100vh"}
width={"400vh"}
height={"400vh"}
/>
<ConnectButton moralisAuth={false} />
<div
style={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center'
}}>
<h2 style={{ fontWeight: 'bold' }}>Welcome to Jarvis</h2>
<ConnectButton moralisAuth={false} />
</div>
</div>

</div>
);
}
Expand Down
33 changes: 24 additions & 9 deletions frontend/styles/Main.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,29 @@
}

.rotate {
animation: rotation 3s infinite linear;
animation: rotation 3s infinite linear;
}

@keyframes rotation {
from {
transform: rotate(0deg);
}

to {
transform: rotate(359deg);
}
}

.wlcimg {
min-height: 90vh;
display: flex;
justify-content: center;
align-items: center;
gap: 20px
}

@keyframes rotation {
from {
transform: rotate(0deg);
}
to {
transform: rotate(359deg);
}
}
@media only screen and (max-width: 600px) {
.wlcimg {
flex-direction: column;
}
}

1 comment on commit 8f9cf07

@vercel
Copy link

@vercel vercel bot commented on 8f9cf07 Jul 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

jarvis – ./

your-jarvis.vercel.app
jarvis-git-main-j0sal.vercel.app
jarvis-j0sal.vercel.app

Please sign in to comment.