Design Extended to button
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {useState} from "react";
|
||||
import React, {useState} from "react";
|
||||
import Button from "@/components/Button";
|
||||
import {NextResponse} from "next/server";
|
||||
import Link from "next/link";
|
||||
@@ -57,6 +57,8 @@ export default function Login() {
|
||||
</div>
|
||||
|
||||
<Button text={"Login"} color={"#77932b"} width={100} height={40} onClick={() => on_login_click()}/>
|
||||
|
||||
|
||||
</login>
|
||||
// </div>
|
||||
);
|
||||
|
||||
@@ -21,8 +21,8 @@ export default function SemesterTile(p)
|
||||
alignItems: "center",
|
||||
gap: 5
|
||||
}}>
|
||||
<Button icon={deleteItem} width={30} height={30} color={"rgba(0, 0, 0, 0)"} onClick={p.onButtonDeleteClick}/>
|
||||
<Button icon={editItem} width={30} height={30} color={"rgba(0, 0, 0, 0)"} onClick={p.onButtonEditClick}/>
|
||||
<Button icon={deleteItem} width={30} height={30} color={"#ffffff"} onClick={p.onButtonDeleteClick}/>
|
||||
<Button icon={editItem} width={30} height={30} color={"#ffffff"} onClick={p.onButtonEditClick}/>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
@@ -82,6 +82,11 @@ Button
|
||||
color: white;
|
||||
}
|
||||
|
||||
.button:hover
|
||||
{
|
||||
filter: brightness(0.65);
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background-color: #585858;
|
||||
}
|
||||
@@ -396,7 +401,7 @@ Login
|
||||
justify-content: space-evenly;
|
||||
/*gap: 10px;*/
|
||||
border-radius: 10px;
|
||||
background-color: #ffffff;
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
width: 375px;
|
||||
height: 350px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user