Services page structure

This commit is contained in:
Moris Zen
2018-07-07 00:28:15 +02:00
parent 81ab174b02
commit 24eb52048f
3 changed files with 15 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ import ImgSprint from '../images/wow-we-did-design-sprint-remotely.png'
const Card = ({ ...props }) => (
<article className="h-full w-full rounded overflow-hidden shadow-md hover:shadow-lg">
<Link to={props.url}>
<Link to={props.url}>
{props.image ? (
<img className="w-full" src={props.image.src} />
) : (

View File

@@ -1,8 +1,19 @@
import React from 'react'
import PageIntro from '../components/PageIntro'
import SectionIntro from '../components/SectionIntro'
const ServicesPage = () => (
<div>
<h1>Services page</h1>
<PageIntro intro="Services" headline="Agile Practitioners" text="Agile isnt simply a methodology whose principles and values we follow in our software development process. Its how we work." sectionClasses="mb-16 lg:mb-8" />
<section className="container mx-auto my-12 p-4">
<SectionIntro
headline="Full-stack software development"
text="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
/>
</section>
</div>
)

View File

@@ -8,7 +8,7 @@ class Blog extends Component {
render() {
const data = this.props.data
return (
<div>
<main>
<PageIntro intro="Blog" headline="Occasionally we find the time to have fun and publish" sectionClasses="mb-16 lg:mb-4" />
<div className="container mx-auto p-4 w-full md:flex md:flex-wrap items-stretch w-full">
{data.allWordpressPost.edges.map(({ node }) => (
@@ -27,7 +27,7 @@ class Blog extends Component {
</div>
))}
</div>
</div>
</main>
)
}
}