@inherits ComponentBase

<BaseContainer Title="@_title" Breadcrumbs="@_breadcrumbs" LoadData="LoadDataAsync">
    <Content>
        <MudGrid>
            @if (_model is not null)
            {
                <MudItem xs="12" sm="6" md="6" lg="3">
                    <KeyValueCard T="string" Key="Name" Value="@_model.Name" Icon="@Icons.Material.Outlined.Grain" />
                </MudItem>
                @if (string.IsNullOrWhiteSpace(_model?.Description) is false)
                {
                    <MudItem xs="12" sm="12" md="12" lg="12">
                        <InfoCard Key="Description" Lines="3" Text="@(_model.Description ?? "-")" />
                    </MudItem>
                }
            }
        </MudGrid>
    </Content>
</BaseContainer>