Skip to content

Commit

Permalink
docs: switch to Blazor Web App
Browse files Browse the repository at this point in the history
  • Loading branch information
desmondinho committed Aug 21, 2024
1 parent b6232df commit 6e897b3
Show file tree
Hide file tree
Showing 41 changed files with 594 additions and 528 deletions.
35 changes: 14 additions & 21 deletions LumexUI.sln
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LumexUI.Utilities", "src\LumexUI.Utilities\LumexUI.Utilities.csproj", "{92A1C629-AB3E-4264-B03D-407E09162902}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LumexUI.Docs", "docs\LumexUI.Docs\LumexUI.Docs.csproj", "{04BC4C88-2992-450D-BF7C-BD49BFE6CBDF}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LumexUI.Docs.Server", "docs\LumexUI.Docs.Server\LumexUI.Docs.Server.csproj", "{85A5E6D0-116C-4EAF-A9A8-7F074625C1F0}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LumexUI.Docs.Client", "docs\LumexUI.Docs.Client\LumexUI.Docs.Client.csproj", "{4F70D87A-4766-4249-9B74-0B63A987BB15}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LumexUI.Docs.Generator", "docs\LumexUI.Docs.Generator\LumexUI.Docs.Generator.csproj", "{157B8BDD-2EEF-4A69-AEA5-CAA3650CF73C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{5DBC44B8-5B92-4504-8B8F-91A1672251E6}"
Expand All @@ -28,6 +22,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{898610F1
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LumexUI.Tests", "tests\LumexUI.Tests\LumexUI.Tests.csproj", "{06E849E9-A8EA-410B-83BC-0366524C4953}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LumexUI.Docs", "docs\LumexUI.Docs\LumexUI.Docs\LumexUI.Docs.csproj", "{2A341376-2409-422C-A7A9-1AE6E86F91D9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LumexUI.Docs.Client", "docs\LumexUI.Docs\LumexUI.Docs.Client\LumexUI.Docs.Client.csproj", "{6CE81AB3-399F-44CB-9DBE-9A8D62B07C8A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -42,18 +40,6 @@ Global
{92A1C629-AB3E-4264-B03D-407E09162902}.Debug|Any CPU.Build.0 = Debug|Any CPU
{92A1C629-AB3E-4264-B03D-407E09162902}.Release|Any CPU.ActiveCfg = Release|Any CPU
{92A1C629-AB3E-4264-B03D-407E09162902}.Release|Any CPU.Build.0 = Release|Any CPU
{04BC4C88-2992-450D-BF7C-BD49BFE6CBDF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{04BC4C88-2992-450D-BF7C-BD49BFE6CBDF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{04BC4C88-2992-450D-BF7C-BD49BFE6CBDF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{04BC4C88-2992-450D-BF7C-BD49BFE6CBDF}.Release|Any CPU.Build.0 = Release|Any CPU
{85A5E6D0-116C-4EAF-A9A8-7F074625C1F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{85A5E6D0-116C-4EAF-A9A8-7F074625C1F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{85A5E6D0-116C-4EAF-A9A8-7F074625C1F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{85A5E6D0-116C-4EAF-A9A8-7F074625C1F0}.Release|Any CPU.Build.0 = Release|Any CPU
{4F70D87A-4766-4249-9B74-0B63A987BB15}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4F70D87A-4766-4249-9B74-0B63A987BB15}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4F70D87A-4766-4249-9B74-0B63A987BB15}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4F70D87A-4766-4249-9B74-0B63A987BB15}.Release|Any CPU.Build.0 = Release|Any CPU
{157B8BDD-2EEF-4A69-AEA5-CAA3650CF73C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{157B8BDD-2EEF-4A69-AEA5-CAA3650CF73C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{157B8BDD-2EEF-4A69-AEA5-CAA3650CF73C}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -62,18 +48,25 @@ Global
{06E849E9-A8EA-410B-83BC-0366524C4953}.Debug|Any CPU.Build.0 = Debug|Any CPU
{06E849E9-A8EA-410B-83BC-0366524C4953}.Release|Any CPU.ActiveCfg = Release|Any CPU
{06E849E9-A8EA-410B-83BC-0366524C4953}.Release|Any CPU.Build.0 = Release|Any CPU
{2A341376-2409-422C-A7A9-1AE6E86F91D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2A341376-2409-422C-A7A9-1AE6E86F91D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2A341376-2409-422C-A7A9-1AE6E86F91D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2A341376-2409-422C-A7A9-1AE6E86F91D9}.Release|Any CPU.Build.0 = Release|Any CPU
{6CE81AB3-399F-44CB-9DBE-9A8D62B07C8A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6CE81AB3-399F-44CB-9DBE-9A8D62B07C8A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6CE81AB3-399F-44CB-9DBE-9A8D62B07C8A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6CE81AB3-399F-44CB-9DBE-9A8D62B07C8A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{F5DCF265-756B-4B25-AECA-15B9FF2DCB66} = {5DBC44B8-5B92-4504-8B8F-91A1672251E6}
{92A1C629-AB3E-4264-B03D-407E09162902} = {5DBC44B8-5B92-4504-8B8F-91A1672251E6}
{04BC4C88-2992-450D-BF7C-BD49BFE6CBDF} = {3F4DE3FA-2636-440C-ACCC-137BAD95BAC4}
{85A5E6D0-116C-4EAF-A9A8-7F074625C1F0} = {3F4DE3FA-2636-440C-ACCC-137BAD95BAC4}
{4F70D87A-4766-4249-9B74-0B63A987BB15} = {3F4DE3FA-2636-440C-ACCC-137BAD95BAC4}
{157B8BDD-2EEF-4A69-AEA5-CAA3650CF73C} = {3F4DE3FA-2636-440C-ACCC-137BAD95BAC4}
{06E849E9-A8EA-410B-83BC-0366524C4953} = {898610F1-A6C1-422C-84C9-C1E386957F31}
{2A341376-2409-422C-A7A9-1AE6E86F91D9} = {3F4DE3FA-2636-440C-ACCC-137BAD95BAC4}
{6CE81AB3-399F-44CB-9DBE-9A8D62B07C8A} = {3F4DE3FA-2636-440C-ACCC-137BAD95BAC4}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {1B8CD55B-BEF0-42D1-936A-BC1FB5D02CE2}
Expand Down
18 changes: 0 additions & 18 deletions docs/LumexUI.Docs.Client/LumexUI.Docs.Client.csproj

This file was deleted.

25 changes: 0 additions & 25 deletions docs/LumexUI.Docs.Client/Program.cs

This file was deleted.

30 changes: 0 additions & 30 deletions docs/LumexUI.Docs.Client/Properties/launchSettings.json

This file was deleted.

6 changes: 0 additions & 6 deletions docs/LumexUI.Docs.Client/wwwroot/index.html

This file was deleted.

28 changes: 0 additions & 28 deletions docs/LumexUI.Docs.Server/LumexUI.Docs.Server.csproj

This file was deleted.

14 changes: 0 additions & 14 deletions docs/LumexUI.Docs.Server/Pages/Index.cshtml

This file was deleted.

8 changes: 0 additions & 8 deletions docs/LumexUI.Docs.Server/Pages/_ServerHost.cshtml

This file was deleted.

30 changes: 0 additions & 30 deletions docs/LumexUI.Docs.Server/Pages/_ServerLayout.cshtml

This file was deleted.

25 changes: 0 additions & 25 deletions docs/LumexUI.Docs.Server/Pages/_WebAssemblyHost.cshtml

This file was deleted.

70 changes: 0 additions & 70 deletions docs/LumexUI.Docs.Server/Program.cs

This file was deleted.

14 changes: 0 additions & 14 deletions docs/LumexUI.Docs/App.razor

This file was deleted.

15 changes: 15 additions & 0 deletions docs/LumexUI.Docs/LumexUI.Docs.Client/LumexUI.Docs.Client.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<NoDefaultLaunchSettingsFile>true</NoDefaultLaunchSettingsFile>
<StaticWebAssetProjectMode>Default</StaticWebAssetProjectMode>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.8" />
</ItemGroup>

</Project>
19 changes: 19 additions & 0 deletions docs/LumexUI.Docs/LumexUI.Docs.Client/Pages/Counter.razor
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@page "/counter"
@rendermode InteractiveAuto

<PageTitle>Counter</PageTitle>

<h1>Counter</h1>

<p role="status">Current count: @currentCount</p>

<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>

@code {
private int currentCount = 0;

private void IncrementCount()
{
currentCount++;
}
}
Loading

0 comments on commit 6e897b3

Please sign in to comment.