User experience improvements
This commit is contained in:
12
Oqtane.Client/Themes/Controls/Theme/Logo.razor
Normal file
12
Oqtane.Client/Themes/Controls/Theme/Logo.razor
Normal file
@ -0,0 +1,12 @@
|
||||
@namespace Oqtane.Themes.Controls
|
||||
@inherits ThemeControlBase
|
||||
|
||||
@if (PageState.Site.LogoFileId != null)
|
||||
{
|
||||
<span class="app-logo">
|
||||
<a href="@PageState.Alias.Path">
|
||||
<img class="img-fluid" src="@ContentUrl(PageState.Site.LogoFileId.Value)" alt="@PageState.Site.Name" />
|
||||
</a>
|
||||
</span>
|
||||
}
|
||||
|
Reference in New Issue
Block a user