All files / components/Navbar/NavbarLogo NavbarLogo.tsx

100% Statements 2/2
100% Branches 0/0
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17                101x 208x              
import Image from 'next/image'
import Link from 'next/link'
import logo_symbol from '../../../assets/images/logo/logo_symbol.svg'
import { routes } from '../../../services/routes/routes'
 
/**
 * Displays Navbar Logo with Link to Home.
 */
export const NavbarLogo: React.FC = () => {
	return (
		<Link className="flex items-center" href={routes.index}>
			<Image src={logo_symbol} alt="Logo" className="mr-2 w-[25px] min-w-[25px]" />
			<span className="block whitespace-nowrap text-lg font-bold">Siebtes Leben</span>
		</Link>
	)
}