Clients logo
This commit is contained in:
@@ -7,33 +7,26 @@
|
|||||||
@implements IDisposable
|
@implements IDisposable
|
||||||
|
|
||||||
<AuthGuard>
|
<AuthGuard>
|
||||||
<MudThemeProvider Theme="_theme"/>
|
<MudThemeProvider Theme="_theme" />
|
||||||
<MudPopoverProvider/>
|
<MudPopoverProvider />
|
||||||
<MudDialogProvider/>
|
<MudDialogProvider />
|
||||||
<MudSnackbarProvider/>
|
<MudSnackbarProvider />
|
||||||
|
|
||||||
<MudLayout>
|
<MudLayout>
|
||||||
<MudBreakpointProvider OnBreakpointChanged="OnBreakpointChanged"></MudBreakpointProvider>
|
<MudBreakpointProvider OnBreakpointChanged="OnBreakpointChanged"></MudBreakpointProvider>
|
||||||
<MudAppBar Elevation="0">
|
<MudAppBar Elevation="0">
|
||||||
<MudIconButton
|
<MudIconButton Icon="@Icons.Material.Filled.Menu" Color="Color.Inherit" Edge="Edge.Start"
|
||||||
Icon="@Icons.Material.Filled.Menu"
|
OnClick="ToggleDrawer" Class="mud-hidden-md-up" />
|
||||||
Color="Color.Inherit"
|
<MudSpacer />
|
||||||
Edge="Edge.Start"
|
|
||||||
OnClick="ToggleDrawer"
|
|
||||||
Class="mud-hidden-md-up"/>
|
|
||||||
<MudSpacer/>
|
|
||||||
<MudText Typo="Typo.h6">@AppConfig.AppName</MudText>
|
<MudText Typo="Typo.h6">@AppConfig.AppName</MudText>
|
||||||
</MudAppBar>
|
</MudAppBar>
|
||||||
|
|
||||||
<MudDrawer @bind-Open="_drawerOpen"
|
<MudDrawer @bind-Open="_drawerOpen" Anchor="Anchor.Start" Variant="@_drawerVariant" Elevation="1"
|
||||||
Anchor="Anchor.Start"
|
ClipMode="DrawerClipMode.Always" Class="mud-width-250">
|
||||||
Variant="@_drawerVariant"
|
|
||||||
Elevation="1"
|
|
||||||
ClipMode="DrawerClipMode.Always"
|
|
||||||
Class="mud-width-250">
|
|
||||||
<div class="nav-logo" style="text-align: center; padding: 20px;">
|
<div class="nav-logo" style="text-align: center; padding: 20px;">
|
||||||
<a href="https://www.diunabi.com" target="_blank">
|
<a href="https://www.diunabi.com" target="_blank">
|
||||||
<img src="_content/DiunaBI.UI.Shared/images/logo.png" alt="DiunaBI" style="max-width: 180px; height: auto;" />
|
<img src="_content/DiunaBI.UI.Shared/images/logo.png" alt="DiunaBI"
|
||||||
|
style="max-width: 180px; height: auto;" />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<MudNavMenu>
|
<MudNavMenu>
|
||||||
@@ -42,6 +35,10 @@
|
|||||||
<MudNavLink Href="/datainbox" Icon="@Icons.Material.Filled.Inbox">Data Inbox</MudNavLink>
|
<MudNavLink Href="/datainbox" Icon="@Icons.Material.Filled.Inbox">Data Inbox</MudNavLink>
|
||||||
<MudNavLink Href="/jobs" Icon="@Icons.Material.Filled.WorkHistory">Jobs</MudNavLink>
|
<MudNavLink Href="/jobs" Icon="@Icons.Material.Filled.WorkHistory">Jobs</MudNavLink>
|
||||||
</MudNavMenu>
|
</MudNavMenu>
|
||||||
|
<div class="nav-logo" style="text-align: center; padding: 20px;">
|
||||||
|
<img src="_content/DiunaBI.UI.Shared/images/clients/@AppConfig.ClientLogo" alt="DiunaBI"
|
||||||
|
style="max-width: 180px; height: auto;" />
|
||||||
|
</div>
|
||||||
</MudDrawer>
|
</MudDrawer>
|
||||||
|
|
||||||
<MudMainContent>
|
<MudMainContent>
|
||||||
|
|||||||
@@ -3,4 +3,5 @@ namespace DiunaBI.UI.Shared.Services;
|
|||||||
public class AppConfig
|
public class AppConfig
|
||||||
{
|
{
|
||||||
public string AppName { get; set; } = "DiunaBI";
|
public string AppName { get; set; } = "DiunaBI";
|
||||||
|
public string ClientLogo {get; set;} = "pedrollopl.png";
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
DiunaBI.UI.Shared/wwwroot/images/clients/morska.png
Normal file
BIN
DiunaBI.UI.Shared/wwwroot/images/clients/morska.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
BIN
DiunaBI.UI.Shared/wwwroot/images/clients/pedrollopl.png
Normal file
BIN
DiunaBI.UI.Shared/wwwroot/images/clients/pedrollopl.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
@@ -17,9 +17,6 @@ builder.Services.AddSharedServices(apiBaseUrl);
|
|||||||
|
|
||||||
// Configure App settings
|
// Configure App settings
|
||||||
var appConfig = builder.Configuration.GetSection("App").Get<AppConfig>() ?? new AppConfig();
|
var appConfig = builder.Configuration.GetSection("App").Get<AppConfig>() ?? 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.AddSingleton(appConfig);
|
||||||
|
|
||||||
builder.Services.AddScoped<IGoogleAuthService, WebGoogleAuthService>();
|
builder.Services.AddScoped<IGoogleAuthService, WebGoogleAuthService>();
|
||||||
|
|||||||
Reference in New Issue
Block a user