@page "/info" @using cwebplusApp.Shared.Services; @using System; @using System.Reflection; @inject NavigationManager NavigationManager; @inject IStringLocalizer i18n @inject PageHistoryManager PageHistoryManager @inject IJSRuntime JSRuntime;

@i18n["Abouttext"]

@i18n["Learnmore"]
@i18n["App.version", @version]
@i18n["DevelopedBy"]
Platz 10, Business Village Luzern
CH-6039 Root D4
@code { private string version; protected override void OnInitialized() { base.OnInitialized(); PageHistoryManager.AddPageToHistory(NavigationManager.Uri); version = Assembly.GetExecutingAssembly().GetCustomAttribute().InformationalVersion; } private async void ShowCaritasWebpage() { await JSRuntime.InvokeAsync("open", $"https://www.caritas.ch", "_blank", "noopener"); } //private string GetAppVersion() { // return i18n.GetString("App.version", new object[] { version }); //} }