diff --git a/README.md b/README.md index 0160b2a..59d660d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ +

+

+ trpc-nuxt cover image +
+

+ # tRPC-Nuxt End-to-end typesafe APIs with [tRPC.io](https://trpc.io/) in Nuxt applications. @@ -19,7 +25,7 @@ For version 3 of this module (tRPC v9, auto-imports, auto handlers), [go here](h ## Recommended IDE Setup -- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) +- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) ## License diff --git a/docs/app.config.ts b/docs/app.config.ts index a60f260..07b1d06 100644 --- a/docs/app.config.ts +++ b/docs/app.config.ts @@ -1,31 +1,38 @@ 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', - debug: false, - socials: { - github: 'wobsoriano/trpc-nuxt' - }, - aside: { - level: 1 - }, - footer: { - credits: { - icon: 'IconDocus', - text: 'Powered by Docus', - href: 'https://docus.com', - }, - iconLinks: [ - { - label: 'NuxtJS', - href: 'https://nuxt.com', - // @ts-expect-error: IDK nuxt - component: 'IconNuxtLabs' - } - ] - } - } + 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", + debug: false, + socials: { + github: "wobsoriano/trpc-nuxt" + }, + cover: { + src: "/cover.jpg", + alt: "tRPC-Nuxt module" + }, + header: { + logo: true + }, + aside: { + level: 1 + }, + footer: { + credits: { + icon: "IconDocus", + text: "Powered by Docus", + href: "https://docus.com" + }, + iconLinks: [ + { + label: "NuxtJS", + href: "https://nuxt.com", + // @ts-expect-error: IDK nuxt + component: "IconNuxtLabs" + } + ] + } + } }) diff --git a/docs/components/Logo.vue b/docs/components/Logo.vue new file mode 100644 index 0000000..5516a16 --- /dev/null +++ b/docs/components/Logo.vue @@ -0,0 +1,99 @@ + + + diff --git a/docs/public/cover.jpg b/docs/public/cover.jpg new file mode 100644 index 0000000..3e225c4 Binary files /dev/null and b/docs/public/cover.jpg differ diff --git a/docs/public/favicon.ico b/docs/public/favicon.ico new file mode 100644 index 0000000..74da217 Binary files /dev/null and b/docs/public/favicon.ico differ diff --git a/public/banner.png b/public/banner.png new file mode 100644 index 0000000..3e225c4 Binary files /dev/null and b/public/banner.png differ