mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
7c349b12b2
This inlines all webfonts we are using throughout the app, instead of loading them from Google Fonts. There are several benefits to this approach: - Better performance - We don't have any problems in regards to potential Google Fonts downtimes - It protects our users privacy, as they don't have to request those fonts from a third-party It sets up individual css files per font-face, so that they are easier to include and require on a per use-case basis.
29 lines
879 B
Plaintext
29 lines
879 B
Plaintext
@{
|
|
Layout = null;
|
|
}
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>BTCPay Server Greenfield API</title>
|
|
<!-- needed for adaptive design -->
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link href="~/main/fonts/Roboto.css" rel="stylesheet" asp-append-version="true">
|
|
<link href="~/main/fonts/Montserrat.css" rel="stylesheet" asp-append-version="true">
|
|
|
|
<!--
|
|
ReDoc doesn't change outer page styles
|
|
-->
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<redoc spec-url="@Url.ActionLink("Swagger")"></redoc>
|
|
<script src="https://cdn.jsdelivr.net/npm/redoc@2.0.0-rc.24/bundles/redoc.standalone.js" integrity="sha384-ZO+OTQZMsYIcoraCBa8iJW/5b2O8K1ujHmRfOwSvpVBlHUeKq5t3/kh1p8JQJ99X" crossorigin="anonymous"></script>
|
|
</body>
|
|
</html>
|