Skip to content

Commit

Permalink
deploy: 2e8bc18
Browse files Browse the repository at this point in the history
  • Loading branch information
amis92 committed Dec 25, 2023
0 parents commit b9b0a6a
Show file tree
Hide file tree
Showing 313 changed files with 4,555 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* -text
Empty file added .nojekyll
Empty file.
55 changes: 55 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Project Phalanx</title>
<base href="https://www.phalanx.tools" />
<link href="css/app.css" rel="stylesheet" />
<link href="Phalanx.App.styles.css" rel="stylesheet" />
<!-- turned off PWA for now to prevent cache issues - reenable when ready -->
<!-- <link href="manifest.json" rel="manifest" /> -->
<link rel="icon" type="image/svg" href="phalanx-favicon.svg" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@200&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
</head>

<body>
<div id="app">
<svg class="loading-progress">
<circle r="40%" cx="50%" cy="50%" />
<circle r="40%" cx="50%" cy="50%" />
</svg>
<div class="loading-progress-text"></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="_framework/blazor.webassembly.js" autostart="false"></script>
<!-- turned off PWA for now to prevent cache issues - reenable when ready -->
<!-- <script>navigator.serviceWorker.register('service-worker.js');</script> -->

<script type="text/javascript">
// https://learn.microsoft.com/en-us/aspnet/core/blazor/file-downloads?view=aspnetcore-8.0#download-from-a-stream
window.saveAsFile = async (filename, contentStreamReference) => {
const arrayBuffer = await contentStreamReference.arrayBuffer();
const blob = new Blob([arrayBuffer]);
const url = URL.createObjectURL(blob);
var link = document.createElement('a');
link.download = filename ?? '';
link.href = url;
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
}
</script>
<script src="brotliloader.min.js" type="module"></script>
</body>

</html>
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
www.phalanx.tools
202 changes: 202 additions & 0 deletions Phalanx.App.styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.bundle.scp.css';

/* /Pages/DataManagement.razor.rz.scp.css */
h1[b-5yyf4qktoz] {
display: block;
}

.control-container[b-5yyf4qktoz] {
margin-top: 2em;
margin-bottom: 1em;
}

.data-gallery[b-5yyf4qktoz] {
margin-top: 1em;
}
/* /Pages/Home/WelcomeView.razor.rz.scp.css */
h1[b-l1hrwtab49] {
text-align: center;
}
/* /Pages/Management/GalleryItem.razor.rz.scp.css */
.gallery-item[b-6569xl1p2b] {
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 120px;
padding: 0.2em 0.4em;
margin-top: 0.5em;
margin-bottom: 0.5em;
}

.game-system-title[b-6569xl1p2b] {
font-size: 1.2em;
display: block;
margin: 0;
padding: 0;
}

.remote-version[b-6569xl1p2b] {
font-size: 1em;
display: block;
margin-top: 0.4em;
}

.remote-version-release-date[b-6569xl1p2b], .local-version[b-6569xl1p2b] {
font-style: italic;
font-size: 0.8em;
display: block;
}

.game-system-info-container[b-6569xl1p2b], .gallery-item-button-container[b-6569xl1p2b] {
margin-top: 0.6em;
margin-bottom: 0.6em;
}

.gallery-item-button-container[b-6569xl1p2b] {
display: flex;
flex-wrap: wrap;
}
/* /Pages/Printing/RosterPreviewer.razor.rz.scp.css */
.html-renderer[b-5121wdtpgw] {
/* TODO white background until we can adjust styling */
background-color: white;
min-height: 50vh;
width: 100%;
}
/* /Pages/RosterPrinter.razor.rz.scp.css */
.output-tabs[b-lytpo4k6s3] {
flex: auto;
}

.output-tabs fluent-tab-panel[b-lytpo4k6s3] {
height: 100%;
}

.output-tabs fluent-tab-panel>*[b-lytpo4k6s3] {
height: 100%;
width: 100%;
}

.card-container[b-lytpo4k6s3] {
display: flex;
flex-direction: column;
gap: 20px;
}

@media only screen and (min-width: 1024px) {
.card-container[b-lytpo4k6s3] {
flex-direction: row;
}
}
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-p2hy1cp0r6] {
position: relative;
display: flex;
flex-direction: column;
min-height: 100vh;
}

main[b-p2hy1cp0r6] {
flex: 1;
}

article[b-p2hy1cp0r6] {
padding: 0 1.5rem;
}

footer[b-p2hy1cp0r6] {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 1rem 2rem;
gap: 1rem;
}

@media only screen and (min-width: 640px) {
footer[b-p2hy1cp0r6] {
flex-direction: row;
}
}

.sidebar[b-p2hy1cp0r6] {
background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-p2hy1cp0r6] {
justify-content: flex-end;
height: 3.5rem;
display: flex;
align-items: center;
}

@media (min-width: 641px) {
.top-row[b-p2hy1cp0r6] {
position: sticky;
top: 0;
z-index: 1;
}
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-0ro0dfnwef] {
background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-0ro0dfnwef] {
height: 3.5rem;
background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-0ro0dfnwef] {
font-size: 1.1rem;
}

.oi[b-0ro0dfnwef] {
width: 2rem;
font-size: 1.1rem;
vertical-align: text-top;
top: -2px;
}

.nav-item[b-0ro0dfnwef] {
font-size: 0.9rem;
padding-bottom: 0.5rem;
}

.nav-item:first-of-type[b-0ro0dfnwef] {
padding-top: 1rem;
}

.nav-item:last-of-type[b-0ro0dfnwef] {
padding-bottom: 1rem;
}

.nav-item[b-0ro0dfnwef] a {
color: #d7d7d7;
border-radius: 4px;
height: 3rem;
display: flex;
align-items: center;
line-height: 3rem;
}

.nav-item[b-0ro0dfnwef] a.active {
background-color: rgba(255,255,255,0.25);
color: white;
}

.nav-item[b-0ro0dfnwef] a:hover {
background-color: rgba(255,255,255,0.1);
color: white;
}

@media (min-width: 641px) {
.navbar-toggler[b-0ro0dfnwef] {
display: none;
}

.collapse[b-0ro0dfnwef] {
/* Never collapse the sidebar for wide screens */
display: block;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export function scrollIntoView(elementId) {
// This function is called from the AnchorLink component using JavaScript interop.
// It will try to find an element using the ID given to the function, and scroll that
// element into view, if an element is found.
var elem = document.getElementById(elementId);
if (elem) {
elem.scrollIntoView();
window.location.hash = elementId;
}
}
Loading

0 comments on commit b9b0a6a

Please sign in to comment.