MissnationBlazor/MissNationSharedUI/Shared/Components/Pages/Index.razor

64 lines
1.6 KiB
Plaintext

@page "/"
@using MissNationSharedUI.Shared.Components.Layout
<!--body content start-->
<section class="body-content gray-bg">
<SuperHeroComponent />
<HeroComponent />
<!--slider box-->
<!--ads box-->
<!--trendy product-->
<!--parallax-->
<!-- <div class="parallax-inner full-width float-left parallax-p">
<div class="container ">
<div class="row">
<div class="heading-title-alt text-center m-bot-0 inline-block">
<h1 class="text-uppercase light-txt">Our misson</h1>
</p>
<h4 class="text-uppercase light-txt">&#10077;Our goal is to choose a Queen who can serve as an Idol to the younger generations, her Nation and the entire World.&#10078;
</h4>
</div>
</div>
</div>
</div>-->
<!--parallax-->
<QuoteRightComponent AddiontionalCssClass="filtered"/>
<SlidersComponent/>
<!--subscribe-->
<SubscriptionComponent/>
<!--subscribe-->
</section>
<!--body content end-->
<!--footer start 1-->
<!--footer 1 end-->
@code {
[Inject]
public IJSRuntime JSRuntime { get; set; }
private IJSObjectReference _jsModule;
protected override async Task OnAfterRenderAsync(bool firstRender)
{
base.OnAfterRender(firstRender);
if (firstRender)
{
_jsModule = await JSRuntime.InvokeAsync<IJSObjectReference>("import", "./_content/MissNationSharedUI/assets/exampleJsInterop.js");
await _jsModule.InvokeVoidAsync("getMessage");
}
}
}