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

View file

@ -2,6 +2,7 @@ import "./globals.css";
import { App } from "./App";
import { ThemeModeScript } from "flowbite-react";
import { PublicEnvScript } from 'next-runtime-env';
import { ThemeInit } from "../.flowbite-react/init";
export const metadata = {
metadataBase: new URL("https://anix.wah.su"),
@ -35,6 +36,7 @@ export default function RootLayout({ children }) {
<html lang="en" suppressHydrationWarning>
<head>
<PublicEnvScript />
<ThemeInit />
<ThemeModeScript />
</head>
<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} */
const NextConfig = {
output: "standalone",
@ -80,6 +81,4 @@ const NextConfig = {
},
};
const config = withFlowbiteReact(NextConfig);
module.exports = config;
export default withFlowbiteReact(NextConfig);

1
package-lock.json generated
View file

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

View file

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