mirror of
				https://github.com/Alamantus/Lexiconga.git
				synced 2025-11-04 02:07:05 +01:00 
			
		
		
		
	Added PNG fallback if browser does not support SVG
This commit is contained in:
		
							parent
							
								
									6a59837a0b
								
							
						
					
					
						commit
						f500a08f8f
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								public/logo.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public/logo.png
									
										
									
									
									
										Normal file
									
								
							
										
											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 (
 | 
			
		||||
      <nav className='nav'>
 | 
			
		||||
        <div className='nav-left'>
 | 
			
		||||
          <a href='/' className='nav-item'>
 | 
			
		||||
            <img src='./logo.svg' alt='Lexiconga' />
 | 
			
		||||
          <a href='/' className='nav-item image'>
 | 
			
		||||
            <img src={`./logo.${(typeof SVGRect !== 'undefined') ? 'svg' : 'png'}`} alt='Lexiconga Logo' />
 | 
			
		||||
          </a>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue