From 9936b263aef884aece30163b5d4a225b9b22cce1 Mon Sep 17 00:00:00 2001 From: Rui Oliveira Date: Wed, 23 Aug 2023 12:03:15 +0100 Subject: [PATCH 1/8] build: update to Next13. Remove tags from --- components/Badge/index.tsx | 21 +- components/Base/index.jsx | 47 +- components/Dashboard/index.jsx | 4 +- components/Footer/index.tsx | 31 +- components/Layout/Layout.tsx | 33 +- components/Navbar/index.jsx | 32 +- components/Return/index.tsx | 11 +- components/Schedule/Table/Block/index.jsx | 15 +- .../Store/components/Product/index.tsx | 30 +- layout/Badge/Badge.tsx | 9 +- layout/FAQs/components/Question/index.tsx | 9 +- layout/Product/Product.tsx | 9 +- .../components/ResetPasswordForm/index.tsx | 12 +- package-lock.json | 1160 +++++++++++------ package.json | 8 +- 15 files changed, 871 insertions(+), 560 deletions(-) diff --git a/components/Badge/index.tsx b/components/Badge/index.tsx index e3d7a7b0..aea56971 100644 --- a/components/Badge/index.tsx +++ b/components/Badge/index.tsx @@ -2,16 +2,17 @@ import Link from "next/link"; export default function Badge({ name, id, avatar, tokens, owned }) { return ( - - -
- {name} -
-
-
{name}
-
{tokens} πŸ’°
-
-
+ +
+ {name} +
+
+
{name}
+
{tokens} πŸ’°
+
); } diff --git a/components/Base/index.jsx b/components/Base/index.jsx index c990d2cb..c1bf9195 100644 --- a/components/Base/index.jsx +++ b/components/Base/index.jsx @@ -68,17 +68,18 @@ const MobileNavbar = ({ @@ -132,18 +133,18 @@ export default function Dashboard({ diff --git a/components/Dashboard/index.jsx b/components/Dashboard/index.jsx index 4bae5ff4..4d5f3bcb 100644 --- a/components/Dashboard/index.jsx +++ b/components/Dashboard/index.jsx @@ -142,8 +142,8 @@ export default function Dashboard(props) { ))} - - Log out πŸ‘‹ + + Log out πŸ‘‹ diff --git a/components/Footer/index.tsx b/components/Footer/index.tsx index a279ac36..621d8985 100644 --- a/components/Footer/index.tsx +++ b/components/Footer/index.tsx @@ -14,8 +14,8 @@ function DefaultAnimation() { return ( Psst. Have you checked the{" "} - - challenges? + + challenges? {" "} Just saying. @@ -105,20 +105,33 @@ export default function Footer(props: IFooterProps) {
- - Previous Edition + + Previous Edition - - General Regulation + + General Regulation - Report a Problem + Report a Problem - - Survival Guide + + Survival Guide
diff --git a/components/Layout/Layout.tsx b/components/Layout/Layout.tsx index dc6226b8..0a73b417 100644 --- a/components/Layout/Layout.tsx +++ b/components/Layout/Layout.tsx @@ -68,10 +68,8 @@ export default function Layout({