@props(['light' => false, 'size' => 'md'])

@php
    $height = ['sm' => 'h-7', 'md' => 'h-9', 'lg' => 'h-12'][$size];
    $src = $light ? asset('images/logo-white.png') : asset('images/logo.png');
@endphp

<img src="{{ $src }}" alt="Money-Wise"
     {{ $attributes->merge(['class' => "$height w-auto select-none"]) }} draggable="false">
