22 lines
562 B
React
22 lines
562 B
React
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>
|
|
);
|
|
}
|