Remove dead code

This commit is contained in:
Timothy Armes
2023-10-11 08:38:44 +02:00
committed by Owen Rees
parent 94cea267c9
commit 2dc5f477c9
2 changed files with 0 additions and 60 deletions
@@ -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 (
<NextIntlClientProvider locale={locale} messages={messages}>
<div className="bg-white font-sans leading-normal tracking-normal dark:bg-gray-800">
<Navbar />
<div className="relative min-h-content">{children}</div>
<Footer />
</div>
</NextIntlClientProvider>
);
};
export default TestableLayout;
-30
View File
@@ -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;
}