try fix styles
Some checks failed
Build and Publish 'anix-api-prox' to Docker Hub / publish (push) Has been cancelled
Build and Publish 'anix' to Docker Hub / publish (push) Has been cancelled

This commit is contained in:
Kentai Radiquum 2025-08-28 22:46:15 +05:00
parent 7e99062c0c
commit a4ecc27874
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
5 changed files with 6 additions and 8 deletions

View file

@ -16,7 +16,6 @@ import { Bounce, ToastContainer } from "react-toastify";
import { NavBarPc } from "./components/Navbar/NavBarPc"; import { NavBarPc } from "./components/Navbar/NavBarPc";
import { NavBarMobile } from "./components/Navbar/NavBarMobile"; import { NavBarMobile } from "./components/Navbar/NavBarMobile";
import { SettingsModal } from "./components/SettingsModal/SettingsModal"; import { SettingsModal } from "./components/SettingsModal/SettingsModal";
import { ThemeInit } from "../.flowbite-react/init";
const inter = Inter({ subsets: ["latin"] }); const inter = Inter({ subsets: ["latin"] });
@ -132,7 +131,6 @@ export const App = (props) => {
isOpen={isSettingModalOpen} isOpen={isSettingModalOpen}
setIsOpen={setIsSettingModalOpen} setIsOpen={setIsSettingModalOpen}
/> />
<ThemeInit />
</body> </body>
); );
}; };

View file

@ -2,6 +2,7 @@ import "./globals.css";
import { App } from "./App"; import { App } from "./App";
import { ThemeModeScript } from "flowbite-react"; import { ThemeModeScript } from "flowbite-react";
import { PublicEnvScript } from 'next-runtime-env'; import { PublicEnvScript } from 'next-runtime-env';
import { ThemeInit } from "../.flowbite-react/init";
export const metadata = { export const metadata = {
metadataBase: new URL("https://anix.wah.su"), metadataBase: new URL("https://anix.wah.su"),
@ -35,6 +36,7 @@ export default function RootLayout({ children }) {
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<head> <head>
<PublicEnvScript /> <PublicEnvScript />
<ThemeInit />
<ThemeModeScript /> <ThemeModeScript />
</head> </head>
<App>{children}</App> <App>{children}</App>

View file

@ -1,4 +1,5 @@
const withFlowbiteReact = require("flowbite-react/plugin/nextjs"); import withFlowbiteReact from "flowbite-react/plugin/nextjs";
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const NextConfig = { const NextConfig = {
output: "standalone", output: "standalone",
@ -80,6 +81,4 @@ const NextConfig = {
}, },
}; };
const config = withFlowbiteReact(NextConfig); export default withFlowbiteReact(NextConfig);
module.exports = config;

1
package-lock.json generated
View file

@ -7,7 +7,6 @@
"": { "": {
"name": "new", "name": "new",
"version": "0.1.0", "version": "0.1.0",
"hasInstallScript": true,
"dependencies": { "dependencies": {
"apexcharts": "^3.52.0", "apexcharts": "^3.52.0",
"deepmerge-ts": "^7.1.0", "deepmerge-ts": "^7.1.0",

View file

@ -31,7 +31,7 @@
".next/types/**/*.ts", ".next/types/**/*.ts",
"**/*.ts", "**/*.ts",
"**/*.tsx", "**/*.tsx",
"next.config.js" "next.config.mjs"
], ],
"exclude": ["node_modules", "player-parser", "api-prox"] "exclude": ["node_modules", "player-parser", "api-prox"]
} }