import logo from "@/assets/logo.png";
import { Link } from "@tanstack/react-router";

export function Logo({ size = 40 }: { size?: number }) {
  return (
    <Link to="/" className="flex items-center gap-2.5 group">
      <img src={logo} alt="দেশি কোর্স" width={size} height={size} className="rounded-full shadow-sm transition-transform group-hover:scale-105" style={{ width: size, height: size }} />
      <span className="font-bold text-lg tracking-tight text-foreground">দেশি কোর্স</span>
    </Link>
  );
}