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