shortened the url of the auth, fixed sidebar toggle issue and fixed browser tab

This commit is contained in:
2023-10-18 00:42:34 -07:00
parent 00703aa5c1
commit bc5f8e8db5
12 changed files with 59 additions and 43 deletions
+15 -13
View File
@@ -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;
+5
View File
@@ -0,0 +1,5 @@
import SignInForm from "@/components/Authentication/SignInForm";
export default function Index() {
return <SignInForm />;
}