Skip to content

Commit

Permalink
[Doc] Canonical URLs metadata #914 (#915)
Browse files Browse the repository at this point in the history
* [Doc] Canonical URLs metadata #914

* [Doc] Canonical URLs metadata #914

* [Doc] Canonical URLs metadata #914 - PageCanonicalUrl + types and components

* consolidation

* Premium content

---------

Co-authored-by: Robert Haken <haken@havit.cz>
  • Loading branch information
Harvey1214 and hakenr authored Nov 2, 2024
1 parent 7c34709 commit bda7ad2
Show file tree
Hide file tree
Showing 19 changed files with 370 additions and 197 deletions.
3 changes: 3 additions & 0 deletions Havit.Blazor.Documentation/Pages/Concepts/DarkColorMode.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
@page "/concepts/dark-color-mode-theme"

<PageCanonicalUrl RelativeUrl="/concepts/dark-color-mode-theme" />


<h1>Dark color mode (theme)</h1>

<DocHeading Title="Basic usage" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@page "/concepts/Debouncer"

<PageCanonicalUrl RelativeUrl="/concepts/Debouncer" />

<DocHeading Level="1">Debouncer</DocHeading>
<p>Debouncer helps you to debounce asynchronous actions. You can use it in your callbacks to prevent multiple calls of the same action in a short period of time.</p>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@page "/concepts/defaults-and-settings"

<PageCanonicalUrl RelativeUrl="/concepts/defaults-and-settings" />

<h1>Defaults and Settings</h1>
<DocAlert Type="DocAlertType.Info">Although most components support the presented functionalities, some components were constructed without settings or defaults because they wouldn't add sufficient value.</DocAlert>

Expand Down
3 changes: 3 additions & 0 deletions Havit.Blazor.Documentation/Pages/GettingStarted.razor
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
@page "/getting-started"

<PageTitle>Getting started | HAVIT Blazor Bootstrap - Free components for ASP.NET Core Blazor</PageTitle>
<PageCanonicalUrl RelativeUrl="/getting-started" />

<h1 class="fw-bold lh-1">HAVIT Blazor Bootstrap</h1>
<p class="lead">Free Bootstrap 5.3 components for ASP.NET Blazor.</p>

Expand Down
1 change: 1 addition & 0 deletions Havit.Blazor.Documentation/Pages/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@layout HomeLayout

<PageTitle>HAVIT Blazor | Free Bootstrap 5 components for Blazor</PageTitle>
<PageCanonicalUrl RelativeUrl="/" />

<div class="hero py-3">
<div class="container">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@layout HomeLayout

<PageTitle>Access Premium Content | HAVIT Blazor Bootstrap - Free components for ASP.NET Core Blazor</PageTitle>
<PageCanonicalUrl RelativeUrl="/premium/access-content" />

<HeadContent>
@GenerateHeadContent()
Expand Down
1 change: 1 addition & 0 deletions Havit.Blazor.Documentation/Pages/Premium/GetPremium.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@layout HomeLayout

<PageTitle>Get Premium | HAVIT Blazor Bootstrap - Free components for ASP.NET Core Blazor</PageTitle>
<PageCanonicalUrl RelativeUrl="/premium" />

<div class="container-fluid">
<div style="height: 400px;" class="hero d-flex flex-column align-items-center justify-content-center">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@layout HomeLayout

<PageTitle>Welcome to Premium | HAVIT Blazor Bootstrap - Free components for ASP.NET Core Blazor</PageTitle>
<PageCanonicalUrl RelativeUrl="/premium/welcome" />

<div class="hero">
<div class="container-fluid">
Expand Down
Loading

0 comments on commit bda7ad2

Please sign in to comment.