Skip to content

Commit d89f00f

Browse files
committed
example
1 parent 0a0bc01 commit d89f00f

File tree

2 files changed

+10
-46
lines changed

2 files changed

+10
-46
lines changed

v2/rscg_examples/BlazorOcticons/src/BlazorDemo/BlazorDemo.csproj

Lines changed: 10 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -13,53 +13,27 @@
1313

1414

1515

16-
<ItemGroup>
17-
<PackageReference Include="BlazorOcticons" Version="1.2.0" />
18-
<PackageReference Include="BlazorOcticonsGenerator" Version="1.2.0">
19-
</PackageReference>
20-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.1" />
21-
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.1" PrivateAssets="all" />
22-
</ItemGroup>
23-
24-
25-
<PropertyGroup>
26-
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
27-
<CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath>
28-
</PropertyGroup>
29-
</Project>
30-
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
31-
32-
<PropertyGroup>
33-
<TargetFramework>net10.0</TargetFramework>
34-
<Nullable>enable</Nullable>
35-
<ImplicitUsings>enable</ImplicitUsings>
36-
<OverrideHtmlAssetPlaceholders>true</OverrideHtmlAssetPlaceholders>
37-
</PropertyGroup>
38-
39-
<ItemGroup>
40-
<AdditionalFiles Include="andrei-16.svg" />
41-
</ItemGroup>
42-
43-
44-
4516
<ItemGroup>
4617
<PackageReference Include="BlazorOcticons" Version="1.3.0" />
4718
<PackageReference Include="BlazorOcticonsGenerator" Version="1.3.0">
48-
<PrivateAssets>all</PrivateAssets>
49-
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5019
</PackageReference>
5120
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="10.0.1" />
5221
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="10.0.1" PrivateAssets="all" />
5322
</ItemGroup>
23+
<!-- Use only local test icons -->
24+
<ItemGroup>
25+
<AdditionalFiles Remove="$(BlazorOcticonsIconsPath)**\*.svg" />
26+
</ItemGroup>
27+
<ItemGroup>
28+
<Folder Include="Octicons\" />
29+
</ItemGroup>
5430

55-
<!-- Use only local test icons -->
56-
<ItemGroup>
57-
<AdditionalFiles Remove="$(BlazorOcticonsIconsPath)**\*.svg" />
58-
</ItemGroup>
59-
6031

6132
<PropertyGroup>
6233
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
6334
<CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath>
6435
</PropertyGroup>
6536
</Project>
37+
38+
39+

v2/rscg_examples/BlazorOcticons/src/BlazorDemo/Pages/Home.razor

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,5 @@
77
Welcome to your new app.
88
Here is the GitHub icon in purple, size 48:
99
More icons are available at <a href="https://blazorocticons.net/" target="_blank">https://blazorocticons.net/</a>
10-
<MarkGithub16 Color="#702AF7" Size="48" />@page "/"
11-
12-
<PageTitle>Home</PageTitle>
13-
14-
<h1>Hello, world!</h1>
15-
16-
Welcome to your new app.
17-
Here is the GitHub icon in purple, size 48:
18-
More icons are available at <a href="https://blazorocticons.net/" target="_blank">https://blazorocticons.net/</a>
19-
<MarkGithub16 Color="#702AF7" Size="48" />
2010

2111
<BlazorDemo.Octicons.Andrei16 Size="48" />

0 commit comments

Comments
 (0)