From 9977f25f25f2a1ba383bd9bad7dec858637119d1 Mon Sep 17 00:00:00 2001 From: Inesh Bose Date: Sun, 28 Apr 2024 12:16:42 +0100 Subject: [PATCH] docs: polish homepage and logo --- docs/app.config.ts | 16 ++++++-- docs/components/AppFooter.vue | 4 +- docs/components/AppHeader.vue | 12 +++--- docs/components/TailwindText.vue | 8 ++++ docs/components/TheLogo.vue | 58 ++++------------------------ docs/content/2.tailwind/2.viewer.md | 10 +++-- docs/content/index.yml | 25 ++++++------ docs/pages/[...slug].vue | 4 +- docs/public/favicon.ico | Bin 4286 -> 9590 bytes docs/tailwind.config.ts | 1 + 10 files changed, 58 insertions(+), 80 deletions(-) create mode 100644 docs/components/TailwindText.vue diff --git a/docs/app.config.ts b/docs/app.config.ts index 56ca2fde..2f4a294b 100644 --- a/docs/app.config.ts +++ b/docs/app.config.ts @@ -10,6 +10,15 @@ export default defineAppConfig({ wrapper: 'border-t border-gray-200 dark:border-gray-800', }, }, + content: { + prose: { + code: { + icon: { + 'nuxt.config': 'vscode-icons:file-type-nuxt' + } + } + } + } }, header: { logo: { @@ -20,7 +29,6 @@ export default defineAppConfig({ src: '', }, }, - pkgVersion, search: true, colorMode: true, links: [{ @@ -31,7 +39,7 @@ export default defineAppConfig({ }], }, footer: { - credits: 'Copyright © 2024', + pkgVersion, colorMode: false, links: [{ 'icon': 'i-simple-icons-nuxtdotjs', @@ -67,12 +75,12 @@ export default defineAppConfig({ target: '_blank', }, { icon: 'i-simple-icons-nuxtdotjs', - label: 'Nuxt docs', + label: 'Nuxt documentation', to: 'https://nuxt.com/docs', target: '_blank', }, { icon: 'i-simple-icons-tailwindcss', - label: 'Tailwind CSS docs', + label: 'Tailwind CSS', to: 'https://tailwindcss.com', target: '_blank', }], diff --git a/docs/components/AppFooter.vue b/docs/components/AppFooter.vue index 694ecbc4..74b6c79e 100644 --- a/docs/components/AppFooter.vue +++ b/docs/components/AppFooter.vue @@ -5,7 +5,9 @@ const { footer } = useAppConfig()