Files
TaskHybrid/Template.Shared/Components/SingleElements/Card/ContactCard.razor

24 lines
963 B
Plaintext

@using Template.Shared.Core.Entity
<div class="contact-card">
<div class="contact-left-section">
<div class="contact-body-section">
<div class="title-section">
<MudText Class="contact-title" Typo="Typo.body1" HtmlTag="h3">@Contact.PersonaRif</MudText>
</div>
@if (Contact.Mansione is not null)
{
<MudText Class="contact-subtitle" Typo="Typo.body1" HtmlTag="p">@Contact.Mansione</MudText>
}
</div>
</div>
<div class="contact-right-section">
<MudIcon Color="Color.Success" Disabled="@(Contact.NumCellulare.IsNullOrEmpty())" Size="Size.Large" Icon="@Icons.Material.Outlined.Phone" />
<MudIcon Color="Color.Info" Disabled="@(Contact.EMail.IsNullOrEmpty())" Size="Size.Large" Icon="@Icons.Material.Filled.MailOutline" />
</div>
</div>
@code {
[Parameter] public VtbCliePersRif Contact { get; set; } = new();
}