generated from Integry/Template_NetMauiBlazorHybrid
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
@using salesbook.Shared.Core.Entity
|
|
|
|
<div class="contact-card">
|
|
<div class="contact-left-section">
|
|
<MudIcon Color="Color.Default" Icon="@Icons.Material.Filled.PersonOutline" Size="Size.Large" />
|
|
|
|
<div class="contact-body-section">
|
|
<div class="title-section">
|
|
<MudText Class="contact-title" Typo="Typo.body1" HtmlTag="h3">@UtilityString.FormatString(Contact.PersonaRif).TitleCase</MudText>
|
|
</div>
|
|
|
|
@if (Contact.Mansione is not null)
|
|
{
|
|
<MudText Class="contact-subtitle" Typo="Typo.body1" HtmlTag="p">@UtilityString.FormatString(Contact.Mansione).SentenceCase</MudText>
|
|
}
|
|
</div>
|
|
</div>
|
|
<div class="contact-right-section">
|
|
@if (!Contact.NumCellulare.IsNullOrEmpty())
|
|
{
|
|
<MudIcon Color="Color.Success" Size="Size.Large" Icon="@Icons.Material.Outlined.Phone" />
|
|
}
|
|
|
|
@if (!Contact.EMail.IsNullOrEmpty()){
|
|
<MudIcon Color="Color.Info" Size="Size.Large" Icon="@Icons.Material.Filled.MailOutline" />
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
@code {
|
|
[Parameter] public VtbCliePersRif Contact { get; set; } = new();
|
|
} |