mirror of
https://github.com/myronblair/kino-app
synced 2026-07-30 14:32:40 -05:00
Move service status bar to global chrome, fixed just below navbar (admin-only)
This commit is contained in:
@@ -5,6 +5,7 @@ import { ProfileProvider, useProfile } from "./lib/profile";
|
||||
import ProtectedRoute from "./components/ProtectedRoute";
|
||||
import Navbar from "./components/Navbar";
|
||||
import GrainOverlay from "./components/GrainOverlay";
|
||||
import ServiceStatus from "./components/ServiceStatus";
|
||||
import Login from "./pages/Login";
|
||||
import Register from "./pages/Register";
|
||||
import Browse from "./pages/Browse";
|
||||
@@ -52,6 +53,7 @@ const Shell = ({ children }) => {
|
||||
return (
|
||||
<>
|
||||
{!hideChrome && user && active && <Navbar />}
|
||||
{!hideChrome && user?.is_admin && active && <ServiceStatus />}
|
||||
{children}
|
||||
<GrainOverlay />
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user