Selector/Selector.MAUI/Shared/SpotifyLogo.razor
2023-01-23 18:11:37 +00:00

15 lines
318 B
Plaintext

@if (!string.IsNullOrWhiteSpace(Link))
{
<a href="@Link" target="_blank" class="spotify-logo" style="float: left">
<img src="/spotify_icon.png">
</a>
}
else
{
<img src="/spotify_icon.png" class="spotify-logo" style="float: left">
}
@code {
[Parameter]
public string Link { get; set; }
}