Merge branch 'feat/v2/root/layout' of github.com:bluewave-labs/checkmate into feat/v2/root/layout
This commit is contained in:
commit
ca84c60614
1 file changed
-2
@@ -2,11 +2,9 @@ import { Routes, Route } from "react-router";
|
|||||||
import { ThemeProvider } from "@emotion/react";
|
import { ThemeProvider } from "@emotion/react";
|
||||||
import { lightTheme, darkTheme } from "@/Utils/Theme/v2/theme";
|
import { lightTheme, darkTheme } from "@/Utils/Theme/v2/theme";
|
||||||
|
|
||||||
// v2 pages
|
|
||||||
import AuthLoginV2 from "@/Pages/v2/Auth/Login";
|
import AuthLoginV2 from "@/Pages/v2/Auth/Login";
|
||||||
import AuthRegisterV2 from "@/Pages/v2/Auth/Register";
|
import AuthRegisterV2 from "@/Pages/v2/Auth/Register";
|
||||||
import RootLayout from "@/Components/v2/Layouts/RootLayout";
|
import RootLayout from "@/Components/v2/Layouts/RootLayout";
|
||||||
// import other v2 pages here...
|
|
||||||
|
|
||||||
const V2Routes = ({ mode = "light" }) => {
|
const V2Routes = ({ mode = "light" }) => {
|
||||||
const v2Theme = mode === "light" ? lightTheme : darkTheme;
|
const v2Theme = mode === "light" ? lightTheme : darkTheme;
|
||||||
|
|||||||
Reference in new issue
Block a user