btcpayserver/BTCPayServer/Views/Shared/_Footer.cshtml

37 lines
2.0 KiB
Plaintext
Raw Normal View History

@using BTCPayServer.Abstractions.Extensions
@inject BTCPayServer.Services.BTCPayServerEnvironment _env
2022-01-11 18:56:30 +01:00
<footer class="btcpay-footer">
<div class="container">
2022-01-31 08:52:50 +01:00
<div class="d-flex flex-wrap flex-column justify-content-between flex-xl-row py-2">
<div class="d-flex flex-wrap justify-content-center justify-content-xl-start mb-3 mb-xl-0">
<a href="https://github.com/btcpayserver/btcpayserver" class="d-flex align-items-center m-3 m-sm-0 me-sm-4" target="_blank" rel="noreferrer noopener">
2022-01-11 18:56:30 +01:00
<vc:icon symbol="github"/>
<span style="margin-left:.4rem">Github</span>
</a>
<a href="https://chat.btcpayserver.org/" class="d-flex align-items-center m-3 m-sm-0 me-sm-4" target="_blank" rel="noreferrer noopener">
2022-01-11 18:56:30 +01:00
<vc:icon symbol="mattermost"/>
<span style="margin-left:.4rem">Mattermost</span>
</a>
<a href="https://twitter.com/BtcpayServer" class="d-flex align-items-center m-3 m-sm-0" target="_blank" rel="noreferrer noopener">
2022-01-11 18:56:30 +01:00
<vc:icon symbol="twitter"/>
<span style="margin-left:.4rem">Twitter</span>
</a>
@if (!string.IsNullOrEmpty(_env.OnionUrl) && !Context.Request.IsOnion())
{
<a href="@_env.OnionUrl" class="d-flex align-items-center m-3 m-sm-0 ms-sm-4" target="_onion" rel="noreferrer noopener" role="button" data-clipboard="@_env.OnionUrl" style="min-width:9em;">
2022-01-11 18:56:30 +01:00
<vc:icon symbol="onion"/>
<span style="margin-left:.4rem" data-clipboard-confirm="Copied URL ✔">Copy Tor URL</span>
</a>
}
</div>
@if (User.Identity.IsAuthenticated)
{
<div class="text-center">
2022-01-11 18:56:30 +01:00
@_env.ToString()
</div>
}
</div>
</div>
</footer>