Skip to content

Commit

Permalink
Deploy to GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Oct 15, 2023
0 parents commit ee0283f
Show file tree
Hide file tree
Showing 397 changed files with 10,903 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
112 changes: 112 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>BUTR.CrashReportViewer</title>
<base href="/BUTR.Site.NexusMods/" />
<link rel="icon" type="image/svg+xml" href="favicon.svg">

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.3/css/bootstrap.min.css" integrity="sha512-GQGU0fMMi238uA+a/bdWJfpUGKUkBdgfFdgBm72SUQ6BeyWjoY/ton0tEjH+OSH9iP4Dfh+7HM0I9f5eR0L/4w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/cookieconsent.css" integrity="sha256-LO7u2UQLQZYZwftu3mP+YM/VfUZES3Ob0daqb5yz2rE=" crossorigin="anonymous">

<link href="_content/Blazorise/blazorise.css" rel="stylesheet" />
<link href="_content/Blazorise.Bootstrap5/blazorise.bootstrap5.css" rel="stylesheet" />
<link href="_content/Blazorise.Snackbar/blazorise.snackbar.css" rel="stylesheet" />
<link href="_content/Blazorise.TreeView/blazorise.treeview.css" rel="stylesheet" />

<link rel="stylesheet" href="css/app.css" />
<link rel="stylesheet" href="BUTR.Site.NexusMods.Client.styles.css" />
</head>
<body>
<div id="app">
<div class="loader-outer">
<div class="loader-middle">
<div class="loader-inner">
<h2>Loading...</h2>
<div class="progress mt-2" style="height: 2em;">
<div id="progressbar" class="progress-bar progress-bar-striped progress-bar-animated" style="width: 10%; background-color: #204066;"></div>
</div>
<div>
<span id="progressLabel" class="text-muted">Downloading file list</span>
</div>
</div>
</div>
</div>
</div>
<div id="blazor-error-ui">
An unhandled error has occurred.
<a href="" class="reload">Reload</a>
<a class="dismiss">🗙</a>
</div>

<script src="js/before-blazor.js"></script>
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
<script type="module">
import { BrotliDecode } from './js/decode.min.js';
let loadedCount = 0;
let totalCount = 0;
Blazor.start({
loadBootResource: function (type, name, defaultUri, integrity) {
if (type === 'dotnetjs') {
return defaultUri;
}

const withoutCompression = location.hostname === 'localhost';

totalCount++;

return (async function () {
if (name === "blazor.boot.json" || (name.startsWith("appsettings") && name.endsWith(".json"))){
return await fetch(defaultUri, {cache: 'no-cache'});
}

let response = await fetch(withoutCompression ? defaultUri : `${defaultUri}.br`, { cache: 'no-cache' });
if (!response.ok) {
throw new Error(response.statusText);
}

if (!withoutCompression) {
const originalResponseBuffer = await response.arrayBuffer();
const originalResponseArray = new Int8Array(originalResponseBuffer);
const decompressedResponseArray = BrotliDecode(originalResponseArray);
const contentType = type === 'dotnetwasm' ? 'application/wasm' : 'application/octet-stream';
response = new Response(decompressedResponseArray, {headers: {'content-type': contentType } });
}

loadedCount++;
const percentLoaded = 10 + (loadedCount * 90.0) / totalCount;
const progressbar = document.getElementById('progressbar');
progressbar.style.width = `${percentLoaded}%`;
const progressLabel = document.getElementById('progressLabel');
progressLabel.innerText = `Downloading ${loadedCount}/${totalCount}: ${name}`;

return response;
})();
}
});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.1.1/js/bootstrap.bundle.min.js" integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.7.1/chart.min.js" integrity="sha512-QSkVNOCYLtj73J4hbmVoOV6KVZuMluZlioC+trLpewV8qMjsWqlIQvkn1KGX2StWvPMdWGBqim1xlC8krl1EKQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<!-- Since GitHub doesn't provide any way to get simple metrics from Pages, we use Yandex. -->
<!-- Metrics are public. You can see if via the link below. -->
<!-- https://metrica.yandex.com/dashboard?id=87711623 -->
<!-- Please create an issue on our repo if you have a better alternative! -->
<!-- https://github.com/BUTR/BUTR.Site.NexusMods -->
<script defer src="https://cdn.jsdelivr.net/gh/orestbida/[email protected]/dist/cookieconsent.min.js" integrity="sha256-H+Z1mZeulbIwdqtQq6Vgn6y6yr33+pzXlDd13s3dLh4=" crossorigin="anonymous"></script>
<script defer src="js/cookieconsent-init.js"></script>
<script type="text/plain" data-cookiecategory="metrics">
(function () {
window.ym = window.ym || function () { (window.ym.a = window.ym.a || []).push(arguments) };
window.ym.l = 1 * new Date();
const k = document.createElement("script");
const a = document.getElementsByTagName("script")[0];
k.async = 1;
k.src = "https://mc.yandex.ru/metrika/tag.js";
a.parentNode.insertBefore(k, a);
})();
ym(87711623, "init", { clickmap: false, trackLinks: true, accurateTrackBounce: false });
</script>
</body>
</html>
49 changes: 49 additions & 0 deletions BUTR.Site.NexusMods.Client.styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/* /Components/Diff.razor.rz.scp.css */
ins[b-jivarn9zam] {
text-decoration: none;
background-color: #d4fcbc;
}

del[b-jivarn9zam] {
text-decoration: none;
background-color: #fbb6c2;
color: #555;
}
/* /Components/Spinner.razor.rz.scp.css */
.loading[b-5x07ub1hz8] {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: #fff;
}

.loader[b-5x07ub1hz8] {
left: 50%;
margin-left: -4em;
font-size: 10px;
border: .8em solid rgba(218, 219, 223, 1);
border-left: .8em solid rgba(58, 166, 165, 1);
animation: spin-b-5x07ub1hz8 1.1s infinite linear;
}

.loader[b-5x07ub1hz8], .loader[b-5x07ub1hz8]:after {
border-radius: 50%;
width: 8em;
height: 8em;
display: block;
position: absolute;
top: 50%;
margin-top: -4.05em;
}

@keyframes spin-b-5x07ub1hz8 {
0% {
transform: rotate(0deg);
}

100% {
transform: rotate(360deg);
}
}
Loading

0 comments on commit ee0283f

Please sign in to comment.