rework to 2000's-ish style site

This commit is contained in:
2026-08-22 11:59:33 -05:00
parent 5f7d8d03df
commit ce7ed0fd37
20 changed files with 1052 additions and 1175 deletions
+11 -6
View File
@@ -29,8 +29,9 @@ export default defineNuxtConfig({
},
},
css: ['~/assets/css/main.css'],
app: {
pageTransition: { name: 'page', mode: 'out-in' },
head: {
htmlAttrs: { lang: 'en' },
charset: 'utf-8',
@@ -44,17 +45,21 @@ export default defineNuxtConfig({
},
],
link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }],
script: [
{
innerHTML: `(function(){try{var t=localStorage.getItem('bg-theme')||'dusk';var f=localStorage.getItem('body-font')||'plantin';document.documentElement.classList.add('theme-'+t,'font-'+f);}catch(e){document.documentElement.classList.add('theme-dusk','font-plantin');}})();`,
tagPosition: 'head',
},
],
},
},
modules: ['@nuxt/content', '@nuxtjs/color-mode'],
colorMode: {
preference: 'system', // default value of $colorMode.preference
fallback: 'light', // fallback value if not system preference found
globalName: '__NUXT_COLOR_MODE__',
componentName: 'ColorScheme',
preference: 'dark',
fallback: 'dark',
classPrefix: '',
classSuffix: '-mode', // Results in .dark-mode or .light-mode
classSuffix: '-mode',
storageKey: 'color-mode',
},
});