useStaticQuery gatsby-node.js code example Example: usestaticquery gatsby import { useStaticQuery, graphql } from "gatsby"