Skip to content

Commit b9c8347

Browse files
committed
make large variant of logo
1 parent d42350c commit b9c8347

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/Logo.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
import { Link } from 'react-router-dom';
2+
import { twJoin } from 'tailwind-merge';
23

34
import { ReactComponent as LogoSvg } from '../assets/images/logo.svg';
45

5-
const Logo = () => {
6+
const Logo = ({ large }: { large?: boolean }) => {
67
return (
78
<Link to="/">
8-
<LogoSvg className="w-[7.5rem] text-white" />
9+
<LogoSvg
10+
className={twJoin('text-white', large ? 'w-48' : 'w-[7.5rem]')}
11+
/>
912
</Link>
1013
);
1114
};

0 commit comments

Comments
 (0)