From aa2b2889066e0616c62834bdc0335e57f14fcc29 Mon Sep 17 00:00:00 2001
From: Neshura
Date: Thu, 15 Dec 2022 21:22:59 +0100
Subject: [PATCH] Removed remnants of app test
---
app/layout.tsx | 76 --------------------------------------------------
1 file changed, 76 deletions(-)
delete mode 100644 app/layout.tsx
diff --git a/app/layout.tsx b/app/layout.tsx
deleted file mode 100644
index c59c454..0000000
--- a/app/layout.tsx
+++ /dev/null
@@ -1,76 +0,0 @@
-'use client'
-import Script from "next/script"
-import Footer from "../components/footer"
-import Navbar from "../components/navbar"
-import StyleSelector from "../components/themeselector"
-import styles from "../styles/Home.module.css"
-import { Page } from '../components/styles/generic'
-import { DefaultTheme, ThemeProvider } from 'styled-components';
-import { createContext, useContext, useEffect, useState } from "react"
-import { setCookie } from "cookies-next"
-import { darkTheme } from "../components/themes"
-
-const ThemeUpdateContext = createContext(
- (theme: DefaultTheme) => console.error("attempted to set theme outside of a ThemeUpdateContext.Provider")
-)
-
-// eslint-disable-next-line react-hooks/rules-of-hooks
-export const useUpdateTheme = () => useContext(ThemeUpdateContext);
-
-export default function Layout({ children, }: { children: React.ReactNode }) {
- const [selectedTheme, setselectedTheme] = useState(darkTheme);
- console.log("Selected Theme: ", selectedTheme); // DEBUG
-
-
- return (
-
-
-
-
-
-
-
-
- {children}
-
-
-
-
-
-
-
- )
-}
-
-{/*
-
-
-
- {children}
-
-
- */}
-
-/*
-
-
{children}
- */
-
-{/* */