diff --git a/.demo/app.config.ts b/.demo/app.config.ts index d22b3f8..e7cbc86 100644 --- a/.demo/app.config.ts +++ b/.demo/app.config.ts @@ -3,6 +3,7 @@ export default defineAppConfig({ cover: '/cover.jpg', socials: { twitter: 'Atinux', - github: 'Atinux/content-wind' + github: 'Atinux/content-wind', + mastodon: '@atinux@webtoo.ls' } }) diff --git a/.demo/content/1.index.md b/.demo/content/1.index.md index d7fd080..be62c64 100644 --- a/.demo/content/1.index.md +++ b/.demo/content/1.index.md @@ -93,6 +93,7 @@ interface AppConfigInput { socials?: { twitter?: string github?: string + mastodon?: string } } ``` @@ -104,6 +105,7 @@ export default defineAppConfig({ socials: { twitter: 'Atinux', github: 'Atinux/content-wind' + mastodon: '@atinux@webtoo.ls' } }) ``` diff --git a/app.config.ts b/app.config.ts index ca9a820..1fd90ad 100644 --- a/app.config.ts +++ b/app.config.ts @@ -1,7 +1,8 @@ export default defineAppConfig({ socials: { twitter: '', - github: '' + github: '', + mastodon: '', }, nuxtIcon: { aliases: { diff --git a/components/AppNavbar.vue b/components/AppNavbar.vue index 2f41af7..fc95b07 100644 --- a/components/AppNavbar.vue +++ b/components/AppNavbar.vue @@ -21,6 +21,7 @@ const appConfig = useAppConfig()
+
diff --git a/nuxt.schema.ts b/nuxt.schema.ts index f6c509b..732993e 100644 --- a/nuxt.schema.ts +++ b/nuxt.schema.ts @@ -18,7 +18,13 @@ export default defineNuxtSchema({ * @example 'nuxt/framework' * @studioIcon simple-icons:github * */ - github: '' + github: '', + /** + * Mastodon handle + * @example '@nuxt@webtoo.ls' + * @studioIcon simple-icons:mastodon + * */ + mastodon: '' } } })