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 (
-
-
-
+
Semana da
Engenharia
@@ -105,20 +104,23 @@ export default function Footer(props: IFooterProps) {