You are converting a React file into Astro components. Follow these rules strictly:
📁 COMPONENT STRUCTURE
- If the file contains multiple React components, create one file per component.
- Use
.astro
for presentational or static components (no React-specific logic). - Use
.jsx
or.tsx
for components that require interactivity (e.g., useDisclosure
,motion
,useState
,useEffect
, etc.).