Use static assets from S3 bucket

This replaces all asset links to use the new public S3 bucket. It also
upgrades several packages:

- Simple Icons v10.2.0 to v13.9.0
- Tabler Icons v3.0.0/v2.47.0 to v3.14.0
- Monaspace v1.000 to v1.101
This commit is contained in:
Foster Hangdaan 2024-09-08 11:12:53 -04:00
parent b46bd1961f
commit 2dbc943aa1
Signed by: foster
GPG key ID: E48D7F49A852F112
4 changed files with 19 additions and 19 deletions

View file

@ -31,7 +31,7 @@ deno task deploy
* License * License
#+attr_html: :width 200px #+attr_html: :width 200px
[[https://static.fosterhangdaan.com/images/agplv3-logo.svg]] [[https://minio.fosterhangdaan.com/public/images/logos/licenses/agplv3.svg]]
This program is free software: you can redistribute it and/or modify This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as it under the terms of the GNU Affero General Public License as

View file

@ -7,7 +7,7 @@ const crypto = [
{ {
name: "Monero", name: "Monero",
icon: icon:
"https://static.fosterhangdaan.com/icons/simple-icons/v10.2.0/monero.svg", "https://minio.fosterhangdaan.com/public/images/icons/simple-icons/13.9.0/monero.svg",
qrcode: "images/xmr-address.svg", qrcode: "images/xmr-address.svg",
address: address:
"47fQTNLjXUPPmjcB4eU3kuSwyHkpioms77XUjdCKMKPs6jwNNEfFpEYZM4sZi9NwZHHeJD3prgLTC66E2skbvzTm1jiXb1R", "47fQTNLjXUPPmjcB4eU3kuSwyHkpioms77XUjdCKMKPs6jwNNEfFpEYZM4sZi9NwZHHeJD3prgLTC66E2skbvzTm1jiXb1R",
@ -16,7 +16,7 @@ const crypto = [
{ {
name: "Bitcoin", name: "Bitcoin",
icon: icon:
"https://static.fosterhangdaan.com/icons/simple-icons/v10.2.0/bitcoin.svg", "https://minio.fosterhangdaan.com/public/images/icons/simple-icons/13.9.0/bitcoin.svg",
qrcode: "images/btc-address.svg", qrcode: "images/btc-address.svg",
address: "bc1q3w9e0zm9ez24c8hhhfyamgchfvf9x85ean5wqr", address: "bc1q3w9e0zm9ez24c8hhhfyamgchfvf9x85ean5wqr",
}, },
@ -42,7 +42,7 @@ export default function Home(data: Lume.Data, _helpers: Lume.Helpers) {
<summary> <summary>
<img <img
class="icon" class="icon"
src="https://static.fosterhangdaan.com/icons/tabler-icons/v3.0.0/svg/outline/wallet.svg" src="https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/wallet.svg"
/> />
<span>OpenAlias</span> <span>OpenAlias</span>
</summary> </summary>

View file

@ -1,8 +1,8 @@
@font-face { @font-face {
font-family: 'Mona Sans'; font-family: 'Mona Sans';
src: src:
url('https://static.fosterhangdaan.com/fonts/mona-sans/latest/MonaSans%5Bslnt,wdth,wght%5D.woff2') format('woff2 supports variations'), url('https://minio.fosterhangdaan.com/public/fonts/mona-sans/1.0.1/MonaSans%5Bslnt,wdth,wght%5D.woff2') format('woff2 supports variations'),
url('https://static.fosterhangdaan.com/fonts/mona-sans/latest/MonaSans%5Bslnt,wdth,wght%5D.woff2') format('woff2-variations'); url('https://minio.fosterhangdaan.com/public/fonts/mona-sans/1.0.1/MonaSans%5Bslnt,wdth,wght%5D.woff2') format('woff2-variations');
font-weight: 200 900; font-weight: 200 900;
font-stretch: 75% 125%; font-stretch: 75% 125%;
font-display: swap; font-display: swap;
@ -11,8 +11,8 @@ @font-face {
@font-face { @font-face {
font-family: 'Hubot Sans'; font-family: 'Hubot Sans';
src: src:
url('https://static.fosterhangdaan.com/fonts/hubot-sans/latest/HubotSans%5Bslnt,wdth,wght%5D.woff2') format('woff2 supports variations'), url('https://minio.fosterhangdaan.com/public/fonts/hubot-sans/1.0.1/HubotSans%5Bslnt,wdth,wght%5D.woff2') format('woff2 supports variations'),
url('https://static.fosterhangdaan.com/fonts/hubot-sans/latest/HubotSans%5Bslnt,wdth,wght%5D.woff2') format('woff2-variations'); url('https://minio.fosterhangdaan.com/public/fonts/hubot-sans/1.0.1/HubotSans%5Bslnt,wdth,wght%5D.woff2') format('woff2-variations');
font-weight: 200 900; font-weight: 200 900;
font-stretch: 75% 125%; font-stretch: 75% 125%;
font-display: swap; font-display: swap;
@ -21,8 +21,8 @@ @font-face {
@font-face { @font-face {
font-family: 'Monaspace Neon'; font-family: 'Monaspace Neon';
src: src:
url('https://static.fosterhangdaan.com/fonts/monaspace/v1.000/MonaspaceNeonVarVF%5Bwght,wdth,slnt%5D.woff2') format('woff2 supports variations'), url('https://minio.fosterhangdaan.com/public/fonts/monaspace/1.101/MonaspaceNeonVarVF%5Bwght,wdth,slnt%5D.woff2') format('woff2 supports variations'),
url('https://static.fosterhangdaan.com/fonts/monaspace/v1.000/MonaspaceNeonVarVF%5Bwght,wdth,slnt%5D.woff2') format('woff2-variations'); url('https://minio.fosterhangdaan.com/public/fonts/monaspace/1.101/MonaspaceNeonVarVF%5Bwght,wdth,slnt%5D.woff2') format('woff2-variations');
font-weight: 200 800; font-weight: 200 800;
font-stretch: 100% 125%; font-stretch: 100% 125%;
font-display: swap; font-display: swap;
@ -31,8 +31,8 @@ @font-face {
@font-face { @font-face {
font-family: 'Monaspace Radon'; font-family: 'Monaspace Radon';
src: src:
url('https://static.fosterhangdaan.com/fonts/monaspace/v1.000/MonaspaceRadonVarVF%5Bwght,wdth,slnt%5D.woff2') format('woff2 supports variations'), url('https://minio.fosterhangdaan.com/public/fonts/monaspace/1.101/MonaspaceRadonVarVF%5Bwght,wdth,slnt%5D.woff2') format('woff2 supports variations'),
url('https://static.fosterhangdaan.com/fonts/monaspace/v1.000/MonaspaceRadonVarVF%5Bwght,wdth,slnt%5D.woff2') format('woff2-variations'); url('https://minio.fosterhangdaan.com/public/fonts/monaspace/1.101/MonaspaceRadonVarVF%5Bwght,wdth,slnt%5D.woff2') format('woff2-variations');
font-weight: 200 800; font-weight: 200 800;
font-stretch: 100% 125%; font-stretch: 100% 125%;
font-display: swap; font-display: swap;
@ -41,8 +41,8 @@ @font-face {
@font-face { @font-face {
font-family: 'Monaspace Xenon'; font-family: 'Monaspace Xenon';
src: src:
url('https://static.fosterhangdaan.com/fonts/monaspace/v1.000/MonaspaceXenonVarVF%5Bwght,wdth,slnt%5D.woff2') format('woff2 supports variations'), url('https://minio.fosterhangdaan.com/public/fonts/monaspace/1.101/MonaspaceXenonVarVF%5Bwght,wdth,slnt%5D.woff2') format('woff2 supports variations'),
url('https://static.fosterhangdaan.com/fonts/monaspace/v1.000/MonaspaceXenonVarVF%5Bwght,wdth,slnt%5D.woff2') format('woff2-variations'); url('https://minio.fosterhangdaan.com/public/fonts/monaspace/1.101/MonaspaceXenonVarVF%5Bwght,wdth,slnt%5D.woff2') format('woff2-variations');
font-weight: 200 800; font-weight: 200 800;
font-stretch: 100% 125%; font-stretch: 100% 125%;
font-display: swap; font-display: swap;

View file

@ -76,34 +76,34 @@ blockquote {
left: calc(-0.75rem - 1.5rem); left: calc(-0.75rem - 1.5rem);
filter: var(--filter-bg); filter: var(--filter-bg);
content: ""; content: "";
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/quote.svg"); background-image: url("https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/quote.svg");
background-repeat: no-repeat !important; background-repeat: no-repeat !important;
background-size: contain !important; background-size: contain !important;
} }
&.info { &.info {
&::before { &::before {
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/info-circle.svg"); background-image: url("https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/info-circle.svg");
} }
color: var(--color-blue); color: var(--color-blue);
border-color: var(--color-blue); border-color: var(--color-blue);
} }
&.success { &.success {
&::before { &::before {
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/check.svg"); background-image: url("https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/check.svg");
} }
color: var(--color-success); color: var(--color-success);
border-color: var(--color-success); border-color: var(--color-success);
} }
&.warning { &.warning {
&::before { &::before {
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/alert-triangle.svg"); background-image: url("https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/alert-triangle.svg");
} }
color: var(--color-warn); color: var(--color-warn);
border-color: var(--color-warn); border-color: var(--color-warn);
} }
&.danger { &.danger {
&::before { &::before {
background-image: url("https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/circle-x.svg"); background-image: url("https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/circle-x.svg");
} }
color: var(--color-error); color: var(--color-error);
border-color: var(--color-error); border-color: var(--color-error);