@@ -13,22 +13,13 @@ import d2 from "astro-d2";
1313import inoxToolsPortalGun from "@inox-tools/portal-gun" ;
1414import type { Badge } from "node_modules/@astrojs/starlight/schemas/badge" ;
1515import sitemap from '@astrojs/sitemap' ;
16- import og from "astro-og" ;
1716
1817export default defineConfig ( {
1918 image : { remotePatterns : [ { protocol : "https" } ] } ,
2019 devToolbar : { enabled : true } ,
2120 site : "https://vtbag.dev" ,
2221 compressHTML : false ,
2322
24- redirects : {
25- "/inspection-chamber/" : "/tools/inspection-chamber/" ,
26- } ,
27-
28- experimental : {
29- preserveScriptOrder : true ,
30- headingIdCompat : true ,
31- } ,
3223 prefetch : false ,
3324
3425 markdown : {
@@ -83,12 +74,12 @@ export default defineConfig({
8374 } ,
8475 head : [
8576 {
86- tag : "meta" ,
87- attrs : {
88- property : "og:image" ,
89- content : "https://vtbag.dev/social.png" ,
90- } ,
77+ tag : "meta" , attrs : { property : "og:image" , content : "https://vtbag.dev/social.png" , }
9178 } ,
79+ { tag : "meta" , attrs : { property : "article:publisher" , content : "https://bsky.app/profile/vtbag.dev" } } ,
80+ { tag : "meta" , attrs : { property : "article:author" , content : "https://bsky.app/profile/martr.app" } } ,
81+ { tag : "meta" , attrs : { property : "article:tag" , content : "view transitions" } } ,
82+ { tag : "meta" , attrs : { property : "article:section" , content : "Articles" } } ,
9283 {
9384 tag : "meta" ,
9485 attrs : {
@@ -128,12 +119,18 @@ export default defineConfig({
128119 ] ,
129120 lastUpdated : true ,
130121 pagination : true ,
131- favicon : "/bag4.png " ,
122+ favicon : "/bag4.ico " ,
132123 logo : {
133124 src : "./src/assets/mini-bag.webp" ,
125+ alt : "vtbag logo" ,
134126 } ,
135127
136128 social : [
129+ {
130+ icon : "rss" ,
131+ label : "RSS" ,
132+ href : "/rss.xml" ,
133+ } ,
137134 {
138135 icon : "github" ,
139136 label : "GitHub" ,
@@ -153,10 +150,12 @@ export default defineConfig({
153150 } ) ,
154151 d2 ( {
155152 skipGeneration : process . env . GITHUB_ACTIONS === "true" ,
153+ theme : {
154+ default : "0" ,
155+ } ,
156156 } ) ,
157157 vtbot ( { autoLint : false , loadingIndicator : false } ) ,
158158 inoxToolsPortalGun ( ) ,
159- og ( ) ,
160159 sitemap ( {
161160 filter : ( page ) =>
162161 /**/ ! page . startsWith ( 'https://vtbag.dev/auto/' )
@@ -199,7 +198,7 @@ function sidebar() {
199198 link : "/vtbag/" ,
200199 } ,
201200 {
202- label : "Basics " ,
201+ label : "Basic Information " ,
203202 items : [
204203 { label : "Test Your Browser" , link : "/basics/test-page/" } ,
205204 { label : "View Transition API" , link : "/basics/api/" } ,
@@ -214,17 +213,17 @@ function sidebar() {
214213 } ,
215214 { label : "Styling View Transitions" , link : "/basics/styling/" } ,
216215 { label : "JavaScript API" , link : "/basics/javascript/" } ,
217- { label : "Playing Hide & Seek" , link : "/basics/hide-and-seek/" } ,
216+ { label : "Playing Hide & Seek" , link : "/basics/hide-and-seek/" ,
217+ badge : { text : "Updated!" , variant : "success" } as Badge } ,
218218 {
219219 label : "API Levels and Implications" ,
220- link : "/basics/levels/" ,
221- badge : { text : "New!" , variant : "success" } as Badge ,
220+ link : "/basics/levels/"
222221 } ,
223222 { label : "Web Framework Support" , link : "/basics/frameworks/" } ,
224223 ] ,
225224 } ,
226225 {
227- label : "Tools" ,
226+ label : "Tools & Libraries " ,
228227 items : [
229228 { label : "Inspection Chamber" , link : "/tools/inspection-chamber/" } ,
230229 { label : "Element Crossing" , link : "/tools/element-crossing/" } ,
@@ -233,8 +232,7 @@ function sidebar() {
233232 {
234233 label : "Utensil Drawer" ,
235234 link : "/tools/utensil-drawer/" ,
236- badge : { text : "Updated!" , variant : "success" } as Badge ,
237- } ,
235+ } ,
238236 ] ,
239237 } ,
240238 {
@@ -250,7 +248,6 @@ function sidebar() {
250248 {
251249 label : "Playing" ,
252250 link : "/fwvt/playing/" ,
253- badge : { text : "New!" , variant : "success" } as Badge ,
254251 } ,
255252 ] ,
256253 } ,
@@ -275,13 +272,12 @@ function sidebar() {
275272 {
276273 label : "Why View Transitions Might Fail" ,
277274 link : "tips/view-transition-fails-and-fixes/" ,
278- badge : { text : "Updated!" , variant : "success" } as Badge
279275 } ,
280276 ] ,
281277 } ,
282278 { label : "BagLog" , link : "/baglog" } ,
283279 {
284- label : "All Demos" ,
280+ label : "All Tech Demos" ,
285281 collapsed : false ,
286282 items : [
287283 {
0 commit comments