fix(SW-190): moved Hero component from TempDesignSystem to components
This commit is contained in:
17
components/Hero/index.tsx
Normal file
17
components/Hero/index.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
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}
|
||||
/>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user