< Summary

Information
Class: Syki.Front.Components.Indexes.IndexAnonymous
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Components/Indexes/IndexAnonymous.razor
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 53
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 2
Branch coverage: 0%
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_IsDarkTheme()100%210%
OnInitializedAsync()100%210%

File(s)

/home/runner/work/syki/syki/Front/Components/Indexes/IndexAnonymous.razor

#LineLine coverage
 1@namespace Syki.Front.Components.Indexes
 2
 3<MudContainer MaxWidth="MaxWidth.Large">
 4    <MudGrid Class="mt-0 mb-6">
 5        <MudItem xs="12" sm="12" md="4" lg="4">
 6            <MudText Typo="Typo.h3" Class="mb-6">
 7                <strong>Gerencie sua instituição de ensino com maestria</strong>
 8            </MudText>
 9            <MudText Typo="Typo.h5" Class="mb-8">
 10                Acadêmico, financeiro, secretaria, professores e alunos: tudo integrado de maneira fácil e intuitiva.
 11            </MudText>
 12            <MudButton
 13                Class="px-8"
 14                EndIcon="@Icons.Material.Filled.ArrowForward"
 15                IconSize="Size.Large"
 16                Variant="Variant.Filled"
 17                Style="height: 60px;"
 18                Color="Color.Primary"
 19                Href="/register"
 20            >
 21                <MudText Typo="Typo.h6">
 22                    Experimente agora
 23                </MudText>
 24            </MudButton>
 25        </MudItem>
 26
 27        <MudItem xs="12" sm="12" md="8" lg="8">
 28            <MudPaper Class="pa-4" Elevation="3">
 029                @if (IsDarkTheme)
 30                {
 31                    <img src="syki_home_dark.png" width="100%">
 32                }
 33                else
 34                {
 35                    <img src="syki_home_light.png" width="100%">
 36                }
 37            </MudPaper>
 38        </MudItem>
 39    </MudGrid>
 40</MudContainer>
 41
 42@inject HealthClient HealthClient
 43
 44@code
 45{
 46    [CascadingParameter(Name = "IsDarkTheme")]
 047    public bool IsDarkTheme { get; set; }
 48
 49    protected override async Task OnInitializedAsync()
 50    {
 051        await HealthClient.Get();
 052    }
 53}