Files
web/components/Hero/index.tsx
2024-10-21 14:22:00 +02:00

19 lines
355 B
TypeScript

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}
/>
)
}