nuxt-themes / alpine

The minimalist blog theme, powered by Nuxt & Markdown.
https://alpine.nuxt.space
MIT License
294 stars 54 forks source link

feat: refactor socials handling to accept an object #76

Closed clemcode closed 2 years ago

clemcode commented 2 years ago

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code

resolves nuxt/framework#75

TODO: Type config

This PR adds:

This PR changes:

socials: {
      twitter: 'nuxtlabs',
      instagram: 'atinuxt',
      linkedin: {
        icon: 'uil:linkedin',
        label: 'LinkedIn',
        href: 'https://www.linkedin.com/company/nuxtlabs'
      }
    }
vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
alpine ✅ Ready (Inspect) Visit Preview Aug 23, 2022 at 5:50PM (UTC)
atinux commented 2 years ago

No need to type the config for now, it is automatically typed. Also, see https://github.com/nuxt/nuxt.js/issues/14670 for later improvements