diff --git a/web/src/Footer.js b/web/src/Footer.js index 68bf968..a3884e2 100644 --- a/web/src/Footer.js +++ b/web/src/Footer.js @@ -10,7 +10,6 @@ const Footer = memo(function Footer(props) { const [fluxState, setFluxState] = useState(store.getState().fluxState); store.subscribe(() => setFluxState(store.getState().fluxState)) - // https://blog.stackademic.com/building-a-resizable-sidebar-component-with-persisting-width-using-react-tailwindcss-bdec28a594f const navigationDefault = [ { name: 'Kustomizations', href: '#', count: 10 }, { name: 'Sources', href: '#', count: '5'}, @@ -26,7 +25,6 @@ const Footer = memo(function Footer(props) { [setSelected] ) - return (
@@ -42,18 +40,22 @@ const Footer = memo(function Footer(props) {
{expanded &&
-
- +
+
+ +
-
+
+
{ selected === "Kustomizations" && } { selected === "Sources" && } +