mirror of
https://github.com/rjNemo/lekol-plus
synced 2026-06-06 06:56:41 +00:00
26 lines
553 B
JavaScript
26 lines
553 B
JavaScript
import React from "react"
|
|
import { useStaticQuery, graphql } from "gatsby"
|
|
import Img from "gatsby-image"
|
|
|
|
const Logo = () => {
|
|
const data = useStaticQuery(graphql`
|
|
query {
|
|
placeholderImage: file(relativePath: { eq: "lekol-plus-Logo.png" }) {
|
|
childImageSharp {
|
|
fluid(maxWidth: 300) {
|
|
...GatsbyImageSharpFluid
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`)
|
|
|
|
return (
|
|
<Img
|
|
fluid={data.placeholderImage.childImageSharp.fluid}
|
|
style={{ height: "2rem", width: "2rem" }}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export default Logo
|