From 949e122be71165e2f0da0384ca61037428cc97b2 Mon Sep 17 00:00:00 2001 From: wobsoriano Date: Mon, 19 Dec 2022 20:40:00 -0800 Subject: [PATCH] docs: update homepage --- docs/app.config.ts | 14 ++++++++++---- docs/content/index.md | 1 + 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/app.config.ts b/docs/app.config.ts index f2e552a..a60f260 100644 --- a/docs/app.config.ts +++ b/docs/app.config.ts @@ -1,6 +1,7 @@ export default defineAppConfig({ docus: { title: 'tRPC Nuxt', + description: 'End-to-end typesafe APIs in Nuxt applications.', image: 'https://og-image.vercel.app/tRPC-Nuxt', alt: 'tRPC-Nuxt cover', url: 'https://trpc-nuxt.vercel.app', @@ -12,12 +13,17 @@ export default defineAppConfig({ level: 1 }, footer: { - credits: true, - icons: [ + credits: { + icon: 'IconDocus', + text: 'Powered by Docus', + href: 'https://docus.com', + }, + iconLinks: [ { label: 'NuxtJS', - href: 'https://nuxtjs.org', - component: 'IconNuxt' + href: 'https://nuxt.com', + // @ts-expect-error: IDK nuxt + component: 'IconNuxtLabs' } ] } diff --git a/docs/content/index.md b/docs/content/index.md index 04dad3a..585ab49 100644 --- a/docs/content/index.md +++ b/docs/content/index.md @@ -27,5 +27,6 @@ End-to-end typesafe APIs in Nuxt applications. - Automatic typesafety - Snappy DX - Autocompletion on the client, for inputs, outputs and errors + - Leverages [useAsyncData](https://nuxt.com/docs/api/composables/use-async-data) :: ::