refactor(Logo): umbenannt in Img
This commit is contained in:
parent
54e3eed557
commit
1e34042f77
@ -1,6 +1,6 @@
|
||||
namespace EnvelopeGenerator.Web.Models
|
||||
{
|
||||
public class Logo
|
||||
public class Img
|
||||
{
|
||||
public string Src { get; init; } = string.Empty;
|
||||
|
||||
@ -161,7 +161,7 @@ try
|
||||
|
||||
builder.Services.AddMemoryCache();
|
||||
|
||||
builder.ConfigureBySection<Logo>();
|
||||
builder.ConfigureBySection<Img>();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
|
||||
@ -11,5 +11,5 @@
|
||||
@inject HighlightHtmlSanitizer _hlSanitizer
|
||||
@inject Microsoft.AspNetCore.Http.IHttpContextAccessor _accessor
|
||||
@inject Cultures _cultures
|
||||
@inject IOptions<Logo> _logoOpt
|
||||
@inject IOptions<Img> _logoOpt
|
||||
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
|
||||
@ -103,7 +103,7 @@
|
||||
"Platforms": [ "javascript" ]
|
||||
}
|
||||
],
|
||||
"Logo": {
|
||||
"Img": {
|
||||
"Src": "/img/digital_data.svg",
|
||||
"Classes": {
|
||||
"Show": "dd-show-logo",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user