shortened the url of the auth, fixed sidebar toggle issue and fixed browser tab
This commit is contained in:
+15
-13
@@ -1,34 +1,36 @@
|
||||
import React from 'react';
|
||||
import '../styles/remixicon.css'
|
||||
import 'react-tabs/style/react-tabs.css';
|
||||
import React from "react";
|
||||
import "../styles/remixicon.css";
|
||||
import "react-tabs/style/react-tabs.css";
|
||||
import "swiper/css";
|
||||
import "swiper/css/bundle";
|
||||
// Chat Styles
|
||||
import '../styles/chat.css'
|
||||
import "../styles/chat.css";
|
||||
// Globals Styles
|
||||
import '../styles/globals.css'
|
||||
import "../styles/globals.css";
|
||||
// Rtl Styles
|
||||
import '../styles/rtl.css'
|
||||
import "../styles/rtl.css";
|
||||
// Dark Mode Styles
|
||||
import '../styles/dark.css'
|
||||
import "../styles/dark.css";
|
||||
// Theme Styles
|
||||
import theme from '../styles/theme'
|
||||
import theme from "../styles/theme";
|
||||
|
||||
import { ThemeProvider, CssBaseline } from "@mui/material";
|
||||
import Layout from "@/components/_App/Layout";
|
||||
import AuthRoute from "middlewares/AuthRoute";
|
||||
|
||||
function MyApp({ Component, pageProps }) {
|
||||
|
||||
return (
|
||||
<>
|
||||
<ThemeProvider theme={theme}>
|
||||
<CssBaseline />
|
||||
<Layout>
|
||||
<Component {...pageProps} />
|
||||
</Layout>
|
||||
<AuthRoute>
|
||||
<Layout>
|
||||
<Component {...pageProps} />
|
||||
</Layout>
|
||||
</AuthRoute>
|
||||
</ThemeProvider>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default MyApp
|
||||
export default MyApp;
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
import SignInForm from "@/components/Authentication/SignInForm";
|
||||
|
||||
export default function Index() {
|
||||
return <SignInForm />;
|
||||
}
|
||||
Reference in New Issue
Block a user