require staticquery gatsby code example Example: usestaticquery gatsby import { useStaticQuery, graphql } from "gatsby"