@page "/dashboard"
@using System.Text.RegularExpressions
@using Radzen.Blazor.Rendering
@using RadzenBlazorDemos.Models.GitHub
@using RadzenBlazorDemos.Services
@inject GitHubService GitHub

<PageTitle>Sample Blazor Dashboard | Free UI Components by Radzen</PageTitle>
<HeadContent>
    <meta name="description" content="Rich dashboard created with the Radzen Blazor Components library.">
</HeadContent>
<RadzenText TextStyle="TextStyle.H2" TagName="TagName.H1" class="rz-pt-8">
    Blazor GitHub Issues
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle1" TagName="TagName.P" class="rz-pb-4">
    A comprehensive dashboard demonstrating Radzen Blazor components working together.
</RadzenText>

<RadzenText TextStyle="TextStyle.Subtitle2" TagName="TagName.P" class="rz-pb-4">
    In this demo a <strong>GitHub Issues</strong> dashboard displays ASP.NET repository data with KPI cards showing <strong>Progress</strong>, <strong>Open Issues</strong>, and <strong>Closed Issues</strong> with sparklines, an area chart comparing trends, donut charts for <strong>Top Contributors</strong> and <strong>Top Labels</strong>, and a filterable DataGrid with state badges, labels, and user avatars.
</RadzenText>

<RadzenExample ComponentName="Dashboard" Example="Dashboard"  AdditionalSourceCodePages="@(["/demos/Services/GitHubService.cs"] )">
    <Dashboard />
</RadzenExample>