A responsive and interactive hero section built with React, TypeScript, and Tailwind CSS. Features include editable content, AI-powered content regeneration, and a dynamic image carousel.
Clone the repository
git clone <repository-url>
cd hero-section
Install dependencies
npm install
Start the development server
npm run dev
Open in browser
Navigate to http://localhost:5173
hero-section/
āāā src/
ā āāā components/
ā ā āāā Hero.tsx
ā āāā App.tsx
ā āāā main.tsx
ā āāā index.css
āāā public/
āāā package.json
āāā vite.config.ts
āāā tailwind.config.js
āāā README.md
The hero section is fully customizable:
To modify the hero section:
src/components/Hero.tsx
for component changessampleContent
array to update the content variationssampleImages
array to change the carousel imagesMIT
https://www.loom.com/share/cb3b5f41269c478ab9709a55bc891104?sid=a9c9109c-3080-4289-aba1-48d1f7e33ca4