From d2d0c857c4d4a0afb7381a8dbf8beac327f055d8 Mon Sep 17 00:00:00 2001 From: Nico <60229704+Marchand-Nicolas@users.noreply.github.com> Date: Mon, 16 Dec 2024 16:59:09 +0100 Subject: [PATCH 1/2] fix: mui theme --- app/layout.tsx | 18 ++++++-------- app/provider.tsx | 53 +---------------------------------------- components/UI/theme.tsx | 13 ---------- styles/theme.ts | 49 +++++++++++++++++++++++++++++++++---- 4 files changed, 52 insertions(+), 81 deletions(-) delete mode 100644 components/UI/theme.tsx diff --git a/app/layout.tsx b/app/layout.tsx index aef1e218..2cdc80b5 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -4,14 +4,14 @@ import { Providers } from "./provider"; import "@styles/globals.css"; import Navbar from "@components/UI/navbar"; import Footer from "@components/UI/footer"; -import { ThemeProvider } from "@mui/material"; -import { theme } from "@components/UI/theme"; export const metadata: Metadata = { title: "Starknet Quest", description: "Starknet Quest helps protocols attract and retain users by creating gamified quest experiences on Starknet.", - metadataBase: process.env.NEXT_PUBLIC_APP_LINK ? new URL(process.env.NEXT_PUBLIC_APP_LINK) : undefined, + metadataBase: process.env.NEXT_PUBLIC_APP_LINK + ? new URL(process.env.NEXT_PUBLIC_APP_LINK) + : undefined, openGraph: { title: "Starknet Quest - Accomplish quests to get unique NFTs.", description: @@ -21,7 +21,7 @@ export const metadata: Metadata = { images: [ { url: "/visuals/starknetquest.webp", - width: 680, + width: 680, height: 680, }, ], @@ -55,13 +55,9 @@ export default function RootLayout({ - - -
- {children} -
-