add file manager

This commit is contained in:
Shaun Walker
2019-10-09 18:14:06 -04:00
parent 434720bfcd
commit 7f69f76263
11 changed files with 189 additions and 66 deletions

View File

@ -6,12 +6,11 @@
@code {
string logo = "";
protected override Task OnParametersSetAsync()
protected override void OnParametersSet()
{
if (PageState.Site.Logo != "")
{
logo = "<a href=\"" + PageState.Alias.Url + "\"><img src=\"" + PageState.Alias.SiteRootUrl + PageState.Site.Logo + "\" alt=\"" + PageState.Site.Name + "\"/></a>";
logo = "<a href=\"" + PageState.Alias.Url + "\"><img src=\"" + PageState.Alias.BaseUrl + "/" + PageState.Site.SiteRootPath + PageState.Site.Logo + "\" alt=\"" + PageState.Site.Name + "\"/></a>";
}
return Task.CompletedTask;
}
}