-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ThemeSwitcher updates * RCL - Shared components updated * Route constants added
- Loading branch information
Showing
89 changed files
with
3,681 additions
and
3,008 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 18 additions & 13 deletions
31
BlazorBootstrap.Demo.RCL/Components/Pages/AI/AIChat/AIChatDocumentation.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,26 @@ | ||
@page "/ai/open-ai-chat" | ||
@attribute [Route(pageUrl)] | ||
|
||
<PageTitle>@title</PageTitle> | ||
<PageMetaTags PageUrl="@pageUrl" | ||
Title="@metaTitle" | ||
Description="@metaDescription" | ||
ImageUrl="@imageUrl" /> | ||
|
||
<MetaTags PageUrl="@pageUrl" Title="@title" Description="@description" ImageUrl="@imageUrl" /> | ||
|
||
<h1>Blazor Open AI Chat</h1> | ||
<div class="lead mb-3">Provide contextual feedback messages for typical user actions with a handful of available and flexible alert messages.</div> | ||
<PageHero Heading="@pageTitle"> | ||
<LeadSection>@pageDescription</LeadSection> | ||
</PageHero> | ||
|
||
<CarbonAds /> | ||
|
||
<SectionHeading Size="HeadingSize.H2" Text="Examples" PageUrl="@pageUrl" HashTagName="examples" /> | ||
<div class="mb-3">Alerts are available for any length of text, as well as an optional close button. For proper styling, use one of the eight colors.</div> | ||
<Demo Type="typeof(AIChat_Demo_01_Examples)" Tabs="true" /> | ||
<Section Size="HeadingSize.H2" Name="Examples" PageUrl="@pageUrl" Link="examples"> | ||
<div class="mb-3">Alerts are available for any length of text, as well as an optional close button. For proper styling, use one of the eight colors.</div> | ||
<Demo Type="typeof(AIChat_Demo_01_Examples)" Tabs="true" /> | ||
</Section> | ||
|
||
@code{ | ||
private string pageUrl = "/ai/open-ai-chat"; | ||
private string title = "Blazor Open AI Chat Component"; | ||
private string description = "Provide contextual feedback messages for typical user actions with the handful of available and flexible Blazor Bootstrap alert messages."; // TODO: update | ||
private string imageUrl = "https://i.imgur.com/FGgEMp6.jpg"; // TODO: update | ||
private const string pageUrl = RouteConstants.Demos_AI_Chat_Documentation; | ||
private const string pageTitle = "Blazor Open AI Chat Component"; | ||
private const string pageDescription = "Provide contextual feedback messages for typical user actions with the handful of available and flexible Blazor Bootstrap alert messages."; // TODO: update | ||
private const string metaTitle = "Blazor Open AI Chat Component"; | ||
private const string metaDescription = "Provide contextual feedback messages for typical user actions with the handful of available and flexible Blazor Bootstrap alert messages."; // TODO: update | ||
private const string imageUrl = "https://i.imgur.com/FGgEMp6.jpg"; // TODO: update | ||
} |
Oops, something went wrong.