ConceptPortal-public/rsconcept/frontend/src/components/Navigation/Logo.tsx

15 lines
432 B
TypeScript
Raw Normal View History

2023-07-15 17:46:19 +03:00
import { Link } from 'react-router-dom';
interface LogoProps {
title: string
}
function Logo({title}: LogoProps) {
return (
<Link to='/' className='flex items-center mr-4'>
2023-07-16 22:53:22 +03:00
<img src='/favicon.svg' className='min-h-[2.5rem] mr-2 min-w-[2.5rem]' alt=''/>
<span className='self-center hidden text-2xl font-semibold lg:block whitespace-nowrap dark:text-white'>{title}</span>
2023-07-15 17:46:19 +03:00
</Link>
);
}
export default Logo;