Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav committed Feb 28, 2024
1 parent e9b5504 commit e2fddcc
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions static/js/components/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,21 +84,29 @@ export default class Navbar extends React.Component {
setNavDrawerOpen: (b: boolean) => void
}

renderProfileHeader = <img
src="/static/images/micromasters_logo_white.svg"
alt="MicroMasters Programs"
key="header-logo"
/>
renderProfileHeader = (
<img
src="/static/images/micromasters_logo_white.svg"
alt="MicroMasters Programs"
key="header-logo"
/>
)

renderAuthenticatedHeader = (link: string) => [
<Link to={link} key="header-logo-link">
<img src="/static/images/micromasters_logo_white.svg" alt="MicroMasters Programs" />
<img
src="/static/images/micromasters_logo_white.svg"
alt="MicroMasters Programs"
/>
</Link>
]

renderUnauthenticatedHeader = (link: string) => [
<a href={link} key="header-logo-link">
<img src="/static/images/micromasters_logo_white.svg" alt="MicroMasters Programs" />
<img
src="/static/images/micromasters_logo_white.svg"
alt="MicroMasters Programs"
/>
</a>
]

Expand Down

0 comments on commit e2fddcc

Please sign in to comment.