diff --git a/public/health.json b/public/health.json new file mode 100644 index 0000000..213db9a --- /dev/null +++ b/public/health.json @@ -0,0 +1,5 @@ +{ + "status": "healthy", + "mode": "production", + "build": "optimized" +} diff --git a/src/App.js b/src/App.js index d706f13..ed23527 100644 --- a/src/App.js +++ b/src/App.js @@ -1,6 +1,7 @@ import React from 'react'; import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom'; import { Toaster } from './components/ui/sonner'; +import IdleSessionWarning from './components/IdleSessionWarning'; import Landing from './pages/Landing'; import Register from './pages/Register'; import Login from './pages/Login'; @@ -294,6 +295,7 @@ function App() { } /> + ); diff --git a/src/components/AdminSidebar.js b/src/components/AdminSidebar.js index 07757aa..51a6f26 100644 --- a/src/components/AdminSidebar.js +++ b/src/components/AdminSidebar.js @@ -22,7 +22,7 @@ import { Scale, HardDrive, Repeat, - Heart + Heart, } from 'lucide-react'; const AdminSidebar = ({ isOpen, onToggle, isMobile }) => { @@ -204,8 +204,8 @@ const AdminSidebar = ({ isOpen, onToggle, isMobile }) => { ${item.disabled ? 'opacity-50 cursor-not-allowed text-[#664fa3]' : active - ? 'bg-[#ff9e77]/10 text-[#ff9e77]' - : 'text-[#422268] hover:bg-[#DDD8EB]/20' + ? 'bg-[#ff9e77]/10 text-[#ff9e77]' + : 'text-[#422268] hover:bg-[#DDD8EB]/20' } `} > @@ -269,18 +269,17 @@ const AdminSidebar = ({ isOpen, onToggle, isMobile }) => { LOAF Logo {isOpen && (

Admin

-

+ {/*

View Public Site -

+

*/}
)} @@ -300,7 +299,7 @@ const AdminSidebar = ({ isOpen, onToggle, isMobile }) => { {/* Navigation */} -