From 2dc5f477c953c08485a8a7998e1cad64c5a1ad9b Mon Sep 17 00:00:00 2001 From: Timothy Armes Date: Wed, 11 Oct 2023 08:38:44 +0200 Subject: [PATCH] Remove dead code --- app/[locale]/components/TestableLayout.tsx | 30 ---------------------- css/theme-toggle.css | 30 ---------------------- 2 files changed, 60 deletions(-) delete mode 100644 app/[locale]/components/TestableLayout.tsx delete mode 100644 css/theme-toggle.css diff --git a/app/[locale]/components/TestableLayout.tsx b/app/[locale]/components/TestableLayout.tsx deleted file mode 100644 index 5e91040..0000000 --- a/app/[locale]/components/TestableLayout.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import { ReactNode } from "react"; - -import { AbstractIntlMessages, NextIntlClientProvider } from "next-intl"; - -import "@/css/globals.css"; - -import Footer from "./Footer"; -import Navbar from "./Navbar"; - -const TestableLayout = ({ - children, - locale, - messages, -}: { - children: ReactNode; - locale: string; - messages: AbstractIntlMessages; -}) => { - return ( - -
- -
{children}
-
-
- ); -}; - -export default TestableLayout; diff --git a/css/theme-toggle.css b/css/theme-toggle.css deleted file mode 100644 index 0852b8d..0000000 --- a/css/theme-toggle.css +++ /dev/null @@ -1,30 +0,0 @@ -.toggle { - height: 2em; - width: 3em; - border-radius: 50px; - margin: auto; - background-image: linear-gradient(aqua, skyblue); - position: relative; - cursor: pointer; -} -.toggle-dark { - height: 2em; - width: 3em; - border-radius: 50px; - margin: auto; - background-image: linear-gradient(midnightblue, rebeccapurple); - position: relative; - cursor: pointer; -} -.theme-icon { - margin-left: 0.2em; - height: 2em; - width: 1.2em; - color: yellow; -} - -.theme-icon-dark { - height: 2em; - width: 1.2em; - margin-left: auto; -}