Small fixes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import App, { Container } from "next/app";
|
||||
import App from "next/app";
|
||||
import Script from 'next/script'
|
||||
import Head from "next/head";
|
||||
|
||||
|
||||
@@ -54,10 +54,10 @@ export default class Home extends React.Component {
|
||||
<div className="col text-center">
|
||||
<Image
|
||||
src={landinglogoImg}
|
||||
className="landing-logo"
|
||||
className="landing-logo p-5 m-auto"
|
||||
alt="Logo der Hans Prothmann GmbH"
|
||||
width={500}
|
||||
height={500}
|
||||
priority
|
||||
fill
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -80,7 +80,6 @@ export default class Kontakt extends React.Component {
|
||||
nachricht: "",
|
||||
}}
|
||||
onSubmit={async (values) => {
|
||||
console.log(values);
|
||||
const data = values;
|
||||
try {
|
||||
const res = await axios({
|
||||
@@ -102,7 +101,6 @@ export default class Kontakt extends React.Component {
|
||||
res: res.status,
|
||||
});
|
||||
}
|
||||
console.log("State: ", this.state);
|
||||
}}
|
||||
>
|
||||
{({
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import React, { useEffect } from "react";
|
||||
import React from "react";
|
||||
import Head from "next/head";
|
||||
|
||||
import Productpage from "../components/productpage.jsx";
|
||||
|
||||
Reference in New Issue
Block a user