diff --git a/DiunaBI.UI.Shared/Components/Layout/MainLayout.razor b/DiunaBI.UI.Shared/Components/Layout/MainLayout.razor index 64df459..e8faf29 100644 --- a/DiunaBI.UI.Shared/Components/Layout/MainLayout.razor +++ b/DiunaBI.UI.Shared/Components/Layout/MainLayout.razor @@ -7,33 +7,26 @@ @implements IDisposable - - - - + + + + - - + + @AppConfig.AppName - + @@ -42,6 +35,10 @@ Data Inbox Jobs + diff --git a/DiunaBI.UI.Shared/Services/AppConfig.cs b/DiunaBI.UI.Shared/Services/AppConfig.cs index 338bb01..0df19c4 100644 --- a/DiunaBI.UI.Shared/Services/AppConfig.cs +++ b/DiunaBI.UI.Shared/Services/AppConfig.cs @@ -3,4 +3,5 @@ namespace DiunaBI.UI.Shared.Services; public class AppConfig { public string AppName { get; set; } = "DiunaBI"; + public string ClientLogo {get; set;} = "pedrollopl.png"; } diff --git a/DiunaBI.UI.Shared/wwwroot/images/clients/morska.png b/DiunaBI.UI.Shared/wwwroot/images/clients/morska.png new file mode 100644 index 0000000..156e545 Binary files /dev/null and b/DiunaBI.UI.Shared/wwwroot/images/clients/morska.png differ diff --git a/DiunaBI.UI.Shared/wwwroot/images/clients/pedrollopl.png b/DiunaBI.UI.Shared/wwwroot/images/clients/pedrollopl.png new file mode 100644 index 0000000..10f19c2 Binary files /dev/null and b/DiunaBI.UI.Shared/wwwroot/images/clients/pedrollopl.png differ diff --git a/DiunaBI.UI.Web/Program.cs b/DiunaBI.UI.Web/Program.cs index fe88ba2..6703576 100644 --- a/DiunaBI.UI.Web/Program.cs +++ b/DiunaBI.UI.Web/Program.cs @@ -17,9 +17,6 @@ builder.Services.AddSharedServices(apiBaseUrl); // Configure App settings var appConfig = builder.Configuration.GetSection("App").Get() ?? new AppConfig(); -Console.WriteLine($"[DEBUG] AppConfig.AppName from config: {appConfig.AppName}"); -Console.WriteLine($"[DEBUG] App:AppName from Configuration: {builder.Configuration["App:AppName"]}"); -Console.WriteLine($"[DEBUG] App__AppName env var: {Environment.GetEnvironmentVariable("App__AppName")}"); builder.Services.AddSingleton(appConfig); builder.Services.AddScoped();