Small fixes
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import Head from "next/head";
|
||||
import Link from "next/link";
|
||||
|
||||
export default function Footer(props) {
|
||||
|
||||
@@ -153,6 +153,7 @@ class Navbar extends React.Component {
|
||||
onClick={this.toggle}
|
||||
className="navbar-toggler"
|
||||
type="button"
|
||||
aria-label="open menu"
|
||||
>
|
||||
<div
|
||||
className={
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import React from "react";
|
||||
import { ReactSVG } from "react-svg";
|
||||
import Image from "next/image";
|
||||
|
||||
export default function Productpage(props) {
|
||||
@@ -14,7 +13,7 @@ export default function Productpage(props) {
|
||||
>
|
||||
<div className="center-icon">
|
||||
{props.iconurl &&
|
||||
<Image src={props.iconurl} width={300} height={300} alt={props.iconalt} className="products-icon" />
|
||||
<Image src={props.iconurl} width={300} height={300} alt={props.iconalt} className="products-icon" priority/>
|
||||
}
|
||||
|
||||
</div>
|
||||
|
||||
@@ -13,4 +13,8 @@ module.exports = {
|
||||
},
|
||||
]
|
||||
},
|
||||
i18n: {
|
||||
locales: ['de'],
|
||||
defaultLocale: 'de',
|
||||
},
|
||||
}
|
||||
@@ -19,7 +19,6 @@
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"react-dropzone": "^14.2.3",
|
||||
"react-svg": "^16.0.0",
|
||||
"react-transition-group": "^4.4.5",
|
||||
"sass": "^1.57.1",
|
||||
"sharp": "^0.31.3",
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -43,6 +43,11 @@
|
||||
fill: $white;
|
||||
}
|
||||
|
||||
.landing-logo {
|
||||
max-width: 7000px;
|
||||
max-height: 50vh;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-bottom: 2rem;
|
||||
font-family: circe, sans-serif;
|
||||
|
||||
43
yarn.lock
43
yarn.lock
@@ -17,13 +17,6 @@
|
||||
dependencies:
|
||||
regenerator-runtime "^0.13.4"
|
||||
|
||||
"@babel/runtime@^7.20.7":
|
||||
version "7.20.13"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.13.tgz#7055ab8a7cff2b8f6058bf6ae45ff84ad2aded4b"
|
||||
integrity sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA==
|
||||
dependencies:
|
||||
regenerator-runtime "^0.13.11"
|
||||
|
||||
"@eslint/eslintrc@^1.4.1":
|
||||
version "1.4.1"
|
||||
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.4.1.tgz#af58772019a2d271b7e2d4c23ff4ddcba3ccfb3e"
|
||||
@@ -217,15 +210,6 @@
|
||||
dependencies:
|
||||
tslib "^2.4.0"
|
||||
|
||||
"@tanem/svg-injector@^10.1.44":
|
||||
version "10.1.45"
|
||||
resolved "https://registry.yarnpkg.com/@tanem/svg-injector/-/svg-injector-10.1.45.tgz#2ac00c6a0832264421e9db5208f951c0fd4a0bfc"
|
||||
integrity sha512-HOmdNqYIP808rxzxc6dCP8MZOQQ1zKscoNo5BkjZKgYGSm/ObNCW6r+IPTP30kVHET7y0HAzrDwnP0WYFyr3Tg==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.20.7"
|
||||
content-type "^1.0.4"
|
||||
tslib "^2.4.1"
|
||||
|
||||
"@types/google.maps@3.50.5":
|
||||
version "3.50.5"
|
||||
resolved "https://registry.yarnpkg.com/@types/google.maps/-/google.maps-3.50.5.tgz#a0d12675b547205fc163c4b8d999db305ba3862a"
|
||||
@@ -241,11 +225,6 @@
|
||||
resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.180.tgz#4ab7c9ddfc92ec4a887886483bc14c79fb380670"
|
||||
integrity sha512-XOKXa1KIxtNXgASAnwj7cnttJxS4fksBRywK/9LzRV5YxrF80BXZIGeQSuoESQ/VkUj30Ae0+YcuHc15wJCB2g==
|
||||
|
||||
"@types/prop-types@^15.7.5":
|
||||
version "15.7.5"
|
||||
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf"
|
||||
integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w==
|
||||
|
||||
"@typescript-eslint/parser@^5.42.0":
|
||||
version "5.49.0"
|
||||
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.49.0.tgz#d699734b2f20e16351e117417d34a2bc9d7c4b90"
|
||||
@@ -583,11 +562,6 @@ concat-map@0.0.1:
|
||||
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
||||
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
|
||||
|
||||
content-type@^1.0.4:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
|
||||
integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==
|
||||
|
||||
core-js-pure@^3.20.2:
|
||||
version "3.21.1"
|
||||
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.21.1.tgz#8c4d1e78839f5f46208de7230cebfb72bc3bdb51"
|
||||
@@ -2142,16 +2116,6 @@ react-is@^16.13.1, react-is@^16.7.0:
|
||||
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
|
||||
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
|
||||
|
||||
react-svg@^16.0.0:
|
||||
version "16.0.0"
|
||||
resolved "https://registry.yarnpkg.com/react-svg/-/react-svg-16.0.0.tgz#624188d5145cd983213ccec6fa1d812eed5e4788"
|
||||
integrity sha512-Zh3Y7c8h2ufe7hk5YEebs4yH3mlZDlUbHrhYR1nZHCbJR9j7KaHYB8rcWEDiCh2WTstFJUEJtbPvjrHrJpEZhg==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.20.7"
|
||||
"@tanem/svg-injector" "^10.1.44"
|
||||
"@types/prop-types" "^15.7.5"
|
||||
prop-types "^15.8.1"
|
||||
|
||||
react-transition-group@^4.4.5:
|
||||
version "4.4.5"
|
||||
resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-4.4.5.tgz#e53d4e3f3344da8521489fbef8f2581d42becdd1"
|
||||
@@ -2185,11 +2149,6 @@ readdirp@~3.6.0:
|
||||
dependencies:
|
||||
picomatch "^2.2.1"
|
||||
|
||||
regenerator-runtime@^0.13.11:
|
||||
version "0.13.11"
|
||||
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9"
|
||||
integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==
|
||||
|
||||
regenerator-runtime@^0.13.4:
|
||||
version "0.13.9"
|
||||
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52"
|
||||
@@ -2562,7 +2521,7 @@ tslib@^1.10.0, tslib@^1.8.1:
|
||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
|
||||
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
|
||||
|
||||
tslib@^2.4.0, tslib@^2.4.1:
|
||||
tslib@^2.4.0:
|
||||
version "2.5.0"
|
||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf"
|
||||
integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==
|
||||
|
||||
Reference in New Issue
Block a user