Footer component markup and styling changes

This commit is contained in:
Moris Zen
2018-07-05 07:14:42 +02:00
parent ef2c45cf09
commit bcc6a948cb
3 changed files with 42 additions and 8 deletions

View File

@@ -4,19 +4,24 @@ import Link from 'gatsby-link'
import ImgSprint from '../images/wow-we-did-design-sprint-remotely.png'
const Card = ({ ...props }) => (
<div className="m-3 max-w-sm rounded overflow-hidden shadow-lg">
<div className="m-3 w-full rounded overflow-hidden shadow-lg">
<img className="w-full" src={ImgSprint} alt="Sprint Work" />
<div className="px-6 py-4">
<div className="font-bold text-xl mb-2">How we do remote design sprints
<div className="font-bold text-xl mb-2">
How we do remote design sprints
</div>
<p className="text-grey-darker text-base">
Its amazing how design can impact business and people making the world a better and a friendlier place. Knowing the how important design today is, heres a complete rundown of our design process in its fully glory.
Its amazing how design can impact business and people making the world
a better and a friendlier place. Knowing the how important design today
is, heres a complete rundown of our design process in its fully glory.
</p>
</div>
<div className="px-6 py-4">
<span className="inline-block bg-grey-lighter rounded-full px-3 py-1 text-sm font-semibold text-grey-darker">#workstyle</span>
<span className="inline-block bg-grey-lighter rounded-full px-3 py-1 text-sm font-semibold text-grey-darker">
#workstyle
</span>
</div>
</div>
)
export default Card
export default Card

View File

@@ -1,9 +1,38 @@
import React from 'react'
import Link from 'gatsby-link'
import Button from './Button'
import LogoSaburly from '../images/logo-saburly-colorful.svg'
let menuClasses =
'no-underline mt-4 lg:inline-block opacity-75 lg:mt-0 text-white hover:opacity-100 uppercase mr-4'
const Footer = () => (
<footer>
<h1>Footer</h1>
<footer className="bg-indigo-darker">
<img src={LogoSaburly} alt="Saburly Logo" className="max-w-xs" />
<p className="text-white font-light">
Nam imperdiet et massa ut lacinia. Praesent nec sem ut sem efficitur
imperdiet.
</p>
<h4>Home</h4>
<ul className="text-sm">
<Link to="/services">
<li className={menuClasses}>What We Do</li>
</Link>
<Link to="/about">
<li className={menuClasses}>TEAM</li>
</Link>
<Link to="/blog">
<li className={menuClasses}>BLOG</li>
</Link>
</ul>
<Button
text="Contact Us"
standard
classes="rounded-full text-white hover:shadow"
url="/contact"
/>
</footer>
)

View File

@@ -135,7 +135,7 @@ const IndexPage = () => (
intro="Blog & Social Media"
headline="But occasionally we find the time to have fun and publish stuff"
/>
<div className="lg:flex">
<div className="lg:flex justify-center mt-8">
<Card />
<Card />
<Card />