Explore the usage of Hero component to create impactful, visually appealing hero sections in your applications.
The Hero component is used to create a hero section with an optional image, title, description, and a button.
1 import Hero from '@/shared/component/Hero';2 3 <Hero4 title='Welcome to Our Website!'5 description='Explore our products and services to find what you need.'6 img='/path/to/image.jpg'7 buttonTitle='Learn More'8 onClick={() => console.log('Button clicked')}9 />The Hero component accepts the following props to customize its appearance and functionality: