Browse Source

Merge pull request #6791 from abpframework/maliming-patch-1

Update Branding.md
pull/6795/head
liangshiwei 6 years ago
committed by GitHub
parent
commit
d9d6372abd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      docs/en/UI/AspNetCore/Branding.md

10
docs/en/UI/AspNetCore/Branding.md

@ -20,13 +20,15 @@ namespace MyProject.Web
public class MyProjectBrandingProvider : DefaultBrandingProvider public class MyProjectBrandingProvider : DefaultBrandingProvider
{ {
public override string AppName => "Book Store"; public override string AppName => "Book Store";
public override string LogoUrl => "logo.png";
} }
} }
```` ````
The result will be like shown below: The result will be like shown below:
![branding-appname](../../images/branding-appname.png) ![bookstore-added-logo](../../images/bookstore-added-logo.png)
`IBrandingProvider` has the following properties: `IBrandingProvider` has the following properties:
@ -38,8 +40,4 @@ The result will be like shown below:
## Overriding the Branding Area ## Overriding the Branding Area
The [Basic Theme](Basic-Theme.md) doesn't implement the logos. However, you can see the [UI Customization Guide](Customization-User-Interface.md) to learn how you can replace the branding area with a custom view component. You can see the [UI Customization Guide](Customization-User-Interface.md) to learn how you can replace the branding area with a custom view component.
An example screenshot with an image is used in the branding area:
![bookstore-added-logo](../../images/bookstore-added-logo.png)

Loading…
Cancel
Save