diff --git a/app.vue b/app.vue index 3dfbe60..1fe435d 100644 --- a/app.vue +++ b/app.vue @@ -1,59 +1,10 @@ diff --git a/components/NavBar.vue b/components/NavBar.vue new file mode 100644 index 0000000..2913295 --- /dev/null +++ b/components/NavBar.vue @@ -0,0 +1,4 @@ + diff --git a/components/ThemeSwitcher.vue b/components/ThemeSwitcher.vue new file mode 100644 index 0000000..6517e4f --- /dev/null +++ b/components/ThemeSwitcher.vue @@ -0,0 +1,30 @@ + + + diff --git a/composables/useFont.ts b/composables/useFont.ts index 7614756..afc1faf 100644 --- a/composables/useFont.ts +++ b/composables/useFont.ts @@ -1,5 +1,4 @@ import { ref, onMounted } from 'vue' -import { fonts } from '~/types/fonts' const fontNames = Object.keys(fonts) diff --git a/composables/useTheme.ts b/composables/useTheme.ts index acf064c..371e320 100644 --- a/composables/useTheme.ts +++ b/composables/useTheme.ts @@ -1,5 +1,4 @@ import { ref, onMounted } from 'vue' -import { themes } from '~/types/themes' const themeNames = Object.keys(themes) diff --git a/eslint.config.mjs b/eslint.config.mjs index a534f8b..b403ef0 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,10 +1,6 @@ // @ts-check import withNuxt from './.nuxt/eslint.config.mjs' -export default withNuxt( - // Your custom configs here -).override('nuxt/stylistic', { - rules: { - 'vue/html-quotes': ['error', 'single'], - }, +export default withNuxt().overrideRules({ + 'vue/html-quotes': ['error', 'single'], }) diff --git a/nuxt.config.ts b/nuxt.config.ts index 18e6ede..690f720 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,4 +1,4 @@ -import { fonts } from './types/fonts' +import { fonts } from './utils/fonts' export default defineNuxtConfig({ compatibilityDate: '2024-04-03', diff --git a/pages/about.vue b/pages/about.vue index 4bff1e5..ed760b4 100644 --- a/pages/about.vue +++ b/pages/about.vue @@ -4,9 +4,7 @@ const route = useRoute()