mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-03 19:39:39 +05:00
frontend: add color theme & theme switcher
This commit is contained in:
parent
84b13a2c80
commit
b8878c4fb8
7 changed files with 192 additions and 19 deletions
|
@ -1,21 +1,16 @@
|
|||
import "./globals.css";
|
||||
import "beercss";
|
||||
import "material-dynamic-colors";
|
||||
|
||||
import { NavigationRail } from "@/components/NavigationRail";
|
||||
import {App} from "@/app/App"
|
||||
|
||||
export const metadata = {
|
||||
title: "AniX",
|
||||
description: "Unofficial web app for anixart",
|
||||
description: "Неофициальное веб приложение для anixart",
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }) {
|
||||
export default async function RootLayout({ children }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>
|
||||
<NavigationRail />
|
||||
<main className="responsive">{children}</main>
|
||||
</body>
|
||||
<html lang="ru">
|
||||
<App>{children}</App>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue