added animation for home page

This commit is contained in:
dong.nguyen committed 2026-10-06 19:29:13 +07:00
1 parent 531c70e13a
commit 1800fa7ceb
15 files changed
+1289 -249

No files matched your search

+5
View File
@@ -1,8 +1,13 @@
import { motion } from 'motion/react'
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.tsx'
// motion v14 has motion.config for reducedMotion but TS types don't expose it
const motionWithConfig = motion as any
motionWithConfig.config.reducedMotion = 'user'
createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />