From 64c230d73a12a8c70c8e6e47de6727effe79a0f3 Mon Sep 17 00:00:00 2001 From: prplwtf Date: Wed, 10 Apr 2024 19:52:48 +0200 Subject: [PATCH] feat `navbar`: add extensions button for fun --- resources/scripts/components/NavigationBar.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/resources/scripts/components/NavigationBar.tsx b/resources/scripts/components/NavigationBar.tsx index 99f9c6a..ee6140e 100644 --- a/resources/scripts/components/NavigationBar.tsx +++ b/resources/scripts/components/NavigationBar.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { useState } from 'react'; import { Link, NavLink } from 'react-router-dom'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; -import { faCogs, faLayerGroup, faSignOutAlt } from '@fortawesome/free-solid-svg-icons'; +import { faCogs, faLayerGroup, faSignOutAlt, faPuzzlePiece } from '@fortawesome/free-solid-svg-icons'; import { useStoreState } from 'easy-peasy'; import { ApplicationStore } from '@/state'; import SearchContainer from '@/components/dashboard/search/SearchContainer'; @@ -78,6 +78,13 @@ export default () => { )} + {rootAdmin && ( + + + + + + )}