diff --git a/astro.config.ts b/astro.config.ts
index 99e3862..6b0238f 100644
--- a/astro.config.ts
+++ b/astro.config.ts
@@ -36,7 +36,7 @@ export default defineConfig({
integrations: [starlight({
title: '@vtbag',
components: {
- Head: "./src/components/Head.astro",
+ Head: "./src/components/NHead.astro",
PageTitle: "./src/components/PageTitle.astro"
},
plugins: [starlightImageZoom()],
@@ -69,7 +69,7 @@ export default defineConfig({
sidebar: sidebar(),
}), d2({
skipGeneration: process.env.GITHUB_ACTIONS === "true"
- }), vtbot()],
+ }), vtbot({ autoLint: false, loadingIndicator: false })],
vite: {
server: {
fs: {
diff --git a/package-lock.json b/package-lock.json
index ddf78c0..3e22e72 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -13,6 +13,7 @@
"@playwright/test": "^1.47.2",
"@splidejs/splide": "^4.1.4",
"@types/node": "^22.7.4",
+ "@vtbag/cam-shaft": "^1.0.0",
"@vtbag/element-crossing": "^1.0.1",
"@vtbag/inspection-chamber": "^1.0.15",
"@vtbag/turn-signal": "^1.0.1",
@@ -140,9 +141,9 @@
}
},
"node_modules/@astrojs/mdx": {
- "version": "3.1.3",
- "resolved": "https://registry.npmjs.org/@astrojs/mdx/-/mdx-3.1.3.tgz",
- "integrity": "sha512-hOM4dMM4RfJI254d3p/AnOZuk2VyKszRtuY5FBm+Xc4XdhIpGrR56OXMNEcWchtwz4HQyPe/eJSgvBjSROcQIQ==",
+ "version": "3.1.7",
+ "resolved": "https://registry.npmjs.org/@astrojs/mdx/-/mdx-3.1.7.tgz",
+ "integrity": "sha512-8lGdCt+S0TrZgQpbcP3fQJc4cTeacAirtz9TpAMtHCWrQGW8slKt3WG4/0N+bhZgYRC4h5AT5drzFz+y3wvmsg==",
"dev": true,
"dependencies": {
"@astrojs/markdown-remark": "5.2.0",
@@ -150,16 +151,15 @@
"acorn": "^8.12.1",
"es-module-lexer": "^1.5.4",
"estree-util-visit": "^2.0.0",
- "github-slugger": "^2.0.0",
"gray-matter": "^4.0.3",
- "hast-util-to-html": "^9.0.1",
+ "hast-util-to-html": "^9.0.2",
"kleur": "^4.1.5",
"rehype-raw": "^7.0.0",
"remark-gfm": "^4.0.0",
"remark-smartypants": "^3.0.2",
"source-map": "^0.7.4",
"unist-util-visit": "^5.0.0",
- "vfile": "^6.0.2"
+ "vfile": "^6.0.3"
},
"engines": {
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
diff --git a/package.json b/package.json
index 43e0027..f5fc0b5 100644
--- a/package.json
+++ b/package.json
@@ -17,6 +17,7 @@
"@vtbag/element-crossing": "^1.0.1",
"@vtbag/inspection-chamber": "^1.0.15",
"@vtbag/turn-signal": "^1.0.1",
+ "@vtbag/cam-shaft": "^1.0.0",
"astro": "^4.15.11",
"astro-breadcrumbs": "^3.2.0",
"astro-d2": "^0.5.2",
diff --git a/src/components/NHead.astro b/src/components/NHead.astro
new file mode 100644
index 0000000..aea67ee
--- /dev/null
+++ b/src/components/NHead.astro
@@ -0,0 +1,86 @@
+---
+import type { Props } from "@astrojs/starlight/props";
+import StarlightHead from "@astrojs/starlight/components/Head.astro";
+import turnSignal from "@vtbag/turn-signal?url";
+import camShaft from "@vtbag/cam-shaft?url";
+---
+
+
+
+{/* Decent transitions for scrolled down pages */}
+