mirror of https://github.com/abpframework/abp.git
committed by
GitHub
15 changed files with 16 additions and 49 deletions
@ -1,3 +1,3 @@ |
|||||
@using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Components |
@using Volo.Abp.Ui.Branding |
||||
@inject IBrandingProvider BrandingProvider |
@inject IBrandingProvider BrandingProvider |
||||
<a class="navbar-brand" href="~/">@BrandingProvider.AppName</a> |
<a class="navbar-brand" href="~/">@BrandingProvider.AppName</a> |
||||
|
|||||
@ -1,13 +0,0 @@ |
|||||
using Volo.Abp.DependencyInjection; |
|
||||
|
|
||||
namespace Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Components |
|
||||
{ |
|
||||
public class DefaultBrandingProvider : IBrandingProvider, ITransientDependency |
|
||||
{ |
|
||||
public virtual string AppName => "MyApplication"; |
|
||||
|
|
||||
public virtual string LogoUrl => null; |
|
||||
|
|
||||
public virtual string LogoReverseUrl => null; |
|
||||
} |
|
||||
} |
|
||||
@ -1,17 +0,0 @@ |
|||||
namespace Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared.Components |
|
||||
{ |
|
||||
public interface IBrandingProvider |
|
||||
{ |
|
||||
string AppName { get; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// Logo on white background
|
|
||||
/// </summary>
|
|
||||
string LogoUrl { get; } |
|
||||
|
|
||||
/// <summary>
|
|
||||
/// Logo on dark background
|
|
||||
/// </summary>
|
|
||||
string LogoReverseUrl { get; } |
|
||||
} |
|
||||
} |
|
||||
Loading…
Reference in new issue