diff --git a/package-lock.json b/package-lock.json
index 90de33b..0af3f0e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -22,6 +22,7 @@
},
"devDependencies": {
"@resvg/resvg-js": "^2.4.1",
+ "@svelte-put/toc": "^4.0.0",
"@sveltejs/adapter-auto": "^3.1.1",
"@sveltejs/adapter-netlify": "^2.0.8",
"@sveltejs/kit": "1.27.6",
@@ -1185,6 +1186,15 @@
"node": ">= 8.0.0"
}
},
+ "node_modules/@svelte-put/toc": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@svelte-put/toc/-/toc-4.0.0.tgz",
+ "integrity": "sha512-Z7iWtG1XMQXaeyzV1PZJ47STaBRGEhbW5EHBZOjcoqIrimBNKhtGMNhfecanFBQZZKblT1BCsq5OfOjf/vpFyQ==",
+ "dev": true,
+ "peerDependencies": {
+ "svelte": "^3.55.0 || ^4.0.0"
+ }
+ },
"node_modules/@sveltejs/adapter-auto": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/@sveltejs/adapter-auto/-/adapter-auto-3.1.1.tgz",
@@ -9768,6 +9778,13 @@
"string.prototype.codepointat": "^0.2.1"
}
},
+ "@svelte-put/toc": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@svelte-put/toc/-/toc-4.0.0.tgz",
+ "integrity": "sha512-Z7iWtG1XMQXaeyzV1PZJ47STaBRGEhbW5EHBZOjcoqIrimBNKhtGMNhfecanFBQZZKblT1BCsq5OfOjf/vpFyQ==",
+ "dev": true,
+ "requires": {}
+ },
"@sveltejs/adapter-auto": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/@sveltejs/adapter-auto/-/adapter-auto-3.1.1.tgz",
diff --git a/package.json b/package.json
index 5f9d147..d68a890 100644
--- a/package.json
+++ b/package.json
@@ -9,14 +9,15 @@
"postinstall": "svelte-kit sync",
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
- "lint": "prettier --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
- "format": "prettier --write --plugin-search-dir=. ."
+ "lint": "prettier --check . && eslint --ignore-path .gitignore .",
+ "format": "prettier --write ."
},
"devDependencies": {
"@resvg/resvg-js": "^2.4.1",
"@sveltejs/adapter-auto": "^3.1.1",
"@sveltejs/adapter-netlify": "^2.0.8",
"@sveltejs/kit": "1.27.6",
+ "@svelte-put/toc": "^4.0.0",
"@tailwindcss/typography": "^0.5.10",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
diff --git a/src/lib/content/work/aj.svx b/src/content/work/aj.svx
similarity index 100%
rename from src/lib/content/work/aj.svx
rename to src/content/work/aj.svx
diff --git a/src/lib/content/work/arsenal.svx b/src/content/work/arsenal.svx
similarity index 100%
rename from src/lib/content/work/arsenal.svx
rename to src/content/work/arsenal.svx
diff --git a/src/lib/content/work/blink.svx b/src/content/work/blink.svx
similarity index 100%
rename from src/lib/content/work/blink.svx
rename to src/content/work/blink.svx
diff --git a/src/lib/content/work/burrito.svx b/src/content/work/burrito.svx
similarity index 100%
rename from src/lib/content/work/burrito.svx
rename to src/content/work/burrito.svx
diff --git a/src/lib/content/work/ccf.svx b/src/content/work/ccf.svx
similarity index 100%
rename from src/lib/content/work/ccf.svx
rename to src/content/work/ccf.svx
diff --git a/src/lib/content/work/dieter.svx b/src/content/work/dieter.svx
similarity index 100%
rename from src/lib/content/work/dieter.svx
rename to src/content/work/dieter.svx
diff --git a/src/lib/content/work/google.svx b/src/content/work/google.svx
similarity index 100%
rename from src/lib/content/work/google.svx
rename to src/content/work/google.svx
diff --git a/src/lib/content/work/greenhouse.svx b/src/content/work/greenhouse.svx
similarity index 100%
rename from src/lib/content/work/greenhouse.svx
rename to src/content/work/greenhouse.svx
diff --git a/src/lib/content/work/mbr.svx b/src/content/work/mbr.svx
similarity index 100%
rename from src/lib/content/work/mbr.svx
rename to src/content/work/mbr.svx
diff --git a/src/lib/content/work/mskcc.svx b/src/content/work/mskcc.svx
similarity index 100%
rename from src/lib/content/work/mskcc.svx
rename to src/content/work/mskcc.svx
diff --git a/src/lib/content/work/pinterest.svx b/src/content/work/pinterest.svx
similarity index 100%
rename from src/lib/content/work/pinterest.svx
rename to src/content/work/pinterest.svx
diff --git a/src/lib/content/work/smoker.svx b/src/content/work/smoker.svx
similarity index 100%
rename from src/lib/content/work/smoker.svx
rename to src/content/work/smoker.svx
diff --git a/src/lib/content/work/twitter.svx b/src/content/work/twitter.svx
similarity index 100%
rename from src/lib/content/work/twitter.svx
rename to src/content/work/twitter.svx
diff --git a/src/lib/content/work/uarts.svx b/src/content/work/uarts.svx
similarity index 100%
rename from src/lib/content/work/uarts.svx
rename to src/content/work/uarts.svx
diff --git a/src/lib/components/EmojiWall.svelte b/src/lib/components/EmojiWall.svelte
index ccf664c..7588969 100644
--- a/src/lib/components/EmojiWall.svelte
+++ b/src/lib/components/EmojiWall.svelte
@@ -1,12 +1,12 @@
-
+
{#each visible as f, i}