diff --git a/frontend/src/Icons.js b/frontend/src/Icons.js index 495e74f2..462c7a4e 100644 --- a/frontend/src/Icons.js +++ b/frontend/src/Icons.js @@ -164,3 +164,7 @@ export const ICON_NEWMSG = (props) => { export const ICON_SEND = (props) => { return } + +export const ICON_QUESTION = (props) => { + return +} diff --git a/frontend/src/components/Nav/index.js b/frontend/src/components/Nav/index.js index 8c51b8ad..b98ad768 100644 --- a/frontend/src/components/Nav/index.js +++ b/frontend/src/components/Nav/index.js @@ -4,7 +4,7 @@ import './style.scss' import { ICON_LOGO, ICON_HOME, ICON_HASH, ICON_BELL, ICON_INBOX , ICON_LIST, ICON_USER, ICON_LAPTOP, ICON_SETTINGS, ICON_HOMEFILL, ICON_HASHFILL, ICON_BELLFILL, ICON_LISTFILL, ICON_USERFILL, ICON_LAPTOPFILL, ICON_FEATHER, -ICON_CLOSE,ICON_IMGUPLOAD, ICON_INBOXFILL, ICON_LIGHT, ICON_DARK, ICON_TWITTER } from '../../Icons' +ICON_CLOSE,ICON_IMGUPLOAD, ICON_INBOXFILL, ICON_LIGHT, ICON_DARK, ICON_TWITTER, ICON_QUESTION } from '../../Icons' import { ReactComponent as YourSvg } from '../../icon.svg'; import axios from 'axios' import {API_URL} from '../../config' @@ -47,6 +47,7 @@ const Nav = ({history}) => { const [theme, setTheme] = useState(true) const [modalOpen, setModalOpen] = useState(false) const [sellPriceModalOpen, setSellPriceModalOpen] = useState(false) + const [aboutModalOpen, setAboutModalOpen] = useState(false) const [styleBody, setStyleBody] = useState(false) const [newSellPriceMsat, setNewSellPriceMsat] = useState(0) @@ -96,6 +97,12 @@ const Nav = ({history}) => { setTimeout(()=>{ setSellPriceModalOpen(!sellPriceModalOpen) },20) } + const toggleAboutModal = (param, type) => { + setMoreMenu(false); + setStyleBody(!styleBody) + setTimeout(()=>{ setAboutModalOpen(!aboutModalOpen) },20) + } + const handleModalClick = (e) => { e.stopPropagation() @@ -200,7 +207,7 @@ const Nav = ({history}) => {
About Squeaknode
+