Skip to content

DeveloPassion/website

Repository files navigation

DeveloPassion's Website

This is the code behind DeveloPassion's official Website: https://www.developassion.be.

Build

  • execute yarn install
  • execute npm run build to run the development version locally
  • execute npm run build:prod to build the production version (put under public/)

GraphiQL: http://localhost:8000/___graphql

Publish

  • git tag <version>
  • git push --tags
  • Netlify: git push ;-)
  • Old way: Github pages
    • execute npm run deploy

Metadata

Adapt metadata.js

Conditions

  • Add new PDF to static
  • Adapt metadata
  • Update terms.tsx

Images

Loaded through GraphQL with Gatsby Image. Generates various sizes etc automatically.

Plugin used:

SVGs:

  • Under src/assets/images/svg
  • Loaded using a require call and a specific Webpack loader (requires a tslint ignore)

TODO