You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.3 KiB
53 lines
1.3 KiB
@page "/"
|
|
@using System.Globalization
|
|
@using TP_Blazor.Components
|
|
|
|
<PageTitle>Index</PageTitle>
|
|
|
|
<h1>Hello, world!</h1>
|
|
<p>
|
|
<b>CurrentCulture</b>: @CultureInfo.CurrentCulture
|
|
</p>
|
|
|
|
@* <Card Item="CakeItem">
|
|
<CardHeader>
|
|
<div class="card-header">
|
|
Cake Token number - @context.Id
|
|
</div>
|
|
</CardHeader>
|
|
<CardBody>
|
|
<div class="card-body">
|
|
<div>@context.Name</div>
|
|
<div>$@context.Cost</div>
|
|
</div>
|
|
</CardBody>
|
|
<CardFooter>
|
|
<div class="card-footer text-muted">
|
|
this is footer
|
|
</div>
|
|
</CardFooter>
|
|
</Card>
|
|
<ShowItems Items="Cakes" >
|
|
<ShowTemplate Context="CakeContext">
|
|
<div class="card text-center">
|
|
<div class="card-header">
|
|
Cake Token Id - @CakeContext.Id
|
|
</div>
|
|
<div class="card-body">
|
|
<h5 class="card-title">@CakeContext.Name</h5>
|
|
<p class="card-text">Price $@CakeContext.Cost</p>
|
|
</div>
|
|
<div class="card-footer text-muted">
|
|
Click Here
|
|
</div>
|
|
</div>
|
|
</ShowTemplate>
|
|
</ShowItems>-->*@
|
|
|
|
Welcome to your new app.
|
|
|
|
<div>
|
|
<Crafting Items="Items" Recipes="Recipes" />
|
|
</div>
|
|
<SurveyPrompt Title="How is Blazor working for you?" />
|