Commit 5b9fc49c authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added encyclopedia to GUI.

parent e3d1e9cb
Pipeline #82005 passed with stages
in 21 minutes and 12 seconds
......@@ -12,6 +12,7 @@ import SearchIcon from '@material-ui/icons/Search'
import UserDataIcon from '@material-ui/icons/AccountCircle'
import AboutIcon from '@material-ui/icons/Home'
import FAQIcon from '@material-ui/icons/QuestionAnswer'
import EncyclopediaIcon from '@material-ui/icons/Language'
import MetainfoIcon from '@material-ui/icons/Info'
import DocIcon from '@material-ui/icons/Help'
import CodeIcon from '@material-ui/icons/Code'
......@@ -25,7 +26,7 @@ import { ErrorSnacks, withErrors } from './errors'
import { help as entryHelp, default as EntryPage } from './entry/EntryPage'
import About from './About'
import LoginLogout from './LoginLogout'
import { guiBase, consent, nomadTheme, appBase, version, oasis, aitoolkitEnabled } from '../config'
import { guiBase, consent, nomadTheme, appBase, version, oasis, aitoolkitEnabled, encyclopediaEnabled } from '../config'
import packageJson from '../../package.json'
import {help as uploadHelp, default as UploadPage} from './uploads/UploadPage'
import ResolvePID from './entry/ResolvePID'
......@@ -278,6 +279,12 @@ function MainMenu() {
tooltip="Manage your data"
{encyclopediaEnabled && <MainMenuItem
tooltip="Visit the NOMAD Materials Encyclopedia"
{!oasis && aitoolkitEnabled && <MainMenuItem
title="AI Toolkit"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment