From 160feab646e61364485fcb56b2a3ac234acc9635 Mon Sep 17 00:00:00 2001 From: Roland Date: Thu, 9 Feb 2023 13:47:25 -0700 Subject: [PATCH] Changing WROLPi home text to an outline SVG image. Attaching nav menu to top. --- app/public/icon.svg | 107 ++++++++++++++++++++++++++++++++++++++ app/src/components/Nav.js | 11 ++-- 2 files changed, 114 insertions(+), 4 deletions(-) create mode 100644 app/public/icon.svg diff --git a/app/public/icon.svg b/app/public/icon.svg new file mode 100644 index 00000000..6d37e37a --- /dev/null +++ b/app/public/icon.svg @@ -0,0 +1,107 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/app/src/components/Nav.js b/app/src/components/Nav.js index 58218bd0..363909fe 100644 --- a/app/src/components/Nav.js +++ b/app/src/components/Nav.js @@ -54,11 +54,14 @@ function NavIcon(props) { export function NavBar() { const {status} = useContext(StatusContext); const wrol_mode = status ? status['wrol_mode'] : null; - const name = NAME || 'WROLPi'; + const wrolpiIcon = WROLPi Home Icon; + const name = NAME || wrolpiIcon; const topNavText = wrol_mode ? <>{name}  : name; const {i} = useContext(ThemeContext); - const homeLink = ; + const homeLink = + {topNavText} + ; const icons = @@ -66,7 +69,7 @@ export function NavBar() { return <> - + {homeLink} {icons} @@ -79,7 +82,7 @@ export function NavBar() { - + {homeLink} {links.map(i => )}