This commit is contained in:
MeysamMoghaddam
2025-10-13 17:14:39 +03:30
parent 86abecb3ce
commit a5699364c7
7 changed files with 44 additions and 44 deletions
+5 -5
View File
@@ -16,7 +16,7 @@
</MudText>
<!-- Search Box -->
<MudPaper Elevation="2" Class="pa-4 rounded-2xl w-100" Style="max-width: 500px;">
<MudPaper Elevation="2" Class="pa-4 w-100" Style="max-width: 500px;">
<MudTextField @bind-Value="_searchQuery"
Label="جستجو در سوالات..."
Variant="Variant.Outlined"
@@ -40,7 +40,7 @@
@foreach (var category in _categories)
{
<MudItem xs="12" sm="6" md="4">
<MudPaper Elevation="2" Class="pa-4 rounded-xl mud-theme-surface cursor-pointer h-100"
<MudPaper Elevation="2" Class="pa-4 rounded-xl cursor-pointer h-100"
OnClick="() => ScrollToCategory(category.Id)">
<MudStack AlignItems="AlignItems.Center" Spacing="3">
<MudIcon Icon="@category.Icon" Size="Size.Large" Color="Color.Primary" />
@@ -69,7 +69,7 @@
<MudText Typo="Typo.h5" Class="mb-4">نتایج جستجو برای "@_searchQuery"</MudText>
@if (_filteredQuestions.Any())
{
<MudExpansionPanels Square="false" Class="rounded-2xl">
<MudExpansionPanels Square="false" Class="">
@foreach (var question in _filteredQuestions)
{
<MudExpansionPanel Text="@question.Question">
@@ -98,7 +98,7 @@
<MudStack Spacing="4" Class="mb-8">
<div id="@category.Id">
<MudText Typo="Typo.h5" Class="mb-4">@category.Title</MudText>
<MudExpansionPanels Square="false" Class="rounded-2xl">
<MudExpansionPanels Square="false" Class="">
@foreach (var question in category.Questions)
{
<MudExpansionPanel Text="@question.Question">
@@ -116,7 +116,7 @@
<!-- Contact Support -->
<section class="py-12 bg-grey-50">
<MudContainer MaxWidth="MaxWidth.Large">
<MudPaper Elevation="3" Class="pa-8 rounded-2xl mud-theme-surface text-center">
<MudPaper Elevation="3" Class="pa-8 text-center">
<MudIcon Icon="@Icons.Material.Filled.ContactSupport" Size="Size.Large" Color="Color.Primary" Class="mb-4" />
<MudText Typo="Typo.h4" Class="mb-3">سوال شما پاسخ داده نشد؟</MudText>
<MudText Typo="Typo.body1" Class="mud-text-secondary mb-6">