From 6f796e74e502d80ec5db0a43249d5a84e36ad71d Mon Sep 17 00:00:00 2001 From: BoltUltra Date: Fri, 25 Apr 2025 10:45:04 +0100 Subject: [PATCH 1/2] Refactor code structure for improved readability and maintainability --- src/app/index.tsx | 18 +- src/app/layout.tsx | 6 +- src/app/page.tsx | 9 +- src/components/Footer.tsx | 56 +- src/components/Header.tsx | 79 +- src/components/Login.tsx | 72 +- tailwind.config.ts | 14 +- yarn.lock | 18209 +++++++++++++++++++++--------------- 8 files changed, 11022 insertions(+), 7441 deletions(-) diff --git a/src/app/index.tsx b/src/app/index.tsx index e71142d..072321b 100644 --- a/src/app/index.tsx +++ b/src/app/index.tsx @@ -1,15 +1,17 @@ -import Link from 'next/link'; +import Link from 'next/link' export default function Home() { return ( -
-

Welcome to Decleanup Journey!

-

Complete all levels and share your achievement!

- - +
+

Welcome to Decleanup Journey!

+

+ Complete all levels and share your achievement! +

+ + Go to Game Completion -
+
- ); + ) } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 6bc2036..66267ee 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -18,11 +18,11 @@ export default function RootLayout({ return ( -
+
-
+
{children}