Fixed animations
This commit is contained in:
5
.env.local.sample
Normal file
5
.env.local.sample
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
MAIL_DOMAIN=mail.example.com
|
||||||
|
MAIL_PORT=587
|
||||||
|
MAIL_USER=user
|
||||||
|
MAIL_PASS=password
|
||||||
|
MAIL_TO=mailto@example.com
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -35,6 +35,3 @@ yarn-error.log*
|
|||||||
|
|
||||||
# gsap npmrc
|
# gsap npmrc
|
||||||
.npmrc
|
.npmrc
|
||||||
|
|
||||||
#ecosystem
|
|
||||||
ecosystem.config.js
|
|
||||||
@@ -190,7 +190,6 @@ class Navbar extends React.Component {
|
|||||||
<Image
|
<Image
|
||||||
src={laserteileImg}
|
src={laserteileImg}
|
||||||
alt="Laserteile Icon"
|
alt="Laserteile Icon"
|
||||||
layout="intrinsic"
|
|
||||||
width={50}
|
width={50}
|
||||||
height={50}
|
height={50}
|
||||||
/>
|
/>
|
||||||
@@ -208,7 +207,6 @@ class Navbar extends React.Component {
|
|||||||
<Image
|
<Image
|
||||||
src={stanzteileImg}
|
src={stanzteileImg}
|
||||||
alt="Stanzteile Icon"
|
alt="Stanzteile Icon"
|
||||||
layout="intrinsic"
|
|
||||||
width={50}
|
width={50}
|
||||||
height={50}
|
height={50}
|
||||||
/>
|
/>
|
||||||
@@ -226,7 +224,6 @@ class Navbar extends React.Component {
|
|||||||
<Image
|
<Image
|
||||||
src={biegeteileImg}
|
src={biegeteileImg}
|
||||||
alt="Biegeteile Icon"
|
alt="Biegeteile Icon"
|
||||||
layout="intrinsic"
|
|
||||||
width={50}
|
width={50}
|
||||||
height={50}
|
height={50}
|
||||||
/>
|
/>
|
||||||
@@ -244,7 +241,6 @@ class Navbar extends React.Component {
|
|||||||
<Image
|
<Image
|
||||||
src={lasergravurImg}
|
src={lasergravurImg}
|
||||||
alt="Lasergravur Icon"
|
alt="Lasergravur Icon"
|
||||||
layout="intrinsic"
|
|
||||||
width={50}
|
width={50}
|
||||||
height={50}
|
height={50}
|
||||||
/>
|
/>
|
||||||
@@ -262,7 +258,6 @@ class Navbar extends React.Component {
|
|||||||
<Image
|
<Image
|
||||||
src={blechkonstruktionImg}
|
src={blechkonstruktionImg}
|
||||||
alt="Blechkonstruktionen Icon"
|
alt="Blechkonstruktionen Icon"
|
||||||
layout="intrinsic"
|
|
||||||
width={50}
|
width={50}
|
||||||
height={50}
|
height={50}
|
||||||
/>
|
/>
|
||||||
@@ -280,7 +275,6 @@ class Navbar extends React.Component {
|
|||||||
<Image
|
<Image
|
||||||
src={baugruppenImg}
|
src={baugruppenImg}
|
||||||
alt="Baugruppen Icon"
|
alt="Baugruppen Icon"
|
||||||
layout="intrinsic"
|
|
||||||
width={50}
|
width={50}
|
||||||
height={50}
|
height={50}
|
||||||
/>
|
/>
|
||||||
@@ -298,7 +292,6 @@ class Navbar extends React.Component {
|
|||||||
<Image
|
<Image
|
||||||
src={fuegeverfahrenImg}
|
src={fuegeverfahrenImg}
|
||||||
alt="Fügeverfahren Icon"
|
alt="Fügeverfahren Icon"
|
||||||
layout="intrinsic"
|
|
||||||
width={50}
|
width={50}
|
||||||
height={50}
|
height={50}
|
||||||
/>
|
/>
|
||||||
@@ -316,7 +309,6 @@ class Navbar extends React.Component {
|
|||||||
<Image
|
<Image
|
||||||
src={entgrattechnikImg}
|
src={entgrattechnikImg}
|
||||||
alt="Entgrattechnik Icon"
|
alt="Entgrattechnik Icon"
|
||||||
layout="intrinsic"
|
|
||||||
width={50}
|
width={50}
|
||||||
height={50}
|
height={50}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ export default function Productpage(props) {
|
|||||||
>
|
>
|
||||||
<div className="center-icon">
|
<div className="center-icon">
|
||||||
{props.iconurl &&
|
{props.iconurl &&
|
||||||
<Image src={props.iconurl} width={300} height={300} alt={""} />
|
<Image src={props.iconurl} width={300} height={300} alt={props.iconalt} className="products-icon" />
|
||||||
}
|
}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -105,6 +105,13 @@ export default class Site extends App {
|
|||||||
});
|
});
|
||||||
this.tl.clear();
|
this.tl.clear();
|
||||||
|
|
||||||
|
if (document.querySelector(".landing-img")) {
|
||||||
|
this.tl.to(".landing-img", {
|
||||||
|
scale: 0.9,
|
||||||
|
opacity: 0,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if (document.querySelector(".mainheading")) {
|
if (document.querySelector(".mainheading")) {
|
||||||
this.tl.to(".mainheading", {
|
this.tl.to(".mainheading", {
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
@@ -123,6 +130,30 @@ export default class Site extends App {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (document.querySelector(".products-icon")) {
|
||||||
|
if (getWidth() > 1200) {
|
||||||
|
this.tl.to(
|
||||||
|
".products-icon",
|
||||||
|
{
|
||||||
|
opacity: 0,
|
||||||
|
duration: 0.1,
|
||||||
|
},
|
||||||
|
0
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
this.tl.to(
|
||||||
|
".products-icon",
|
||||||
|
{
|
||||||
|
opacity: 0,
|
||||||
|
height: 0,
|
||||||
|
minHeight: 0,
|
||||||
|
duration: 0.5,
|
||||||
|
},
|
||||||
|
0
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (document.querySelector(".products-img")) {
|
if (document.querySelector(".products-img")) {
|
||||||
if (getWidth() > 1200) {
|
if (getWidth() > 1200) {
|
||||||
this.tl.to(
|
this.tl.to(
|
||||||
@@ -148,13 +179,6 @@ export default class Site extends App {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (document.querySelector(".landing-img")) {
|
|
||||||
this.tl.to(".landing-img", {
|
|
||||||
scale: 0.9,
|
|
||||||
opacity: 0,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
this.tl.to(node, {
|
this.tl.to(node, {
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
duration: 0.1,
|
duration: 0.1,
|
||||||
|
|||||||
@@ -173,6 +173,7 @@ class Fertigungsverfahren extends React.Component {
|
|||||||
<Productpage
|
<Productpage
|
||||||
bgurl={this.props.bgurl}
|
bgurl={this.props.bgurl}
|
||||||
iconurl={this.props.iconurl}
|
iconurl={this.props.iconurl}
|
||||||
|
iconalt={this.props.iconalt}
|
||||||
title={this.props.title}
|
title={this.props.title}
|
||||||
text={this.props.text}
|
text={this.props.text}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -54,9 +54,8 @@ export default class Home extends React.Component {
|
|||||||
<div className="col text-center">
|
<div className="col text-center">
|
||||||
<Image
|
<Image
|
||||||
src={landinglogoImg}
|
src={landinglogoImg}
|
||||||
className="products-img"
|
className="landing-logo"
|
||||||
alt="Logo der Hans Prothmann GmbH"
|
alt="Logo der Hans Prothmann GmbH"
|
||||||
layout="intrinsic"
|
|
||||||
width={500}
|
width={500}
|
||||||
height={500}
|
height={500}
|
||||||
/>
|
/>
|
||||||
@@ -69,19 +68,19 @@ export default class Home extends React.Component {
|
|||||||
<p>
|
<p>
|
||||||
Seit 1971 ist die Hans Prothmann GmbH ihr verlässlicher Partner
|
Seit 1971 ist die Hans Prothmann GmbH ihr verlässlicher Partner
|
||||||
für Blechverarbeitung in München. Unsere Produktion setzt auf
|
für Blechverarbeitung in München. Unsere Produktion setzt auf
|
||||||
einen modernen Maschinenpark mit
|
einen modernen Maschinenpark mit {" "}
|
||||||
<Link href="/fertigungsverfahren/laserteile">
|
<Link href="/fertigungsverfahren/laserteile">
|
||||||
CNC Laser-
|
CNC Laser-
|
||||||
</Link>
|
</Link>
|
||||||
,
|
,{" "}
|
||||||
<Link href="/fertigungsverfahren/stanzteile">
|
<Link href="/fertigungsverfahren/stanzteile">
|
||||||
CNC Stanz-
|
CNC Stanz-
|
||||||
</Link>
|
</Link>
|
||||||
,
|
,{" "}
|
||||||
<Link href="/fertigungsverfahren/biegeteile">
|
<Link href="/fertigungsverfahren/biegeteile">
|
||||||
CNC Biege-
|
CNC Biege-
|
||||||
</Link>{" "}
|
</Link>{" "}
|
||||||
und
|
und{" "}
|
||||||
<Link href="/fertigungsverfahren/lasergravur">
|
<Link href="/fertigungsverfahren/lasergravur">
|
||||||
Gravurtechnik
|
Gravurtechnik
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
Reference in New Issue
Block a user