687b4f7a49
* Add initial code for Razor pages support * Remove finalizer * Try fully loading blazor This is most likely entirely broken because of a rebase now * UseSptBlazor after app.Use * Fix up StaticWebAsset loading, add MudBlazor * Implement page * Update comment * Replaced existing status page with razor * Track background video in LFS * Update attributes * Improved status page theming * Fix up wwwroot publish folder to SPT_Data/wwwroot * Added name to page * Remove unnecessary code * Begin fixing up MVC & Blazor for modding * Update TestMod * Cleanup todo * Further work out mod support * Re-order initialization and use logger * Rename library to SPTarkov.Server.Web --------- Co-authored-by: Chomp <dev@dev.sp-tarkov.com> Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
@page "/example-page"
|
|
@using SPTarkov.Server.Web.Components.Layout
|
|
@layout BaseMudBlazorLayout
|
|
|
|
<MudContainer Class="mt-16 d-flex justify-center">
|
|
<MudGrid Justify="Justify.Center">
|
|
<MudItem xs="12" sm="6" md="4">
|
|
<MudCard Elevation="25" Class="rounded-lg pb-4">
|
|
<MudCardHeader>
|
|
<CardHeaderContent>
|
|
<MudText Typo="Typo.h5" Align="Align.Center">SPT 4.0</MudText>
|
|
</CardHeaderContent>
|
|
</MudCardHeader>
|
|
<MudCardContent>
|
|
<div class="d-flex justify-center">
|
|
<MudText Typo="Typo.h5" Class="ml-1 mt-5" Color="Color.Secondary">Is pretty awesome</MudText>
|
|
</div>
|
|
<MudList T="string" Class="mx-auto mt-4" Style="width:300px;">
|
|
<MudListItem Icon="@Icons.Material.Filled.Star">Feature 1</MudListItem>
|
|
<MudListItem Icon="@Icons.Material.Filled.Star">Feature 2</MudListItem>
|
|
<MudListItem Icon="@Icons.Material.Filled.Star">Feature 3</MudListItem>
|
|
</MudList>
|
|
</MudCardContent>
|
|
</MudCard>
|
|
</MudItem>
|
|
</MudGrid>
|
|
</MudContainer>
|