Skip to content

Commit 77a29f8

Browse files
committed
Update package version and logo references
- Bump package version from 0.1.0 to 0.3.0. - Change package icon to "logo.png". - Update README file reference to "..\README.md". - Modify logo file reference to "..\logo.png". - Change template identity short name to "be-bulma-server-net8". - Replace hardcoded app name with dynamic variable `@applicationName`. - Introduce new private string variable `applicationName`. - Add new logo file "logo.png" with binary data.
1 parent 8003aa1 commit 77a29f8

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

logo.png

12.6 KB
Loading

src/BlazorExpress.Bulma.Templates.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
<PropertyGroup>
44
<PackageId>BlazorExpress.Bulma.Templates</PackageId>
55
<PackageType>Template</PackageType>
6-
<PackageVersion>0.1.0</PackageVersion>
6+
<PackageVersion>0.3.0</PackageVersion>
77
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
88
<Authors>Vikram Reddy</Authors>
99
<Title>BlazorExpress Bulma Templates</Title>
1010
<Description>BlazorExpress Bulma custom templates for dotnet new.</Description>
1111

12-
<PackageIcon>128X128.png</PackageIcon>
12+
<PackageIcon>logo.png</PackageIcon>
1313
<PackageReadmeFile>README.md</PackageReadmeFile>
1414
<PackageTags>dotnet-new;templates;blazor;webassembly;blazorexpress;bulma;blazorwebassembly;server;blazorserver</PackageTags>
1515
<PackageReleaseNotes>https://github.com/BlazorExpress/BlazorExpress.Bulma.Templates/releases</PackageReleaseNotes>
@@ -31,11 +31,11 @@
3131
</ItemGroup>
3232

3333
<ItemGroup>
34-
<None Include="nuget\README.md">
34+
<None Include="..\README.md">
3535
<Pack>True</Pack>
3636
<PackagePath>\</PackagePath>
3737
</None>
38-
<None Include="images\logo\128X128.png">
38+
<None Include="..\logo.png">
3939
<Pack>True</Pack>
4040
<PackagePath>\</PackagePath>
4141
</None>

src/templates/net8/BlazorExpressBulmaServerApp/BlazorExpressBulmaServerApp/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
],
1414
"identity": "BlazorExpress.Bulma.Templates.Server.NET8",
1515
"name": "BlazorExpress Bulma - Server App (.NET 8)",
16-
"shortName": "blazorexpress-bulma-server-net8",
16+
"shortName": "be-bulma-server-net8",
1717
"tags": {
1818
"language": "C#",
1919
"type":"project"

src/templates/net8/BlazorExpressBulmaServerApp/BlazorExpressBulmaServerApp/Components/Layout/MainLayout.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<NavbarBrand>
2929
<NavbarItem Href="/" Class="title is-4">
3030
<img src="logo.png" alt="Bulma App" />
31-
<span class="ml-2 is-size-5 has-text-weight-bold">Bulma Web App</span>
31+
<span class="ml-2 is-size-5 has-text-weight-bold">@applicationName</span>
3232
</NavbarItem>
3333
</NavbarBrand>
3434
</Navbar>
@@ -55,7 +55,7 @@
5555
</BulmaLayout>
5656

5757
@code {
58+
private string applicationName = "BlazorExpressBulmaServerApp";
5859
private Menu menuRef = default!;
5960
private void ToggleSidebarSection() => @menuRef.Toggle();
6061
}
61-

0 commit comments

Comments
 (0)