diff --git a/README.org b/README.org index 64e5ef9..4721e2e 100644 --- a/README.org +++ b/README.org @@ -4,11 +4,11 @@ * About -This is the source code of [[https://www.fosterhangdaan.com]]. It is made with a static site generator called [[https://lume.land/][Lume]]. +This is the source code of [[https://www.foster.hangdaan.com][foster.hangdaan.com]]. It is made with a static site generator called [[https://lume.land/][Lume]]. * Repository -In case you have received this code from another source, the repository can be found online at [[https://code.fosterhangdaan.com/foster/website]]. +In case you have received this code from another source, the repository can be found online at [[https://code.hangdaan.com/foster/website]]. * Getting Started @@ -46,7 +46,7 @@ Sources for assets used in the site: * My Contact Information - Email: [[mailto:foster@hangdaan.email][foster@hangdaan.email]] -- GPG Public Key: [[https://minio.fosterhangdaan.com/public/foster-pubkey.asc][DBD3 8E38 4B9E 1F4F 19F9 5BAE E48D 7F49 A852 F112]] +- GPG Public Key: [[https://s3.hangdaan.com/public/foster-pubkey.asc][DBD3 8E38 4B9E 1F4F 19F9 5BAE E48D 7F49 A852 F112]] * License diff --git a/_config.ts b/_config.ts index 30993cc..362c4f0 100644 --- a/_config.ts +++ b/_config.ts @@ -6,7 +6,7 @@ import feed from "lume/plugins/feed.ts"; import code_highlight from "lume/plugins/code_highlight.ts"; import toc from "lume-markdown-plugins/toc.ts"; import footnotes from "lume-markdown-plugins/footnotes.ts"; -import kroki from "https://code.fosterhangdaan.com/foster/lume-plugin-kroki/raw/tag/v1.0.1/mod.ts"; +import kroki from "https://code.hangdaan.com/foster/lume-plugin-kroki/raw/tag/v1.0.1/mod.ts"; import lang_typescript from "npm:highlight.js/lib/languages/typescript"; import lang_javascript from "npm:highlight.js/lib/languages/javascript"; @@ -14,7 +14,7 @@ import lang_bash from "npm:highlight.js/lib/languages/bash"; const site = lume({ src: "./src", - location: new URL("https://www.fosterhangdaan.com/"), + location: new URL("https://www.foster.hangdaan.com/"), }); site.ignore("README.md", "README.org", "LICENSE.txt", "LICENSE.md"); @@ -76,7 +76,7 @@ site.use(toc({ })); site.use(footnotes()); site.use(kroki({ - server: "https://kroki.fosterhangdaan.com", + server: "https://kroki.hangdaan.com", })); site.process([".html"], (pages) => { diff --git a/deno.json b/deno.json index e07f2cb..6a8619f 100644 --- a/deno.json +++ b/deno.json @@ -8,9 +8,9 @@ ] }, "tasks": { - "build": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io,lumeland.github.io,code.fosterhangdaan.com' --allow-import=code.fosterhangdaan.com,deno.land,jsr.io --allow-sys=networkInterfaces --deny-env lume.ts", - "check": "deno fmt --check && deno lint && deno check --allow-import=code.fosterhangdaan.com,deno.land,jsr.io .", - "serve": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io,lumeland.github.io,code.fosterhangdaan.com' --allow-import=code.fosterhangdaan.com,deno.land,jsr.io --allow-sys=networkInterfaces --deny-env lume.ts -s", + "build": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io,lumeland.github.io,code.hangdaan.com' --allow-import=code.hangdaan.com,deno.land,jsr.io --allow-sys=networkInterfaces --deny-env lume.ts", + "check": "deno fmt --check && deno lint && deno check --allow-import=code.hangdaan.com,deno.land,jsr.io .", + "serve": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io,lumeland.github.io,code.hangdaan.com' --allow-import=code.hangdaan.com,deno.land,jsr.io --allow-sys=networkInterfaces --deny-env lume.ts -s", "deploy": "rsync -avh --progress --delete ./_site/ podman:/srv/www/fosterhangdaan.com/" }, "imports": { diff --git a/deno.lock b/deno.lock index eb1bb6d..7c2b8d4 100644 --- a/deno.lock +++ b/deno.lock @@ -1078,6 +1078,9 @@ "https://code.fosterhangdaan.com/foster/lume-plugin-kroki/raw/tag/v1.0.1/deps.ts": "9fbdd3352d05215ae61afe70c52f42f16d068a81bf694f8df053a6a1e7221299", "https://code.fosterhangdaan.com/foster/lume-plugin-kroki/raw/tag/v1.0.1/mod.ts": "195d60f71ec5bb3eb3aa95008a559dca0635e031d6c113be4646bc07697d3c32", "https://code.fosterhangdaan.com/foster/lume-plugin-kroki/raw/tag/v1.0.1/resources/diagrams.json": "a1ca8c52b7f5a8d5335d3872ba0c0d2a4b32ef120efd8819557787a4232b649f", + "https://code.hangdaan.com/foster/lume-plugin-kroki/raw/tag/v1.0.1/deps.ts": "9fbdd3352d05215ae61afe70c52f42f16d068a81bf694f8df053a6a1e7221299", + "https://code.hangdaan.com/foster/lume-plugin-kroki/raw/tag/v1.0.1/mod.ts": "195d60f71ec5bb3eb3aa95008a559dca0635e031d6c113be4646bc07697d3c32", + "https://code.hangdaan.com/foster/lume-plugin-kroki/raw/tag/v1.0.1/resources/diagrams.json": "a1ca8c52b7f5a8d5335d3872ba0c0d2a4b32ef120efd8819557787a4232b649f", "https://deno.land/std@0.170.0/_util/asserts.ts": "d0844e9b62510f89ce1f9878b046f6a57bf88f208a10304aab50efcb48365272", "https://deno.land/std@0.170.0/_util/os.ts": "8a33345f74990e627b9dfe2de9b040004b08ea5146c7c9e8fe9a29070d193934", "https://deno.land/std@0.170.0/encoding/base64.ts": "8605e018e49211efc767686f6f687827d7f5fd5217163e981d8d693105640d7a", diff --git a/src/_components/footer.tsx b/src/_components/footer.tsx index c1667ca..5f9216a 100644 --- a/src/_components/footer.tsx +++ b/src/_components/footer.tsx @@ -8,12 +8,12 @@ export default function ({ comp }: Lume.Data) { {comp.separator()}
Copyright © 2023 Foster Hangdaan
diff --git a/src/_components/navbar.tsx b/src/_components/navbar.tsx index 26a0e3f..739d5ea 100644 --- a/src/_components/navbar.tsx +++ b/src/_components/navbar.tsx @@ -4,7 +4,7 @@ const items = [ path: "/", icon: { src: - "https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/home.svg", + "https://s3.hangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/home.svg", alt: "home icon", }, }, @@ -13,7 +13,7 @@ const items = [ path: "/blog", icon: { src: - "https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/news.svg", + "https://s3.hangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/news.svg", alt: "blog icon", }, }, @@ -22,7 +22,7 @@ const items = [ path: "/resume", icon: { src: - "https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/file-cv.svg", + "https://s3.hangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/file-cv.svg", alt: "resume icon", }, }, @@ -31,7 +31,7 @@ const items = [ path: "/contact", icon: { src: - "https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/address-book.svg", + "https://s3.hangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/address-book.svg", alt: "address book icon", }, }, diff --git a/src/_components/separator.tsx b/src/_components/separator.tsx index b95e309..f99c628 100644 --- a/src/_components/separator.tsx +++ b/src/_components/separator.tsx @@ -4,7 +4,7 @@ export default function () { Email reply diff --git a/src/_includes/styles/base.scss b/src/_includes/styles/base.scss index e7e1001..ee56409 100644 --- a/src/_includes/styles/base.scss +++ b/src/_includes/styles/base.scss @@ -163,13 +163,13 @@ blockquote { left: calc(-0.75rem - 1.5rem); filter: var(--filter-bg); content: ""; - background-image: url("https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/quote.svg"); + background-image: url("https://s3.hangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/quote.svg"); background-repeat: no-repeat !important; background-size: contain !important; } &.info { &::before { - background-image: url("https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/info-circle.svg"); + background-image: url("https://s3.hangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/info-circle.svg"); } & { color: var(--color-blue); @@ -178,7 +178,7 @@ blockquote { } &.success { &::before { - background-image: url("https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/check.svg"); + background-image: url("https://s3.hangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/check.svg"); } & { color: var(--color-success); @@ -187,7 +187,7 @@ blockquote { } &.warning { &::before { - background-image: url("https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/alert-triangle.svg"); + background-image: url("https://s3.hangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/alert-triangle.svg"); } & { color: var(--color-warn); @@ -196,7 +196,7 @@ blockquote { } &.danger { &::before { - background-image: url("https://minio.fosterhangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/circle-x.svg"); + background-image: url("https://s3.hangdaan.com/public/images/icons/tabler-icons/3.14.0/outline/circle-x.svg"); } & { color: var(--color-error); diff --git a/src/_includes/styles/color-palette.scss b/src/_includes/styles/color-palette.scss index b8de298..c76f2fd 100644 --- a/src/_includes/styles/color-palette.scss +++ b/src/_includes/styles/color-palette.scss @@ -1,6 +1,6 @@ /* Tokyo Night styles for highlight.js */ -@import "https://minio.fosterhangdaan.com/public/releases/js/highlightjs/11.10.0/styles/tokyo-night-dark.css"; -@import "https://minio.fosterhangdaan.com/public/releases/js/highlightjs/11.10.0/styles/tokyo-night-light.css" +@import "https://s3.hangdaan.com/public/releases/js/highlightjs/11.10.0/styles/tokyo-night-dark.css"; +@import "https://s3.hangdaan.com/public/releases/js/highlightjs/11.10.0/styles/tokyo-night-light.css" (prefers-color-scheme: light); /* Tokyo night color palette */ diff --git a/src/_includes/styles/fonts.scss b/src/_includes/styles/fonts.scss index 4812c35..8b8b751 100644 --- a/src/_includes/styles/fonts.scss +++ b/src/_includes/styles/fonts.scss @@ -1,9 +1,9 @@ @font-face { font-family: "Mona Sans"; src: - url("https://minio.fosterhangdaan.com/public/fonts/mona-sans/1.0.1/MonaSans%5Bslnt,wdth,wght%5D.woff2") + url("https://s3.hangdaan.com/public/fonts/mona-sans/1.0.1/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") + url("https://s3.hangdaan.com/public/fonts/mona-sans/1.0.1/MonaSans%5Bslnt,wdth,wght%5D.woff2") format("woff2-variations"); font-weight: 200 900; font-stretch: 75% 125%; @@ -13,9 +13,9 @@ @font-face { font-family: "Hubot Sans"; src: - url("https://minio.fosterhangdaan.com/public/fonts/hubot-sans/1.0.1/HubotSans%5Bslnt,wdth,wght%5D.woff2") + url("https://s3.hangdaan.com/public/fonts/hubot-sans/1.0.1/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") + url("https://s3.hangdaan.com/public/fonts/hubot-sans/1.0.1/HubotSans%5Bslnt,wdth,wght%5D.woff2") format("woff2-variations"); font-weight: 200 900; font-stretch: 75% 125%; @@ -25,9 +25,9 @@ @font-face { font-family: "Monaspace Neon"; src: - url("https://minio.fosterhangdaan.com/public/fonts/monaspace/1.101/MonaspaceNeonVarVF%5Bwght,wdth,slnt%5D.woff2") + url("https://s3.hangdaan.com/public/fonts/monaspace/1.101/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") + url("https://s3.hangdaan.com/public/fonts/monaspace/1.101/MonaspaceNeonVarVF%5Bwght,wdth,slnt%5D.woff2") format("woff2-variations"); font-weight: 200 800; font-stretch: 100% 125%; @@ -37,9 +37,9 @@ @font-face { font-family: "Monaspace Radon"; src: - url("https://minio.fosterhangdaan.com/public/fonts/monaspace/1.101/MonaspaceRadonVarVF%5Bwght,wdth,slnt%5D.woff2") + url("https://s3.hangdaan.com/public/fonts/monaspace/1.101/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") + url("https://s3.hangdaan.com/public/fonts/monaspace/1.101/MonaspaceRadonVarVF%5Bwght,wdth,slnt%5D.woff2") format("woff2-variations"); font-weight: 200 800; font-stretch: 100% 125%; @@ -49,9 +49,9 @@ @font-face { font-family: "Monaspace Xenon"; src: - url("https://minio.fosterhangdaan.com/public/fonts/monaspace/1.101/MonaspaceXenonVarVF%5Bwght,wdth,slnt%5D.woff2") + url("https://s3.hangdaan.com/public/fonts/monaspace/1.101/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") + url("https://s3.hangdaan.com/public/fonts/monaspace/1.101/MonaspaceXenonVarVF%5Bwght,wdth,slnt%5D.woff2") format("woff2-variations"); font-weight: 200 800; font-stretch: 100% 125%; diff --git a/src/blog/index.tsx b/src/blog/index.tsx index d5aa8ac..7a10af4 100644 --- a/src/blog/index.tsx +++ b/src/blog/index.tsx @@ -9,7 +9,7 @@ export default function ({ nav, comp }: Lume.Data) { return (I am a software developer, open-source enthusiast, and lover of pizza. You'll most likely find me within{" "} - my lab{" "} + my lab{" "} tinkering with my inventions and the latest JavaScript frameworks. Other times, I help in the battle for an open web and for user privacy by contributing in the development of free and open-source software. @@ -21,7 +21,7 @@ export default function (data: Lume.Data) {