diff --git a/web/src/App.tsx b/web/src/App.tsx index ac13a58..2eb923d 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -2,6 +2,7 @@ import { useEffect, useState } from "react"; import { Outlet } from "react-router-dom"; import { globalService } from "./services"; import useUserStore from "./stores/v1/user"; +import DemoBanner from "./components/DemoBanner"; function App() { const userStore = useUserStore(); @@ -27,7 +28,14 @@ function App() { initialState(); }, []); - return <>{!loading && }; + return ( + !loading && ( + <> + + + + ) + ); } export default App; diff --git a/web/src/components/DemoBanner.tsx b/web/src/components/DemoBanner.tsx index 83e4b8c..2f3dd56 100644 --- a/web/src/components/DemoBanner.tsx +++ b/web/src/components/DemoBanner.tsx @@ -12,7 +12,7 @@ const DemoBanner: React.FC = () => { if (!shouldShow) return null; return ( -
+
✨Slash - An open source, self-hosted bookmarks and link sharing platform { const navigate = useNavigate(); @@ -20,7 +19,6 @@ const Root: React.FC = () => { <> {currentUser && (
-