Skip to content
Snippets Groups Projects
Commit 6c5a3ac4 authored by Tojo's avatar Tojo
Browse files

maj Logo

parent 94c9c437
Branches
Tags
No related merge requests found
...@@ -13,11 +13,12 @@ interface Props { ...@@ -13,11 +13,12 @@ interface Props {
} }
const Logo = (props: Props) => { const Logo = (props: Props) => {
const { to = "#", className = "", title, image } = props; const { to = "#", className, title, image } = props;
return ( return (
<div className="flex justify-center flex-col items-center w-[150px]"> <>
<Link to={to} className={className}> <div className={`flex justify-center flex-col items-center ${className}`}>
<Link to={to} className="">
<img <img
src={image} src={image}
alt="Logo" alt="Logo"
...@@ -25,8 +26,9 @@ const Logo = (props: Props) => { ...@@ -25,8 +26,9 @@ const Logo = (props: Props) => {
className="my-2" className="my-2"
/> />
</Link> </Link>
<div>{title}</div> <div className="text-xs">{title}</div>
</div> </div>
</>
); );
}; };
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment