mirror of https://github.com/abpframework/abp.git
4 changed files with 42 additions and 3 deletions
@ -0,0 +1,13 @@ |
|||||
|
using Volo.Abp.DependencyInjection; |
||||
|
|
||||
|
namespace Volo.Abp.Ui.Branding |
||||
|
{ |
||||
|
public class DefaultBrandingProvider : IBrandingProvider, ITransientDependency |
||||
|
{ |
||||
|
public virtual string AppName => "MyApplication"; |
||||
|
|
||||
|
public virtual string LogoUrl => null; |
||||
|
|
||||
|
public virtual string LogoReverseUrl => null; |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,17 @@ |
|||||
|
namespace Volo.Abp.Ui.Branding |
||||
|
{ |
||||
|
public interface IBrandingProvider |
||||
|
{ |
||||
|
string AppName { get; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Logo on white background
|
||||
|
/// </summary>
|
||||
|
string LogoUrl { get; } |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Logo on dark background
|
||||
|
/// </summary>
|
||||
|
string LogoReverseUrl { get; } |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,9 @@ |
|||||
|
using Volo.Abp.Ui.Branding; |
||||
|
|
||||
|
namespace MyCompanyName.MyProjectName.Blazor |
||||
|
{ |
||||
|
public class BrandingProvider : DefaultBrandingProvider |
||||
|
{ |
||||
|
public override string AppName => "MyProjectName"; |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue