import Image from "@/components/Image"

import { HeroProps } from "./hero"

import styles from "./hero.module.css"

export default async function Hero({ alt, src, focalPoint }: HeroProps) {
  return (
    <Image
      className={styles.hero}
      alt={alt}
      height={480}
      width={1196}
      src={src}
      focalPoint={focalPoint}
    />
  )
}
