Fade effect to about us page
This commit is contained in:
@@ -1,15 +1,16 @@
|
|||||||
import React, { Component } from 'react'
|
import React, { Component } from 'react'
|
||||||
|
|
||||||
import PageIntro from '../components/PageIntro'
|
import PageIntro from '../components/PageIntro'
|
||||||
import SectionIntro from '../components/SectionIntro'
|
import SectionIntro from '../components/SectionIntro'
|
||||||
|
|
||||||
|
import PageTransition from 'gatsby-plugin-page-transitions'
|
||||||
|
import Fade from 'react-reveal/fade'
|
||||||
|
|
||||||
import IntroImage from '../images/web-development-consultants.jpg'
|
import IntroImage from '../images/web-development-consultants.jpg'
|
||||||
import MeaningSaburly from '../images/coding-tutorials-patience.svg'
|
import MeaningSaburly from '../images/coding-tutorials-patience.svg'
|
||||||
|
|
||||||
import PageTransition from 'gatsby-plugin-page-transitions'
|
|
||||||
|
|
||||||
const AboutPage = () => (
|
const AboutPage = () => (
|
||||||
<PageTransition>
|
<PageTransition>
|
||||||
|
<Fade top>
|
||||||
<PageIntro
|
<PageIntro
|
||||||
tiltImage
|
tiltImage
|
||||||
headline="Founded by developers"
|
headline="Founded by developers"
|
||||||
@@ -17,8 +18,10 @@ const AboutPage = () => (
|
|||||||
image={IntroImage}
|
image={IntroImage}
|
||||||
imgClasses="border-white border-8 rounded -mb-12"
|
imgClasses="border-white border-8 rounded -mb-12"
|
||||||
/>
|
/>
|
||||||
|
</Fade>
|
||||||
|
|
||||||
<section className="container mx-auto my-12 p-4">
|
<section className="container mx-auto my-12 p-4">
|
||||||
|
<Fade left>
|
||||||
<div className="md:flex justify-center items-center">
|
<div className="md:flex justify-center items-center">
|
||||||
<img
|
<img
|
||||||
src={MeaningSaburly}
|
src={MeaningSaburly}
|
||||||
@@ -31,14 +34,17 @@ const AboutPage = () => (
|
|||||||
text="...Patience. ...Our goal is long-term engagement."
|
text="...Patience. ...Our goal is long-term engagement."
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
</Fade>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section className="container mx-auto my-12 p-4">
|
<section className="container mx-auto my-12 p-4">
|
||||||
|
<Fade>
|
||||||
<SectionIntro
|
<SectionIntro
|
||||||
h2Classes="text-5xl"
|
h2Classes="text-5xl"
|
||||||
headline="The Team"
|
headline="The Team"
|
||||||
text="We are a small company with a personal touch that knows our stuff. Our team consists of handpicked expert software developers, designers and system architects - all highly motivated to help you succeed."
|
text="We are a small company with a personal touch that knows our stuff. Our team consists of handpicked expert software developers, designers and system architects - all highly motivated to help you succeed."
|
||||||
/>
|
/>
|
||||||
|
</Fade>
|
||||||
</section>
|
</section>
|
||||||
</PageTransition>
|
</PageTransition>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user