From 069950dc807069449c9c1650fdfdc7c33bbeac2f Mon Sep 17 00:00:00 2001 From: Magnus Gule Date: Thu, 19 Oct 2023 13:04:42 +0200 Subject: [PATCH 1/5] Corrected typo on font-family --- frontend/src/app/globals.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/globals.css b/frontend/src/app/globals.css index b2a37e94..92284dcb 100644 --- a/frontend/src/app/globals.css +++ b/frontend/src/app/globals.css @@ -42,7 +42,7 @@ h1 { font-size: 2rem; - font-family: "Recoletta-Regular"; + font-family: "Recoleta-Regular"; line-height: 2.5rem; } From 1371551cd934854e868c865a129271f33db46ceb Mon Sep 17 00:00:00 2001 From: Magnus Gule Date: Thu, 19 Oct 2023 13:09:34 +0200 Subject: [PATCH 2/5] Fixed next/head usage in Layout with metadata --- frontend/src/app/layout.tsx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx index ba81500c..029f58e3 100644 --- a/frontend/src/app/layout.tsx +++ b/frontend/src/app/layout.tsx @@ -1,6 +1,11 @@ import "./globals.css"; -import Head from "next/head"; import NavBar from "@/components/NavBar/NavBar"; +import { Metadata } from "next"; + +export const metaData: Metadata = { + title: "Vibes", + description: "" +} export default function RootLayout({ children, @@ -9,13 +14,6 @@ export default function RootLayout({ }) { return ( - - Vibes Frontend - - {children} From 2d96cbec14d9666fa30210a514c67bf29f4d5bf9 Mon Sep 17 00:00:00 2001 From: Magnus Gule Date: Thu, 19 Oct 2023 14:48:08 +0200 Subject: [PATCH 3/5] Removing metadata since prettier wont accept it. No current need for it, so omitting. --- frontend/src/app/layout.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx index 029f58e3..f4f532ca 100644 --- a/frontend/src/app/layout.tsx +++ b/frontend/src/app/layout.tsx @@ -1,11 +1,6 @@ +import { Metadata } from "next"; import "./globals.css"; import NavBar from "@/components/NavBar/NavBar"; -import { Metadata } from "next"; - -export const metaData: Metadata = { - title: "Vibes", - description: "" -} export default function RootLayout({ children, From ea4fa0d7e9a334b0817961a536fc56f86c6c1086 Mon Sep 17 00:00:00 2001 From: Magnus Gule Date: Thu, 19 Oct 2023 14:48:23 +0200 Subject: [PATCH 4/5] Removing import --- frontend/src/app/layout.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx index f4f532ca..8978fe61 100644 --- a/frontend/src/app/layout.tsx +++ b/frontend/src/app/layout.tsx @@ -1,4 +1,3 @@ -import { Metadata } from "next"; import "./globals.css"; import NavBar from "@/components/NavBar/NavBar"; From d7c72036dfd34ad1367200fb777d219ee2d464f6 Mon Sep 17 00:00:00 2001 From: Magnus Gule Date: Thu, 19 Oct 2023 21:56:50 +0200 Subject: [PATCH 5/5] Re-adding next/head since warning apparently is gone? --- frontend/src/app/layout.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/app/layout.tsx b/frontend/src/app/layout.tsx index 8978fe61..fcfce5c8 100644 --- a/frontend/src/app/layout.tsx +++ b/frontend/src/app/layout.tsx @@ -1,3 +1,4 @@ +import Head from "next/head"; import "./globals.css"; import NavBar from "@/components/NavBar/NavBar"; @@ -8,6 +9,13 @@ export default function RootLayout({ }) { return ( + + Vibes Frontend + + {children}