Fixed Routes
This commit is contained in:
@@ -290,7 +290,7 @@ class Navbar extends React.Component {
|
||||
|
||||
<div className="nav-subitem">
|
||||
<Link
|
||||
href={"/fertigungsverfahren/fuegeverfahren"}
|
||||
href={"/fertigungsverfahren/fügeverfahren"}
|
||||
className="nav-link"
|
||||
>
|
||||
<a>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from "react";
|
||||
import { ReactSVG } from "react-svg";
|
||||
import Image from "next/image";
|
||||
|
||||
export default function Productpage(props) {
|
||||
return (
|
||||
@@ -12,8 +13,8 @@ export default function Productpage(props) {
|
||||
} ${props.smallbg ? "col-lg-5" : "col-lg-6"}`}
|
||||
style={{ backgroundImage: `url(${props.bgurl})` }}
|
||||
>
|
||||
<div className="icon-size align-items-center">
|
||||
<ReactSVG src={props.iconurl} />
|
||||
<div className="center-icon">
|
||||
<Image src={props.iconurl} width={300} height={300} />
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
||||
@@ -12,10 +12,10 @@ export async function getStaticPaths() {
|
||||
{ params: { index: "stanzteile" } },
|
||||
{ params: { index: "biegeteile" } },
|
||||
{ params: { index: "lasergravur" } },
|
||||
{ params: { index: "blechkonstruktion" } },
|
||||
{ params: { index: "baugruppe" } },
|
||||
{ params: { index: "blechkonstruktionen" } },
|
||||
{ params: { index: "baugruppen" } },
|
||||
{ params: { index: "fügeverfahren" } },
|
||||
{ params: { index: "entgraten" } },
|
||||
{ params: { index: "entgrattechnik" } },
|
||||
],
|
||||
fallback: false, // See the "fallback" section below
|
||||
};
|
||||
@@ -91,7 +91,7 @@ Wir beraten Sie gerne, wenn es um die Machbarkeit von Biegeteilen geht. Dabei k
|
||||
hkey: "Lasergravieren, Lasergravur",
|
||||
},
|
||||
};
|
||||
case "blechkonstruktion":
|
||||
case "blechkonstruktionen":
|
||||
return {
|
||||
props: {
|
||||
title: "Blechkonstruktion",
|
||||
@@ -107,7 +107,7 @@ Wir haben das Know-how um Blechteile zu konstruieren, die später problemlos und
|
||||
hkey: "Blechkonstruktion",
|
||||
},
|
||||
};
|
||||
case "baugruppe":
|
||||
case "baugruppen":
|
||||
return {
|
||||
props: {
|
||||
title: "Baugruppen",
|
||||
@@ -139,7 +139,7 @@ Kantenschutz`,
|
||||
hkey: "Fügeverfahren",
|
||||
},
|
||||
};
|
||||
case "entgraten":
|
||||
case "entgrattechnik":
|
||||
return {
|
||||
props: {
|
||||
title: "Entgrattechnik",
|
||||
|
||||
@@ -19,16 +19,16 @@
|
||||
<loc>https://www.prothmann.com/fertigungsverfahren/lasergravur</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://www.prothmann.com/fertigungsverfahren/blechkonstruktion</loc>
|
||||
<loc>https://www.prothmann.com/fertigungsverfahren/blechkonstruktionen</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://www.prothmann.com/fertigungsverfahren/baugruppe</loc>
|
||||
<loc>https://www.prothmann.com/fertigungsverfahren/baugruppen</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://www.prothmann.com/fertigungsverfahren/fügeverfahren</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://www.prothmann.com/fertigungsverfahren/entgraten</loc>
|
||||
<loc>https://www.prothmann.com/fertigungsverfahren/entgrattechnik</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://www.prothmann.com/materialien</loc>
|
||||
|
||||
@@ -147,6 +147,7 @@ section {
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
min-height: calc(100vh - (200px - 49px));
|
||||
|
||||
.products-img:first-of-type {
|
||||
min-height: calc(100vh - 49px);
|
||||
}
|
||||
@@ -191,3 +192,11 @@ section {
|
||||
.minh-100vh {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.center-icon {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: nowrap;
|
||||
align-content: center;
|
||||
justify-content: center;
|
||||
}
|
||||
Reference in New Issue
Block a user