import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import App from './App.tsx';
import './index.css';
import { setupSmoothScroll } from './utils/animations';

// Set up smooth scrolling for anchor links
document.addEventListener('DOMContentLoaded', setupSmoothScroll);

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <App />
  </StrictMode>
);