Skip to content

Commit

Permalink
Remove unsupported .NET versions from the getting started.
Browse files Browse the repository at this point in the history
  • Loading branch information
akorchev committed Nov 13, 2024
1 parent f3badc0 commit 6d84baf
Showing 1 changed file with 3 additions and 43 deletions.
46 changes: 3 additions & 43 deletions RadzenBlazorDemos/Pages/GetStarted.razor
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<RadzenTabs SelectedIndex=@selectedIndex Change="@OnTabChange">
<Tabs>
<RadzenTabsItem Text=".NET 8">
<RadzenTabsItem Text=".NET 8 &amp; 9">
<div class="rz-py-0 rz-py-sm-4 rz-px-0 rz-px-sm-2 rz-px-lg-12">
<RadzenAlert AlertStyle="AlertStyle.Info" Variant="Variant.Flat" Shade="Shade.Lighter" AllowClose="false" class="rz-mb-12">
All interactive features of the Radzen Blazor components require interactivity of the container <code>.razor</code> file to be enabled or the <code>@@rendermode</code>
Expand Down Expand Up @@ -61,46 +61,6 @@ More info is available in the <RadzenLink Text="rendering mode article" Path="ht
@Next
</div>
</RadzenTabsItem>
<RadzenTabsItem Text=".NET 7 Server">
<div class="rz-p-0 rz-p-sm-2 rz-px-lg-12">
@Installation(CurrentVersion)
@Import(CurrentVersion)
@IncludeTheme(("_Host.cshtml", "ServerPrerendered", CurrentVersion))
@IncludeJavaScript(("_Host.cshtml", CurrentVersion))
@UseComponent(CurrentVersion)
@Additional(CurrentVersion)
</div>
</RadzenTabsItem>
<RadzenTabsItem Text=".NET 7 WebAssembly (hosted)">
<div class="rz-p-0 rz-p-sm-2 rz-px-lg-12">
@Installation(CurrentVersion)
@Import(CurrentVersion)
@IncludeTheme(("_Host.cshtml", "WebAssemblyPrerendered", CurrentVersion))
@IncludeJavaScript(("_Host.cshtml", CurrentVersion))
@UseComponent(CurrentVersion)
@Additional(CurrentVersion)
</div>
</RadzenTabsItem>
<RadzenTabsItem Text=".NET 6 Server">
<div class="rz-p-0 rz-p-sm-2 rz-px-lg-12">
@Installation(CurrentVersion)
@Import(CurrentVersion)
@IncludeTheme(("_Layout.cshtml", "ServerPrerendered", CurrentVersion))
@IncludeJavaScript(("_Layout.cshtml", CurrentVersion))
@UseComponent(CurrentVersion)
@Additional(CurrentVersion)
</div>
</RadzenTabsItem>
<RadzenTabsItem Text=".NET 6 WebAssembly (hosted)">
<div class="rz-p-0 rz-p-sm-2 rz-px-lg-12">
@Installation(CurrentVersion)
@Import(CurrentVersion)
@IncludeTheme(("_Layout.cshtml", "WebAssemblyPrerendered", CurrentVersion))
@IncludeJavaScript(("_Layout.cshtml", CurrentVersion))
@UseComponent(CurrentVersion)
@Additional(CurrentVersion)
</div>
</RadzenTabsItem>
<RadzenTabsItem Text="WebAssembly (standalone)">
<div class="rz-p-0 rz-p-sm-2 rz-px-lg-12">
@Installation(CurrentVersion)
Expand Down Expand Up @@ -150,14 +110,14 @@ More info is available in the <RadzenLink Text="rendering mode article" Path="ht
</RadzenTabs>

@code {
private static readonly string[] versions = ["net8", "net7-server", "net7-wasm", "net6-server", "net6-wasm", "wasm", "csp"];
private static readonly string[] versions = ["net9", "wasm", "csp"];

private int selectedIndex = 0;

[Parameter]
public string Version { get; set; }

private string CurrentVersion => Version ?? "net8";
private string CurrentVersion => Version ?? "net9";

protected override void OnParametersSet()
{
Expand Down

0 comments on commit 6d84baf

Please sign in to comment.