Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added graphql link + changed title to metamist #549

Merged
merged 2 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Sample Metadata API" />
<title>CPG Sample Metadata</title>
<title>CPG Metamist</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" />
</head>

Expand Down
9 changes: 9 additions & 0 deletions web/src/shared/components/Header/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { Popup } from 'semantic-ui-react'
import ExploreIcon from '@mui/icons-material/Explore'
import DescriptionIcon from '@mui/icons-material/Description'
import InsightsIcon from '@mui/icons-material/Insights'
import BuildIcon from '@mui/icons-material/Build'
import Searchbar from './Search'
import MuckTheDuck from '../MuckTheDuck'
import DarkModeTriButton from './DarkModeTriButton/DarkModeTriButton'
Expand Down Expand Up @@ -60,6 +61,14 @@ const NavBar: React.FunctionComponent = () => (
</Popup>
</span>
</Link>
<a href="/graphql">
<span className="d-none d-lg-block navbarLink">GraphQL</span>
<span className="d-lg-none navbarIcon">
<Popup trigger={<BuildIcon />} hoverable position="bottom center">
<h5>GraphQL</h5>
</Popup>
</span>
</a>
<div style={{ marginLeft: 'auto' }}>
<DarkModeTriButton />
</div>
Expand Down
Loading