mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
Remove dead code
This commit is contained in:
@@ -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;
|
|
||||||
@@ -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;
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user