btcpayserver/BTCPayServer/Views/UIHome/Home.cshtml
d11n fc9d4f96a7
Design system and icon updates for 2.0 (#5938)
* Design system updates

* Icon fix

* Add new icons, replace show/hide

* Icon replacements

* Test fix

* Icon replacements in Vault

* More icon replacements

* Final icon replacements, remove Font Awesome
2024-05-20 08:57:46 +09:00

27 lines
1 KiB
Text

@using BTCPayServer.Services
@using Microsoft.AspNetCore.Mvc.TagHelpers
@model HomeViewModel;
@inject SettingsRepository SettingsRepository
@{
var settings = await SettingsRepository.GetSettingAsync<ServerSettings>() ?? new ServerSettings();
ViewData["Title"] = string.IsNullOrWhiteSpace(settings.ServerName) ? "BTCPay Server" : settings.ServerName;
}
<partial name="_StatusMessage" />
<h2>Welcome to @(string.IsNullOrWhiteSpace(settings.ServerName) ? "your BTCPay\u00a0Server" : settings.ServerName)</h2>
@if (!Model.HasStore)
{
<p class="lead text-secondary">To start accepting payments, set up a store.</p>
<div class="list-group mt-4" id="SetupGuide">
<a asp-controller="UIUserStores" asp-action="CreateStore" id="SetupGuide-Store" class="list-group-item list-group-item-action d-flex align-items-center">
<vc:icon symbol="wallet-new"/>
<div class="content">
<h5 class="mb-0">Create your store</h5>
</div>
<vc:icon symbol="caret-right"/>
</a>
</div>
}