mise en place de la structure de base du plateau (#40)
All checks were successful
Merging on main / Build & Test (push) Successful in 1m10s
All checks were successful
Merging on main / Build & Test (push) Successful in 1m10s
Co-authored-by: mcmuzzle <vezuvan@hotmail.com> Reviewed-on: #40
This commit was merged in pull request #40.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
@page "/match"
|
||||
@rendermode InteractiveAuto
|
||||
|
||||
<PageTitle>Match</PageTitle>
|
||||
<div class="board">
|
||||
<MatchBoard MatchViewModel="MatchViewModel" />
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using LittleTown.Blazor.Client.Services;
|
||||
using LittleTown.Blazor.Client.ViewModels;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace LittleTown.Blazor.Client.Pages;
|
||||
|
||||
public partial class Match(IMatchService matchServices)
|
||||
{
|
||||
public MatchViewModel MatchViewModel { get; private set; }
|
||||
|
||||
public override Task SetParametersAsync(ParameterView parameters)
|
||||
{
|
||||
MatchViewModel = new MatchViewModel(matchServices.GetMatch());
|
||||
return base.SetParametersAsync(parameters);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
.board {
|
||||
width: 100%;
|
||||
height: 50vh;
|
||||
}
|
||||
Reference in New Issue
Block a user