-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7523c6
commit ebc2bd7
Showing
4 changed files
with
72 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<MudDialog> | ||
<DialogContent> | ||
<MudPaper Class="d-flex flex-row justify-center flex-grow-1 gap-1" | ||
Style="background-color:transparent" Elevation="0"> | ||
|
||
@foreach (var point in Config.WordToFind.ToUpper()) | ||
{ | ||
<MudPaper Class="containerWord" | ||
Width="64px" | ||
Height="64px" | ||
Style="@($"border-width:1px;border-radius:10px;border-color:black;background-color:blue;")"> | ||
<MudText Typo="Typo.h4" Style="@($"color:white")"> | ||
<strong>@point</strong> | ||
</MudText> | ||
</MudPaper> | ||
} | ||
</MudPaper> | ||
</DialogContent> | ||
<DialogActions> | ||
<MudButton Color="Color.Primary" OnClick="Submit">Replay</MudButton> | ||
</DialogActions> | ||
</MudDialog> | ||
|
||
@code { | ||
[CascadingParameter] MudDialogInstance MudDialog { get; set; } | ||
|
||
[Inject] | ||
public NavigationManager nav { get; set; } | ||
void Submit() { | ||
MudDialog.Close(DialogResult.Ok(true)); | ||
nav.NavigateTo("",true); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,7 @@ public static void Reset() | |
} | ||
List.Add(ls); | ||
} | ||
CurrentIndex = 0; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters