diff --git a/.starters/default/app.config.ts b/.starters/default/app.config.ts index 642fe1277..1781f1a2e 100644 --- a/.starters/default/app.config.ts +++ b/.starters/default/app.config.ts @@ -4,8 +4,13 @@ export default defineAppConfig({ description: 'The best place to start your documentation.', image: 'https://user-images.githubusercontent.com/904724/185365452-87b7ca7b-6030-4813-a2db-5e65c785bf88.png', socials: { - twitter: 'nuxtstudio', - github: 'nuxt-themes/docus' + twitter: 'nuxt_js', + github: 'nuxt-themes/docus', + nuxt: { + label: 'Nuxt', + icon: 'simple-icons:nuxtdotjs', + href: 'https://nuxt.com' + } }, github: { dir: '.starters/default/content', @@ -28,14 +33,6 @@ export default defineAppConfig({ showLinkIcon: true, exclude: [], fluid: true - }, - footer: { - iconLinks: [ - { - href: 'https://nuxt.com', - icon: 'simple-icons:nuxtdotjs' - } - ] } } }) diff --git a/.starters/default/content/1.introduction/4.configuration.md b/.starters/default/content/1.introduction/4.configuration.md index cd99ce10c..210c34b1c 100644 --- a/.starters/default/content/1.introduction/4.configuration.md +++ b/.starters/default/content/1.introduction/4.configuration.md @@ -22,8 +22,8 @@ export default defineAppConfig({ url: 'http://docus.dev', image: '/social-card-preview.png', socials: { - twitter: '@docus_', - github: 'nuxtlabs/docus', + twitter: '@nuxt_js', + github: 'nuxt-themes/docus', }, github: { root: 'content', diff --git a/components/app/AppSocialIcons.vue b/components/app/AppSocialIcons.vue index e3fcedac1..a0f1f82af 100644 --- a/components/app/AppSocialIcons.vue +++ b/components/app/AppSocialIcons.vue @@ -10,7 +10,7 @@ const icons = computed(() => { return value } else if (typeof value === 'string' && value && socials.includes(key)) { return { - href: `https://${key}.com/${value}`, + href: /^https?:\/\//.test(value) ? value : `https://${key}.com/${value}`, icon: `fa-brands:${key}`, label: value, rel: 'noopener noreferrer'