Developer Ambassador
@TurbineKreuzberg
"I take care of developers."
follow me as @stadolf everywhere.
Look Ma, I got my own LAMP server
Great! Oh look, someone broke into it
because you forgot to update it.
Look Ma, I got my own blog!
Great! Oh, can you just add Plugin XYZ
and change the reading direction to RTL?
Meh.
Look Ma, I did not even install PHP on the server!
Great! Can you please add this
dynamic fancy calendar widget on every page?
DOH!
Static!
Components!
CSSinJS!
Complex Content!
Prefetching!
CSS Inlining!
Asset pipelining!
Progressive!
import 'font-awesome/css/font-awesome.css'
✔ 15:17:48 devday.io [master ✔] $ gatsby build
success delete html and css files from previous builds — 0.057 s
success open and validate gatsby-config — 0.007 s
success copy gatsby files — 0.016 s
success onPreBootstrap — 0.337 s
⠁ Starting to fetch data from Contentful
Fetching default locale
⠄ source and transform nodesdefault local is : de
⠠ source and transform nodescontentTypes fetched 1
Updated entries 2
Deleted entries 0
Updated assets 0
Deleted assets 0
Fetch Contentful data: 283.941ms
success source and transform nodes — 0.345 s
success building schema — 0.171 s
success createLayouts — 0.009 s
success createPages — 0.001 s
success createPagesStatefully — 0.014 s
success onPreExtractQueries — 0.002 s
success update schema — 0.097 s
success extract queries from components — 0.052 s
success run graphql queries — 0.105 s
success write out page data — 0.004 s
success write out redirect data — 0.001 s
success onPostBootstrap — 0.001 s
info bootstrap finished - 2.911 s
success Building CSS — 6.289 s
success Building production JavaScript bundles — 11.470 s
success Building static HTML for pages — 3.894 s
info Done building in 24.567 sec
✔ 15:18:18 devday.io [master ✔] $ gatsby serve
┌───────────────────────────────────────────────────┐
│ │
│ Serving! │
│ │
│ - Local: http://localhost:9000 │
│ - On Your Network: http://192.168.60.99:9000 │
│ │
│ Copied local address to clipboard! │
│ │
└───────────────────────────────────────────────────┘
import React from 'react'
import Link from 'gatsby-link'
import { Container, Title, Hero, HeroBody } from 'bloomer'
import MasterTeaser from '../components/MasterTeaser';
const IndexPage = ({data}) => {
return <div>
<MasterTeaser content={data.masterTeaser.html}/>
</div>;
}
export default IndexPage
export const query = graphql`
query IndexQuery {
masterTeaser: markdownRemark(id: {regex: "/masterTeaser/"}) {
...MasterTeaser
}
talks: allContentfulTalk {
edges {
node {
id
title
slotTime
location
speakerName
speakerPosition
createdAt
}
}
}
}
`