1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 17:23:22 +01:00

more portfolio images

This commit is contained in:
Matthias Kretschmann 2018-04-17 22:35:02 +02:00
parent 7c5fff1cdd
commit 6dc0237256
Signed by: m
GPG Key ID: 606EEEF3C479A91F
9 changed files with 37 additions and 14 deletions

View File

@ -3,6 +3,10 @@
"title": "Ocean Protocol",
"slug": "oceanprotocol",
"img": "oceanprotocol",
"img_more": [
"oceanprotocol01",
"oceanprotocol02"
],
"links": {
"Link": "https://oceanprotocol.com"
},
@ -22,6 +26,10 @@
"title": "IPDB",
"slug": "ipdb",
"img": "ipdb",
"img_more": [
"ipdb01",
"ipdb02"
],
"links": {
"Link": "https://ipdb.io",
"GitHub": "https://github.com/ipdb/website"
@ -80,7 +88,8 @@
"img": "bigchaindb",
"img_more": [
"bigchaindb01",
"bigchaindb02"
"bigchaindb02",
"bigchaindb03"
],
"links": {
"Link": "https://www.bigchaindb.com",

View File

@ -1,8 +1,9 @@
import React from 'react'
import React, { Fragment } from 'react'
import Link from 'gatsby-link'
import PropTypes from 'prop-types'
import Social from './Social'
import FadeIn from '../atoms/FadeIn'
import { Logo } from '../atoms/Icons'
import Social from './Social'
import './Header.scss'
const Header = ({ meta, isHomepage }) => {
@ -10,13 +11,16 @@ const Header = ({ meta, isHomepage }) => {
return (
<header className={classes}>
<FadeIn>
<Fragment>
<Link className="header__name" to={'/'}>
<Logo className="header__logo" />
<h1 className="header__title">{meta.title.toLowerCase()}</h1>
<p className="header__description"><span>{'{ '}</span> {meta.tagline.toLowerCase()} <span>{' }'}</span></p>
</Link>
<Social meta={meta} minimal={!isHomepage} hide={!isHomepage} />
</Fragment>
</FadeIn>
</header>
)
}

View File

@ -1,10 +1,15 @@
import oceanprotocol from './portfolio-oceanprotocol.png'
import oceanprotocol01 from './portfolio-oceanprotocol-01.png'
import oceanprotocol02 from './portfolio-oceanprotocol-02.png'
import ipdb from './portfolio-ipdb.png'
import ipdb01 from './portfolio-ipdb-01.png'
import ipdb02 from './portfolio-ipdb-02.png'
import biv from './portfolio-biv.png'
import ninenineeightfour from './portfolio-9984.png'
import bigchaindb from './portfolio-bigchaindb.png'
import bigchaindb01 from './portfolio-bigchaindb-01.png'
import bigchaindb02 from './portfolio-bigchaindb-02.png'
import bigchaindb03 from './portfolio-bigchaindb-03.png'
import chartmogul from './portfolio-chartmogul.png'
import chartmogul01 from './portfolio-chartmogul-01.png'
import chartmogul02 from './portfolio-chartmogul-02.png'
@ -22,12 +27,17 @@ import outofwhaleoil02 from './portfolio-outofwhaleoil-02.png'
export default {
oceanprotocol,
oceanprotocol01,
oceanprotocol02,
ipdb,
ipdb01,
ipdb02,
biv,
ninenineeightfour,
bigchaindb,
bigchaindb01,
bigchaindb02,
bigchaindb03,
chartmogul,
chartmogul01,
chartmogul02,

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 298 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

View File

@ -6,15 +6,15 @@ import Header from '../components/molecules/Header'
import Footer from '../components/molecules/Footer'
import './index.scss'
const TemplateWrapper = props => {
const meta = props.data.allDataJson.edges[0].node
const isHomepage = props.location.pathname === '/'
const TemplateWrapper = ({ data, location, children }) => {
const meta = data.allDataJson.edges[0].node
const isHomepage = location.pathname === '/'
return (
<div className="app">
<Head meta={meta} />
<Header meta={meta} isHomepage={isHomepage} />
<FadeIn>{props.children()}</FadeIn>
<FadeIn>{children()}</FadeIn>
<Footer meta={meta} />
</div>
)