Merge pull request #1382 from davidbmx/dev-dav

remove title form nav #1266
This commit is contained in:
Cassie Tarakajian 2020-04-14 15:43:07 -04:00 committed by GitHub
commit 87044eea9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View file

@ -227,7 +227,7 @@ class Nav extends React.PureComponent {
renderDashboardMenu(navDropdownState) { renderDashboardMenu(navDropdownState) {
return ( return (
<ul className="nav__items-left" title="project-menu"> <ul className="nav__items-left">
<li className="nav__item-logo"> <li className="nav__item-logo">
<InlineSVG src={logoUrl} alt="p5.js logo" className="svg__logo" /> <InlineSVG src={logoUrl} alt="p5.js logo" className="svg__logo" />
</li> </li>
@ -245,7 +245,7 @@ class Nav extends React.PureComponent {
renderProjectMenu(navDropdownState) { renderProjectMenu(navDropdownState) {
return ( return (
<ul className="nav__items-left" title="project-menu"> <ul className="nav__items-left">
<li className="nav__item-logo"> <li className="nav__item-logo">
<InlineSVG src={logoUrl} alt="p5.js logo" className="svg__logo" /> <InlineSVG src={logoUrl} alt="p5.js logo" className="svg__logo" />
</li> </li>

View file

@ -13,7 +13,7 @@ class NavBasic extends React.PureComponent {
render() { render() {
return ( return (
<nav className="nav" title="main-navigation" ref={(node) => { this.node = node; }}> <nav className="nav" title="main-navigation" ref={(node) => { this.node = node; }}>
<ul className="nav__items-left" title="project-menu"> <ul className="nav__items-left">
<li className="nav__item-logo"> <li className="nav__item-logo">
<InlineSVG src={logoUrl} alt="p5.js logo" className="svg__logo" /> <InlineSVG src={logoUrl} alt="p5.js logo" className="svg__logo" />
</li> </li>

View file

@ -7,7 +7,6 @@ exports[`Nav renders correctly 1`] = `
> >
<ul <ul
className="nav__items-left" className="nav__items-left"
title="project-menu"
> >
<li <li
className="nav__item-logo" className="nav__item-logo"