Change background when not prod
This commit is contained in:
parent
8fbfce9193
commit
ce00743fe0
1 changed files with 6 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ import { UserStoreProvider } from "./providers/UserStoreProvider";
|
|||
import { ProtectedRoute } from "./components/ProtectedRoute";
|
||||
import { JoinPage } from "@ui/pages/join";
|
||||
import { CreateEventModal } from "./components/CreateEventModal";
|
||||
import { isProd } from "./utils/helpers";
|
||||
|
||||
// Register all Community features
|
||||
ModuleRegistry.registerModules([AllCommunityModule]);
|
||||
|
|
@ -35,7 +36,11 @@ export const App = () => {
|
|||
<UserStoreProvider>
|
||||
<Router>
|
||||
<div
|
||||
className={twMerge("min-h-screen bg-white", "dark:bg-gray-900")}
|
||||
className={twMerge(
|
||||
"min-h-screen",
|
||||
!isProd ? "bg-orange-50" : "bg-white",
|
||||
!isProd ? "dark:bg-orange-950" : "dark:bg-gray-900"
|
||||
)}
|
||||
>
|
||||
<Routes>
|
||||
<Route path="/" element={<ProtectedRoute fallback="/login" />}>
|
||||
|
|
|
|||
Loading…
Reference in a new issue