Dependencies implemented
This commit is contained in:
parent
3887e55e66
commit
cc8adf9c4e
@ -1,7 +1,7 @@
|
|||||||
/*eslint-disable */
|
/*eslint-disable */
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import sjcl from "sjcl";
|
import sjcl from "sjcl";
|
||||||
export default function Login({ colors, setKeys }) {
|
export default function Login({ setKeys }) {
|
||||||
function handleSubmit() {
|
function handleSubmit() {
|
||||||
const privatekey = document.getElementById("privatekey").value;
|
const privatekey = document.getElementById("privatekey").value;
|
||||||
setKeys({
|
setKeys({
|
||||||
@ -9,14 +9,13 @@ export default function Login({ colors, setKeys }) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<div className={colors.primary + " w-full h-full flex flex-col"}>
|
<div className={"bg-five w-full h-full flex flex-col"}>
|
||||||
<h1 className="text-black text-opacity-70 text-6xl self-center mt-[10rem] shadow-blue-300 shadow-sm">
|
<h1 className="text-black text-opacity-70 text-6xl self-center mt-[10rem] shadow-blue-300 shadow-sm">
|
||||||
BLC Wallet Login
|
BLC Wallet Login
|
||||||
</h1>
|
</h1>
|
||||||
<div
|
<div
|
||||||
className={
|
className={
|
||||||
colors.secondary +
|
"bg-secondary flex w-2/6 min-w-[20rem] min-h-[14rem] h-2/6 mt-[2rem] justify-center rounded-lg self-center"
|
||||||
" flex w-2/6 min-w-[20rem] min-h-[14rem] h-2/6 mt-[2rem] justify-center rounded-lg self-center"
|
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<div className="flex flex-col justify-center gap-5 w-3/6 ">
|
<div className="flex flex-col justify-center gap-5 w-3/6 ">
|
||||||
@ -39,9 +38,7 @@ export default function Login({ colors, setKeys }) {
|
|||||||
name="submit"
|
name="submit"
|
||||||
type="submit"
|
type="submit"
|
||||||
value="Enter"
|
value="Enter"
|
||||||
className={
|
className={"rounded bg-primary text-five px-4 py-2 cursor-pointer"}
|
||||||
"rounded bg-blue-500 text-white px-4 py-2 cursor-pointer"
|
|
||||||
}
|
|
||||||
onClick={handleSubmit}
|
onClick={handleSubmit}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user