StaticImage

 import React, { useEffect, useRef } from "react"

import { StaticImage } from "gatsby-plugin-image"
import { gsap } from 'gsap';

export default function Hero() {

  let logo = useRef(null);

  useEffect(() => {
    let tl = gsap.timeline({ defaults: {opacity: 0, delay: 0.5} });
    tl.from(logo.current, {x:-100});  
  })

  return (
    <main>
      <div ref={logo}>
        <StaticImage
           src="../images/logo.png"
           width={500}
           alt="Hero Image"
         />
      </div>
    </main>
  )
}

Không có nhận xét nào:

N8N - List files of Google drive folder

 https://community.n8n.io/t/google-drive-search-file-folder-returns-folder-id-not-contents/55189/2