Store Branding: Refactoring and logo as favicon (#5519)

* Store Branding: Refactoring and logo as favicon

- Encapsulates store branding properties into their own view model
- Uses the logo as favicon on public pages

* Refactorings

* Updates
This commit is contained in:
d11n
2023-12-01 16:13:44 +01:00
committed by GitHub
parent afed3a0899
commit 44b7ed0e6e
33 changed files with 138 additions and 140 deletions

View File

@@ -9,13 +9,11 @@ namespace BTCPayServer.Models.InvoicingModels
public class InvoiceReceiptViewModel
{
public InvoiceStatus Status { get; set; }
public StoreBrandingViewModel StoreBranding { get; set; }
public string InvoiceId { get; set; }
public string OrderId { get; set; }
public string Currency { get; set; }
public string StoreName { get; set; }
public string BrandColor { get; set; }
public string LogoFileId { get; set; }
public string CssFileId { get; set; }
public decimal Amount { get; set; }
public DateTimeOffset Timestamp { get; set; }
public Dictionary<string, object> AdditionalData { get; set; }