WelcomeModal component.
This component is responsible for displaying a welcome modal for first-time visitors.
It uses the useState and useEffect hooks from React to manage state and side effects.
The component checks if the user has visited the site before by checking the 'firstVisit' item in localStorage.
If the 'firstVisit' item does not exist, the component assumes that the user is a first-time visitor and displays the welcome modal.
The welcome modal contains a welcome message and a close button.
When the close button is clicked, the modal is hidden.
WelcomeModal component. This component is responsible for displaying a welcome modal for first-time visitors. It uses the useState and useEffect hooks from React to manage state and side effects. The component checks if the user has visited the site before by checking the 'firstVisit' item in localStorage. If the 'firstVisit' item does not exist, the component assumes that the user is a first-time visitor and displays the welcome modal. The welcome modal contains a welcome message and a close button. When the close button is clicked, the modal is hidden.