18 lines
313 B
TypeScript
18 lines
313 B
TypeScript
import Image from "@/components/Image"
|
|
|
|
import { HeroProps } from "./hero"
|
|
|
|
import styles from "./hero.module.css"
|
|
|
|
export default async function Hero({ alt, src }: HeroProps) {
|
|
return (
|
|
<Image
|
|
className={styles.hero}
|
|
alt={alt}
|
|
height={480}
|
|
width={1196}
|
|
src={src}
|
|
/>
|
|
)
|
|
}
|