Skip to content

Commit

Permalink
feat: page titles
Browse files Browse the repository at this point in the history
  • Loading branch information
Draud-Egomann committed Jun 13, 2024
1 parent a4f376e commit 09b87b4
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Web/Components/Pages/Checkout.razor
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
@inject ShoppingCartService ShoppingCartService
@inject NavigationManager Navigation

<PageTitle>Checkout</PageTitle>

@if (pageLoaded)
{
<HeroBanner MainTitle="Warenkorb"
Expand Down
2 changes: 2 additions & 0 deletions src/Web/Components/Pages/Licences.razor
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
@using Data.Models
@using Microsoft.EntityFrameworkCore

<PageTitle>Licences</PageTitle>

@if (IsLoading) {
<LoadingSkeleton />
} else {
Expand Down
2 changes: 2 additions & 0 deletions src/Web/Components/Pages/Pay.razor
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@page "/pay"
@inject DialogService DialogService

<PageTitle>Checkout</PageTitle>

<RadzenSteps Change="@OnChange" CanChange="@CanChange">
<Steps>
<RadzenStepsItem Text="Adresse">
Expand Down
2 changes: 2 additions & 0 deletions src/Web/Components/Pages/Products/Details.razor
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
@using Microsoft.EntityFrameworkCore
@using Web.Services

<PageTitle>@Product.Name</PageTitle>

@if (!string.IsNullOrWhiteSpace(ErrorMessage)) {
<div class="alert alert-danger" role="alert">
@ErrorMessage
Expand Down
2 changes: 2 additions & 0 deletions src/Web/Components/Pages/Products/Edit.razor
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
@using Web.Services
@using Microsoft.JSInterop

<PageTitle>@Product.Name - Edit</PageTitle>

<RadzenTemplateForm TItem="Product" Data="@Product" Submit="Submit">
<RadzenRow Gap="2rem" Class="rz-p-0 rz-p-lg-4">
<RadzenColumn Size="12">
Expand Down
2 changes: 2 additions & 0 deletions src/Web/Components/Pages/Products/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
@inject NavigationManager Navigation
@inject IDbContextFactory<ApplicationDbContext> DbFactory

<PageTitle>Magical Imagery</PageTitle>

@if (isLoading) {
<LoadingSkeleton />
} else {
Expand Down

0 comments on commit 09b87b4

Please sign in to comment.