Remove woff(1) assets, show something when mining pool logo is shown
All checks were successful
/ build (push) Successful in 3m35s
/ check-changes (push) Successful in 14s

This commit is contained in:
Djuri Baars 2024-12-20 15:22:59 +01:00
parent fd328d4f05
commit 551d714cce
4 changed files with 25 additions and 6 deletions

View file

@ -1,9 +1,23 @@
@use '@fontsource/ubuntu/scss/mixins' as Ubuntu;
@use '@fontsource/antonio/scss/mixins' as Antonio;
@import '../node_modules/bootstrap/scss/functions';
//@import "@fontsource/antonio/latin-400.css";
@import '@fontsource/ubuntu/latin-400.css';
//@import '@fontsource/oswald/latin-400.css';
@import '@fontsource/antonio/latin-400.css';
@include Ubuntu.faces(
$subsets: latin,
$weights: 400,
$formats: 'woff2',
$directory: '@fontsource/ubuntu/files'
);
@include Antonio.faces(
$subsets: latin,
$weights: 400,
$formats: 'woff2',
$directory: '@fontsource/antonio/files'
);
@import './satsymbol';

View file

@ -1,8 +1,6 @@
@font-face {
font-family: 'Satoshi Symbol';
src:
url('/fonts/Satoshi_Symbol.woff2') format('woff2'),
url('/fonts/Satoshi_Symbol.woff') format('woff');
src: url('/fonts/Satoshi_Symbol.woff2') format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;

View file

@ -72,6 +72,9 @@
{#if char.endsWith('bitaxe')}
<img src="/bitaxe.webp" class="bitaxelogo" alt="BitAxe logo" />
{/if}
{#if char.endsWith('miningpool')}
<span class="pool-logo">Mining Pool Logo</span>
{/if}
</div>
{:else if char === 'STS'}
<div class="digit sats">S</div>
@ -104,4 +107,8 @@
.bitaxelogo {
transform: rotate(-90deg);
}
.pool-logo {
font-size: 0.75rem;
}
</style>

Binary file not shown.