btcpayserver/BTCPayServer/Views/Shared/_StoreHeader.cshtml
d11n 4c303d358b
Branding updates for 2.0 (#5947)
* Remove deprecated CSS options

Closes #5945.

* Greenfield: Add brandColor to store APIs

Closes #5946.

* Migrate file IDs to URLs

Closes #5953.

* Greenfield: Add CSS and logo URL to store settings API

Closes #5945.

* Add migration test

* Store and Server branding can reference file's via fileid:ID

* Add PaymentSoundUrl to Store API

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2024-05-09 09:18:02 +09:00

9 lines
313 B
Text

@model (string Title, StoreBrandingViewModel StoreBranding)
<header class="store-header" v-pre>
@if (!string.IsNullOrEmpty(Model.StoreBranding.LogoUrl))
{
<img src="@Model.StoreBranding.LogoUrl" alt="@Model.Title" class="store-logo"/>
}
<h1 class="store-name">@Model.Title</h1>
</header>