Refactor and update project components for Next.js 15 compatibility (#6)

* refactor: update all modules to latest version

* refactor: update layout to match nextjs 15 convention

* fix: implement TopProgressBar as Client

* fix: remove unnecessary locale prop

* fix: update postcss.config.js export

* fix: comment out styles

* fix: ref usage in useIntersectionObserver and update Navbar

* chore: performance optimizations

* fix: simplify Loading component structure

* refactor: move ProjectCard component and add prop types validation
This commit is contained in:
Alvalen Shafel 2025-03-18 12:39:32 +07:00 • committed by GitHub
parent 481bc8324e
commit 7f0c142dda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 3422 additions and 2569 deletions

View file

@ -3,36 +3,37 @@
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "next dev --turbo",
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint",
"generate-sitemap": "node generate-sitemap.js"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.4.2",
"@fortawesome/free-brands-svg-icons": "^6.4.2",
"@fortawesome/free-regular-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"@fullpage/react-fullpage": "^0.1.40",
"@vercel/analytics": "^1.0.2",
"autoprefixer": "10.4.15",
"eslint": "8.48.0",
"eslint-config-next": "13.4.19",
"framer-motion": "^10.16.2",
"next": "13.4.19",
"@fortawesome/fontawesome-svg-core": "^6.7.2",
"@fortawesome/free-brands-svg-icons": "^6.7.2",
"@fortawesome/free-regular-svg-icons": "^6.7.2",
"@fortawesome/free-solid-svg-icons": "^6.7.2",
"@fortawesome/react-fontawesome": "^0.2.2",
"@fullpage/react-fullpage": "^0.1.48",
"@tailwindcss/postcss": "^4.0.14",
"@vercel/analytics": "^1.5.0",
"eslint": "9.22.0",
"eslint-config-next": "15.2.3",
"framer-motion": "^12.5.0",
"next": "15.2.3",
"nprogress": "^0.2.0",
"postcss": "8.4.28",
"react": "18.2.0",
"react-dom": "18.2.0",
"sharp": "^0.32.5",
"sitemap": "^7.1.1",
"swr": "^2.2.2",
"tailwindcss": "3.3.3"
"postcss": "^8.5.3",
"prop-types": "^15.8.1",
"react": "19.0.0",
"react-dom": "19.0.0",
"sharp": "^0.33.5",
"sitemap": "^8.0.0",
"swr": "^2.3.3",
"tailwindcss": "^4.0.14"
},
"devDependencies": {
"@next/bundle-analyzer": "^13.4.19",
"@next/bundle-analyzer": "15.2.3",
"cross-env": "^7.0.3"
}
}