| | 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"> |
| 0 | 29 | | @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")] |
| 0 | 47 | | public bool IsDarkTheme { get; set; } |
| | 48 | |
|
| | 49 | | protected override async Task OnInitializedAsync() |
| | 50 | | { |
| 0 | 51 | | await HealthClient.Get(); |
| 0 | 52 | | } |
| | 53 | | } |