From f8d5cc9c97b366677da35e518d66f9dcde935cd5 Mon Sep 17 00:00:00 2001 From: Rui Oliveira <70754369+ruioliveira02@users.noreply.github.com> Date: Sat, 4 Nov 2023 21:16:49 +0000 Subject: [PATCH] build: Update to Next 13 (#490) * build: update to Next13. Remove tags from * fix: type error because of missing alt prop * Bump Node versions * build: remove netlify plugin * build: Bump plugin version * fix: footer logo too large * refactor: remove passHref * build: update node.js to 18.12.0 --- .github/workflows/style.yml | 2 +- .nvmrc | 2 +- components/Badge/index.tsx | 21 +- components/Base/index.jsx | 52 +- components/Dashboard/index.jsx | 6 +- components/Footer/index.tsx | 32 +- components/Layout/Layout.tsx | 35 +- components/Navbar/index.jsx | 45 +- components/Return/index.tsx | 11 +- components/Schedule/Table/Block/index.jsx | 17 +- components/Speaker/index.jsx | 7 +- .../Store/components/Product/index.tsx | 31 +- layout/Badge/Badge.tsx | 9 +- layout/FAQs/components/Question/index.tsx | 9 +- .../components/Hero/Organization/index.jsx | 7 +- .../components/Regulations/index.jsx | 2 +- .../components/Hero/Organization/index.jsx | 7 +- layout/Home/components/Speakers/index.jsx | 2 +- layout/Product/Product.tsx | 9 +- .../components/ResetPasswordForm/index.tsx | 14 +- .../components/Hero/Organization/index.jsx | 7 +- .../components/Organization/Member/index.jsx | 7 +- .../moonstone/authentication/Title/index.jsx | 4 +- netlify.toml | 3 - package-lock.json | 3988 ++++++++++++++--- package.json | 9 +- 26 files changed, 3535 insertions(+), 803 deletions(-) diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 7dedb678..c14e2f5b 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - node-version: ["16.13.2"] + node-version: ["18.12.0"] steps: - name: ☁ Checkout code diff --git a/.nvmrc b/.nvmrc index 23d9c36a..3e558c9b 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.13.2 +18.12.0 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..aea63b9c 100644 --- a/components/Base/index.jsx +++ b/components/Base/index.jsx @@ -68,17 +68,17 @@ const MobileNavbar = ({ @@ -128,22 +128,26 @@ export default function Dashboard({
- + SEI Logo
diff --git a/components/Dashboard/index.jsx b/components/Dashboard/index.jsx index 4bae5ff4..43e57c52 100644 --- a/components/Dashboard/index.jsx +++ b/components/Dashboard/index.jsx @@ -123,7 +123,7 @@ export default function Dashboard(props) { src="/images/sponsors/accenture.svg" width="220" height="120" - alt="" + alt="Accenture" />
- - Log out πŸ‘‹ + + Log out πŸ‘‹ diff --git a/components/Footer/index.tsx b/components/Footer/index.tsx index a279ac36..03b2de1a 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. @@ -88,14 +88,13 @@ export default function Footer(props: IFooterProps) {
- {/* eslint-disable-next-line jsx-a11y/alt-text */} SEI Logo -

+

Semana da
Engenharia
@@ -105,20 +104,23 @@ 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..9f8b99e4 100644 --- a/components/Layout/Layout.tsx +++ b/components/Layout/Layout.tsx @@ -68,16 +68,14 @@ export default function Layout({