From 99a9787455a8c3c95d477af9f6bc05e93af23519 Mon Sep 17 00:00:00 2001 From: Unchained Date: Sat, 28 Mar 2026 22:37:28 +0200 Subject: [PATCH] fix: remove styled-jsx from not-found.tsx to fix Server Component error - Remove styled-jsx global styles that don't work in Server Components - Remove custom fadeInUp CSS animations - Simplify animation classes to use Tailwind defaults or none - Fix Server Component compatibility issues --- src/app/not-found.tsx | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index 5616de8..b1823f3 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -59,9 +59,7 @@ export default async function NotFoundPage() { {/* Hero Section */}
-
+

{t("title")}

@@ -90,8 +88,7 @@ export default async function NotFoundPage() {
Popular @@ -111,9 +108,8 @@ export default async function NotFoundPage() { return (
@@ -175,8 +171,7 @@ export default async function NotFoundPage() {
Testimonials @@ -190,8 +185,7 @@ export default async function NotFoundPage() { {productReviews.slice(0, 6).map((review, index) => (
{[...Array(5)].map((_, i) => ( @@ -227,8 +221,7 @@ export default async function NotFoundPage() {

{t("finalCTATitle")} @@ -261,19 +254,6 @@ export default async function NotFoundPage() { `, }} /> - -

); }