GithubHelp home page GithubHelp logo

gatsby-portfolio's People

Contributors

matjack1 avatar souljuse avatar stefanoverna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gatsby-portfolio's Issues

Error on fresh install

  1. Did the demo install from the DatoCMS control panel.
  2. Automated install and publish to netlify went ok, site working on netlify.
  3. cloned the repo locally,
  4. did yarn install,
  5. created .env with API key.
  6. yarn develop passed but with error in console:
GraphQL Error Unknown field `resize` on type `[DatoCmsAsset]`
file: C:/Dev/datocms-gatsby/src/templates/work.js

   1 |
   2 |   query WorkQuery($slug: String!) {
   3 |     datoCmsWork(slug: { eq: $slug }) {
   4 |       seoMetaTags {
   5 |         ...GatsbyDatoCmsSeoMetaTags
   6 |       }
   7 |       title
   8 |       excerpt
   9 |       gallery {
> 10 |         resize(height: 200, imgixParams: { fm: "jpg", auto: "compress" }) {
     |         ^
  11 |           src
  12 |         }
  13 |       }
  14 |       descriptionNode {
  15 |         childMarkdownRemark {
  16 |           html
  17 |         }
  18 |       }
  19 |       coverImage {
  20 |         url
  1. on http://localhost:8000/ i get:
TypeError: Cannot read property 'datoCmsSite' of undefined
new TemplateWrapper
C:/Dev/datocms-gatsby/src/layouts/index.js:11
    8 | const TemplateWrapper = ({ children, data }) => (
    9 |   <div className="container">
   10 |     <HelmetDatoCms
 > 11 |       favicon={data.datoCmsSite.faviconMetaTags}
   12 |       seo={data.datoCmsHome.seoMetaTags}
   13 |     />
   14 |     <div className="container__sidebar">

Running the GraphQL query from index.js in GraphiQL, I get:

{
  "errors": [
    {
      "message": "Unknown fragment \"GatsbyDatoCmsFaviconMetaTags\".",
      "locations": [
        {
          "line": 7,
          "column": 12
        }
      ]
    },
    {
      "message": "Unknown fragment \"GatsbyDatoCmsSeoMetaTags\".",
      "locations": [
        {
          "line": 12,
          "column": 12
        }
      ]
    }
  ]
}

Please advise.

The portfolio template is not available

When clicking this URL & trying to create a site from that template I get this error.

This repo contains a working static website written with Gatsby, integrated with content coming from this DatoCMS administrative area.

screen shot 2018-02-08 at 21 16 58

Sanitized HTML

Howdy!
This starter uses dangerouslySetInnerHTML. I could not find it while searching but is the data sanitized?

Host The Project On GitHub Pages

I'm sure this is an awesome project but not everybody has time to clone the repo, install dependencies and serve it locally.

Can you host a demo on something like GitHub Pages?

error Cannot read property 'allDatoCmsWork' of undefined

yarn develop yields this:

error Cannot read property 'allDatoCmsWork' of undefined


  TypeError: Cannot read property 'allDatoCmsWork' of undefined

  - gatsby-node.js:19 graphql.then.result
    /private/var/www/project/gatsby-node.js:19:19

  - util.js:16 tryCatcher
    [project]/[bluebird]/js/release/util.js:16:23

  - promise.js:512 Promise._settlePromiseFromHandler
    [project]/[bluebird]/js/release/promise.js:512:31

  - promise.js:569 Promise._settlePromise
    [project]/[bluebird]/js/release/promise.js:569:18

  - promise.js:606 Promise._settlePromiseCtx
    [project]/[bluebird]/js/release/promise.js:606:10

  - async.js:138 Async._drainQueue
    [project]/[bluebird]/js/release/async.js:138:12

  - async.js:143 Async._drainQueues
    [project]/[bluebird]/js/release/async.js:143:10

  - async.js:17 Immediate.Async.drainQueues [as _onImmediate]
    [project]/[bluebird]/js/release/async.js:17:14


error UNHANDLED REJECTION


  TypeError: Cannot read property 'allDatoCmsWork' of undefined

  - gatsby-node.js:19 graphql.then.result
    /private/var/www/project/gatsby-node.js:19:19

  - util.js:16 tryCatcher
    [project]/[bluebird]/js/release/util.js:16:23

  - promise.js:512 Promise._settlePromiseFromHandler
    [project]/[bluebird]/js/release/promise.js:512:31

  - promise.js:569 Promise._settlePromise
    [project]/[bluebird]/js/release/promise.js:569:18

  - promise.js:606 Promise._settlePromiseCtx
    [project]/[bluebird]/js/release/promise.js:606:10

  - async.js:138 Async._drainQueue
    [project]/[bluebird]/js/release/async.js:138:12

  - async.js:143 Async._drainQueues
    [project]/[bluebird]/js/release/async.js:143:10

  - async.js:17 Immediate.Async.drainQueues [as _onImmediate]
    [project]/[bluebird]/js/release/async.js:17:14

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Also, needed to run a yarn upgrade since some packages were out of date, but I was getting similar errors before.

sidebar-title and Homepage title

Where can the sidebar-title and Homepage title be edited? I looked in the code and on the dato admin page and I have not found these yet. This is a cool project and I want to see how everything works :-).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.