docs: update homepage

This commit is contained in:
wobsoriano
2022-12-19 20:40:00 -08:00
parent 410dcf8a11
commit 949e122be7
2 changed files with 11 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
export default defineAppConfig({ export default defineAppConfig({
docus: { docus: {
title: 'tRPC Nuxt', title: 'tRPC Nuxt',
description: 'End-to-end typesafe APIs in Nuxt applications.',
image: 'https://og-image.vercel.app/tRPC-Nuxt', image: 'https://og-image.vercel.app/tRPC-Nuxt',
alt: 'tRPC-Nuxt cover', alt: 'tRPC-Nuxt cover',
url: 'https://trpc-nuxt.vercel.app', url: 'https://trpc-nuxt.vercel.app',
@@ -12,12 +13,17 @@ export default defineAppConfig({
level: 1 level: 1
}, },
footer: { footer: {
credits: true, credits: {
icons: [ icon: 'IconDocus',
text: 'Powered by Docus',
href: 'https://docus.com',
},
iconLinks: [
{ {
label: 'NuxtJS', label: 'NuxtJS',
href: 'https://nuxtjs.org', href: 'https://nuxt.com',
component: 'IconNuxt' // @ts-expect-error: IDK nuxt
component: 'IconNuxtLabs'
} }
] ]
} }

View File

@@ -27,5 +27,6 @@ End-to-end typesafe APIs in Nuxt applications.
- Automatic typesafety - Automatic typesafety
- Snappy DX - Snappy DX
- Autocompletion on the client, for inputs, outputs and errors - Autocompletion on the client, for inputs, outputs and errors
- Leverages [useAsyncData](https://nuxt.com/docs/api/composables/use-async-data)
:: ::
:: ::