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,9 +3,7 @@
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "tailwindcss";
html {
font-size: 17px !important;
@ -53,9 +51,9 @@ h1, h2, h3, h4, h5, h6 {
}
h2, h3, h4, h5, h6 {
/* h2, h3, h4, h5, h6 {
@apply text-gray-600;
}
} */
span {
font-family: "Jost", sans-serif;
@ -64,6 +62,7 @@ span {
li {
@apply list-none relative;
}
li.active:after {
content: "";
position: absolute;
@ -72,7 +71,7 @@ li.active:after {
width: 100%;
height: 2px;
background-color: #ffffff;
}