diff --git a/packages/site/assets/scripts/old/external/count.js b/packages/site/assets/custom/scripts/external/count.js similarity index 100% rename from packages/site/assets/scripts/old/external/count.js rename to packages/site/assets/custom/scripts/external/count.js diff --git a/packages/site/assets/scripts/old/external/pako.min.js b/packages/site/assets/custom/scripts/external/pako.min.js similarity index 100% rename from packages/site/assets/scripts/old/external/pako.min.js rename to packages/site/assets/custom/scripts/external/pako.min.js diff --git a/packages/site/assets/scripts/old/external/prism.js b/packages/site/assets/custom/scripts/external/prism.js similarity index 100% rename from packages/site/assets/scripts/old/external/prism.js rename to packages/site/assets/custom/scripts/external/prism.js diff --git a/packages/site/assets/scripts/old/user-scripts/gitadora.user.js b/packages/site/assets/custom/scripts/user-scripts/gitadora.user.js similarity index 100% rename from packages/site/assets/scripts/old/user-scripts/gitadora.user.js rename to packages/site/assets/custom/scripts/user-scripts/gitadora.user.js diff --git a/packages/site/assets/styles/old/prism.css b/packages/site/assets/custom/styles/prism.css similarity index 100% rename from packages/site/assets/styles/old/prism.css rename to packages/site/assets/custom/styles/prism.css diff --git a/packages/site/build/steps/scripts/scripts.ts b/packages/site/build/steps/scripts/scripts.ts index 79559c6..4028175 100644 --- a/packages/site/build/steps/scripts/scripts.ts +++ b/packages/site/build/steps/scripts/scripts.ts @@ -2,6 +2,7 @@ import { globDirectory } from '../../utils/glob-directory'; import { output, scriptsDirectory } from '../../config'; import { build } from 'esbuild'; import { createScriptPath } from '../../utils/create-script-path'; +import { copyFile } from 'node:fs/promises'; export const buildScript = async (path: string) => build({ diff --git a/packages/site/build/utils/create-script-path.ts b/packages/site/build/utils/create-script-path.ts index 71da6c5..84a3113 100644 --- a/packages/site/build/utils/create-script-path.ts +++ b/packages/site/build/utils/create-script-path.ts @@ -6,5 +6,5 @@ export const createScriptPath = (script: string, cwd?: string): string => { .replaceAll('.ts', `.min.js`) .replaceAll(cwd || '', ''); - return `/scripts/${js}`; + return `/scripts${js}`; }; diff --git a/packages/site/pages/sandbox.html b/packages/site/pages/sandbox.html index df7b53e..7e3451f 100644 --- a/packages/site/pages/sandbox.html +++ b/packages/site/pages/sandbox.html @@ -7,10 +7,10 @@ href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap" rel="stylesheet" /> - - - - + + + + @@ -80,5 +80,5 @@ - + diff --git a/packages/site/posts/games/mahjong/2-3p-mahjong.md b/packages/site/posts/games/mahjong/2-3p-mahjong.md index e9011fd..1b39a8e 100644 --- a/packages/site/posts/games/mahjong/2-3p-mahjong.md +++ b/packages/site/posts/games/mahjong/2-3p-mahjong.md @@ -5,8 +5,6 @@ publishedAt: 1738376792000 updatedAt: 1738376967000 --- -# Riichi Mahjong for 2 & 3 Players - My partner and I both play Mahjong online, but sometimes it's nice to play in-person. This is how we play Riichi Mahjong with less than 4 players (It's basically [Sanma](https://riichi.wiki/Sanma) after doing more research...). ## Rules diff --git a/packages/site/posts/games/mahjong/player-guide.md b/packages/site/posts/games/mahjong/player-guide.md index 8bb1793..deadb31 100644 --- a/packages/site/posts/games/mahjong/player-guide.md +++ b/packages/site/posts/games/mahjong/player-guide.md @@ -23,43 +23,43 @@ The Sticks suit (Usually call "souzu"), The 1 of sticks is usually a bird. The Pin suit (Usually called "pinzu") -:::{.mpszhand} +
123456789p -::: +
The Number suit (Usually called "manzu") -:::{.mpszhand} +
123456789m -::: +
Honor tiles, consisting of 4 winds (East, South, West & North) and 3 dragons (White, Green & Red) -:::{.mpszhand} +
1234567z -::: +
## Basic Hands The goal of Mahjong is to create a hand with 14 titles. This hand contains 4 sets of 3 and a pair. Like so: -:::{.mpszhand} +
123s 678s 777p 123m 77z -::: +
Sets of 3 can either be a sequence or three of a kind. **Three of a kind:** -:::{.mpszhand} +
444m -::: +
**Sequence:** -:::{.mpszhand} +
567s -::: +
(You _cannot_ make a sequence out of the honor tiles like dragons or winds!) @@ -100,16 +100,16 @@ Here's a few easy to remember Yakus: - **Tanyao** (Can be open or closed) - Win without 1, 9 or Honor tiles in your hand. -:::{.mpszhand} +
567333s444p67822m -::: +
- **Yakuhai** (Can be open or closed) - Have at least 1 set of dragons, Round winds, or Seat winds in your hand. -:::{.mpszhand} +
567333s444p22m777z -::: +
- **Toitoi** (Can be open or closed) - All 3 of a kind & 1 pair diff --git a/packages/site/posts/programming/bluesky-comments.md b/packages/site/posts/programming/bluesky-comments.md index ace291d..75fb85a 100644 --- a/packages/site/posts/programming/bluesky-comments.md +++ b/packages/site/posts/programming/bluesky-comments.md @@ -3,7 +3,7 @@ title: Bluesky Comments summary: Inline comments from Bluesky publishedAt: 1740379869058 bluesky: 3livnrzudt22s -updatedAt: 1740380006000 +updatedAt: 1759729500000 --- I saw a [really cool implementation](https://beej.us/blog/data/mastodon-comments/) of a comment system on someones site using their mastodon instance. I also run a mastodon instance, but none of my friends _actually use it_. Which would make it harder for them to comment on my posts.