Added Submitbutton
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import Button from "@/components/Button";
|
||||
import { baseURL } from "@/components/Constants";
|
||||
import {useRouter} from "next/router";
|
||||
|
||||
export default function SubmitButton() {
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
return (
|
||||
<div
|
||||
style={{
|
||||
position: "absolute",
|
||||
right: 70,
|
||||
bottom: 20,
|
||||
borderBottomRightRadius: 10,
|
||||
}}
|
||||
>
|
||||
<Button onClick={() => router.push("/submit")} text={"Abgeben"} color={"#77932b"} width={100} height={40} />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user