Commit d95d430c authored by Steve Sanderson's avatar Steve Sanderson
Browse files

Move use of UserStateProvider into App.cshtml to keep layout simpler

parent 26bb422b
<Router AppAssembly=typeof(Program).Assembly />
<UserStateProvider>
<Router AppAssembly=typeof(Program).Assembly />
</UserStateProvider>
@inherits BlazorLayoutComponent
<UserStateProvider>
<div class="fixed-top top-bar container-fluid px-5">
<img class="logo" src="img/logo.svg" />
<div class="fixed-top top-bar container-fluid px-5">
<img class="logo" src="img/logo.svg" />
<NavLink href="" class="nav-tab" Match="NavLinkMatch.All">
<img src="img/pizza-slice.svg" />
<div>Get Pizza</div>
</NavLink>
<NavLink href="" class="nav-tab" Match="NavLinkMatch.All">
<img src="img/pizza-slice.svg" />
<div>Get Pizza</div>
</NavLink>
<NavLink href="myorders" class="nav-tab">
<img src="img/bike.svg" />
<div>My Orders</div>
</NavLink>
<NavLink href="myorders" class="nav-tab">
<img src="img/bike.svg" />
<div>My Orders</div>
</NavLink>
<UserInfo />
</div>
<UserInfo />
</div>
<div class="content">
@Body
</div>
<div class="content">
@Body
</div>
</UserStateProvider>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment