Added Submitbutton

This commit is contained in:
AlexE030
2023-06-13 19:28:32 +02:00
parent e65ae7b90e
commit c02a0592ed
7 changed files with 100 additions and 6 deletions
+21
View File
@@ -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>
);
}