File tree 2 files changed +12
-4
lines changed
StoicDreams.BlazorUI/Components/Displays
StoicDreams.SampleWebsite/Pages
2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 20
20
<MudSpacer />
21
21
<span >
22
22
<span >Powered by</span >
23
- <BUILink Href =" https://blazorui.stoicdreams.com" >Blazor UI</BUILink >
23
+ <BUILink Href =" https://blazorui.stoicdreams.com" Title = " @LinkTitle " >Blazor UI</BUILink >
24
24
</span >
25
25
</BUIPaper >
26
26
27
27
@code {
28
- private short CurrentYear => Convert .ToInt16 (DateTime .UtcNow .Year );
29
- private MarkupString CopyrightYears => new MarkupString ($" {(AppOptions .CopyrightStart < CurrentYear ? $" {AppOptions .CopyrightStart }-{CurrentYear }" : AppOptions .CopyrightStart .ToString ())}" );
28
+ private short CurrentYear => Convert .ToInt16 (DateTime .UtcNow .Year );
29
+ private MarkupString CopyrightYears => new MarkupString ($" {(AppOptions .CopyrightStart < CurrentYear ? $" {AppOptions .CopyrightStart }-{CurrentYear }" : AppOptions .CopyrightStart .ToString ())}" );
30
+ private string LinkTitle => $" Blazor UI version {FrameworkVersion }" ;
31
+ private static readonly string FrameworkVersion = TrimVersion (typeof (BUIApp ).Assembly .GetName ()? .Version ? .ToString () ?? " " );
32
+ private static string TrimVersion (string version )
33
+ {
34
+ string [] segments = version .Split ('.' );
35
+ if (segments .Length <= 3 ) { return version ; }
36
+ return string .Join ('.' , segments [0 .. 3 ]);
37
+ }
30
38
}
Original file line number Diff line number Diff line change 23
23
24
24
<BUIStandardSection Title =" Current State of Development" >
25
25
<BUIParagraph >
26
- All work on Blazor UI has been abandoned. At this time, we have no plans of doing any further updates.
26
+ All work on Blazor UI has been abandoned. At this time, we have no plans on doing any further updates.
27
27
</BUIParagraph >
28
28
</BUIStandardSection >
29
29
You can’t perform that action at this time.
0 commit comments