u
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Components\" />
|
<Folder Include="Components\" />
|
||||||
|
<Folder Include="wwwroot\image\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -155,18 +155,20 @@
|
|||||||
@foreach (var p in _packs)
|
@foreach (var p in _packs)
|
||||||
{
|
{
|
||||||
<MudItem xs="12" md="4" Class="d-flex">
|
<MudItem xs="12" md="4" Class="d-flex">
|
||||||
<MudPaper Elevation="2" Class="rounded-2xl d-flex flex-column flex-grow-1 overflow-hidden">
|
<MudCard>
|
||||||
<MudImage Src="@p.Image"
|
<MudCardMedia Image="@p.Image"
|
||||||
Alt="@p.Title"
|
Title="@p.Title"
|
||||||
Height="300"
|
Height="300" />
|
||||||
ObjectFit="ObjectFit.Cover"
|
<MudCardContent>
|
||||||
ObjectPosition="ObjectPosition.Center"
|
<MudText Typo="Typo.h5" Class="mb-3">@(p.Title)</MudText>
|
||||||
Class="feature-img" />
|
|
||||||
<div class="pa-5">
|
|
||||||
<MudText Typo="Typo.h6" Class="mb-2">@(p.Title)</MudText>
|
|
||||||
@((MarkupString)p.Body)
|
@((MarkupString)p.Body)
|
||||||
</div>
|
</MudCardContent>
|
||||||
</MudPaper>
|
<MudCardActions>
|
||||||
|
<MudButton Variant="Variant.Outlined"
|
||||||
|
Color="Color.Primary"
|
||||||
|
FullWidth="true">مشاهده جزئیات</MudButton>
|
||||||
|
</MudCardActions>
|
||||||
|
</MudCard>
|
||||||
</MudItem>
|
</MudItem>
|
||||||
}
|
}
|
||||||
</MudGrid>
|
</MudGrid>
|
||||||
|
|||||||
Reference in New Issue
Block a user