Switch to S3 bucket for static assets

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 v2.47.0 to v3.14.0
- HightightJS v11.9.0 to v11.10.0
- Monaspace v1.000 to v1.101
This commit is contained in:
Foster Hangdaan 2024-09-08 10:45:36 -04:00
parent 76c803b894
commit b7bc906545
Signed by: foster
GPG key ID: E48D7F49A852F112
9 changed files with 33 additions and 31 deletions

View file

@ -46,12 +46,14 @@ Sources for assets used in the site:
* My Contact Information * My Contact Information
- Email: [[mailto:foster@hangdaan.email][foster@hangdaan.email]] - Email: [[mailto:foster@hangdaan.email][foster@hangdaan.email]]
- GPG Public Key: [[https://static.fosterhangdaan.com/foster-pubkey.asc][DBD3 8E38 4B9E 1F4F 19F9 5BAE E48D 7F49 A852 F112]] - GPG Public Key: [[
https://minio.fosterhangdaan.com/public/foster-pubkey.asc
][DBD3 8E38 4B9E 1F4F 19F9 5BAE E48D 7F49 A852 F112]]
* 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

@ -9,7 +9,7 @@ export default function ({ comp }: Lume.Data) {
<div className="social-links"> <div className="social-links">
<a href="https://code.fosterhangdaan.com/foster" title="Forgejo"> <a href="https://code.fosterhangdaan.com/foster" title="Forgejo">
<img <img
src="https://static.fosterhangdaan.com/icons/simple-icons/v10.2.0/forgejo.svg" src="https://minio.fosterhangdaan.com/public/images/icons/simple-icons/13.9.0/forgejo.svg"
className="icon" className="icon"
style={iconStyle} style={iconStyle}
alt="forgejo" alt="forgejo"
@ -17,7 +17,7 @@ export default function ({ comp }: Lume.Data) {
</a> </a>
<a href="mailto:foster@hangdaan.email" title="eMail"> <a href="mailto:foster@hangdaan.email" title="eMail">
<img <img
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/mail-filled.svg" src="https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/filled/mail.svg"
className="icon" className="icon"
style={iconStyle} style={iconStyle}
alt="e-mail" alt="e-mail"
@ -25,7 +25,7 @@ export default function ({ comp }: Lume.Data) {
</a> </a>
<a href="https://pay.fosterhangdaan.com" title="Donate"> <a href="https://pay.fosterhangdaan.com" title="Donate">
<img <img
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/heart-dollar.svg" src="https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/heart-dollar.svg"
className="icon" className="icon"
style={iconStyle} style={iconStyle}
alt="donate" alt="donate"
@ -33,7 +33,7 @@ export default function ({ comp }: Lume.Data) {
</a> </a>
<a href="https://www.fosterhangdaan.com/blog/feed.rss" title="RSS Feed"> <a href="https://www.fosterhangdaan.com/blog/feed.rss" title="RSS Feed">
<img <img
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/rss.svg" src="https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/rss.svg"
className="icon" className="icon"
style={iconStyle} style={iconStyle}
alt="rss" alt="rss"
@ -44,7 +44,7 @@ export default function ({ comp }: Lume.Data) {
title="JSON Feed" title="JSON Feed"
> >
<img <img
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/braces.svg" src="https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/braces.svg"
className="icon" className="icon"
style={iconStyle} style={iconStyle}
alt="json feed" alt="json feed"

View file

@ -9,7 +9,7 @@ export default function () {
<li className="navbar-list-item home"> <li className="navbar-list-item home">
<a href="/" title="Home"> <a href="/" title="Home">
<img <img
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/home.svg" src="https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/home.svg"
className="icon" className="icon"
style={iconStyle} style={iconStyle}
alt="home" alt="home"
@ -19,7 +19,7 @@ export default function () {
<li className="navbar-list-item"> <li className="navbar-list-item">
<a href="/blog/" title="Blog"> <a href="/blog/" title="Blog">
<img <img
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/news.svg" src="https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/news.svg"
className="icon" className="icon"
style={iconStyle} style={iconStyle}
alt="blog" alt="blog"
@ -29,7 +29,7 @@ export default function () {
<li className="navbar-list-item"> <li className="navbar-list-item">
<a href="/resume/" title="Resume"> <a href="/resume/" title="Resume">
<img <img
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/file-cv.svg" src="https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/file-cv.svg"
className="icon" className="icon"
style={iconStyle} style={iconStyle}
alt="resume" alt="resume"
@ -39,7 +39,7 @@ export default function () {
<li className="navbar-list-item"> <li className="navbar-list-item">
<a href="/gpg-key/" title="GPG Key"> <a href="/gpg-key/" title="GPG Key">
<img <img
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/key.svg" src="https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/key.svg"
className="icon" className="icon"
style={iconStyle} style={iconStyle}
alt="gpg key" alt="gpg key"

View file

@ -4,7 +4,7 @@ export default function () {
<span className="outer-outline" /> <span className="outer-outline" />
<span> <span>
<img <img
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/diamonds.svg" src="https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/diamonds.svg"
className="icon" className="icon"
style={{ filter: "var(--filter-black)" }} style={{ filter: "var(--filter-black)" }}
alt="" alt=""

View file

@ -164,13 +164,13 @@ 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);
@ -179,7 +179,7 @@ blockquote {
} }
&.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);
@ -188,7 +188,7 @@ blockquote {
} }
&.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);
@ -197,7 +197,7 @@ blockquote {
} }
&.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);

View file

@ -1,6 +1,6 @@
/* Tokyo Night styles for highlight.js */ /* Tokyo Night styles for highlight.js */
@import "https://static.fosterhangdaan.com/packages/highlightjs/v11.9.0/styles/tokyo-night-dark.css"; @import "https://minio.fosterhangdaan.com/public/releases/js/highlightjs/11.10.0/styles/tokyo-night-dark.css";
@import "https://static.fosterhangdaan.com/packages/highlightjs/v11.9.0/styles/tokyo-night-light.css" (prefers-color-scheme: light); @import "https://minio.fosterhangdaan.com/public/releases/js/highlightjs/11.10.0/styles/tokyo-night-light.css" (prefers-color-scheme: light);
/* Tokyo night color palette */ /* Tokyo night color palette */
:root { :root {

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

@ -8,7 +8,7 @@ export default function ({ nav, comp }: Lume.Data) {
return ( return (
<div className="no-posts"> <div className="no-posts">
<img <img
src="https://static.fosterhangdaan.com/icons/tabler-icons/v2.47.0/svg/coffee.svg" src="https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/coffee.svg"
className="icon" className="icon"
alt="" alt=""
/> />

View file

@ -13,7 +13,7 @@
## Obtaining My Key ## Obtaining My Key
You can download my public key here: You can download my public key here:
[Foster Hangdaan's Public Key](https://static.fosterhangdaan.com/foster-pubkey.asc){download}. [Foster Hangdaan's Public Key](https://minio.fosterhangdaan.com/public/foster-pubkey.asc){download}.
The key's fingerprint should match the one below: The key's fingerprint should match the one below: