Added PNG fallback if browser does not support SVG
This commit is contained in:
parent
6a59837a0b
commit
f500a08f8f
Binary file not shown.
After Width: | Height: | Size: 8.6 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
@ -16,8 +16,8 @@ export class Header extends Component {
|
||||||
return (
|
return (
|
||||||
<nav className='nav'>
|
<nav className='nav'>
|
||||||
<div className='nav-left'>
|
<div className='nav-left'>
|
||||||
<a href='/' className='nav-item'>
|
<a href='/' className='nav-item image'>
|
||||||
<img src='./logo.svg' alt='Lexiconga' />
|
<img src={`./logo.${(typeof SVGRect !== 'undefined') ? 'svg' : 'png'}`} alt='Lexiconga Logo' />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue