vuepress / vuepress-theme-blog

Default blog theme for VuePress.
https://vuepress-theme-blog.billyyyyy3320.com/
MIT License
211 stars 129 forks source link

Footer Contact List is Too Limited #69

Closed RehanSaeed closed 4 years ago

RehanSaeed commented 4 years ago

Feature request

What problem does this feature solve?

I want to add YouTube and StackOverflow links in the footer contact list. Here is an excerpt from my config.js:

footer: {
  contact: [
    {
      type: 'twitter',
      link: 'https://twitter.com/RehanSaeedUK',
    },
    {
      type: 'web',
      link: 'https://www.youtube.com/channel/UC6geox4JkY11093RqecELGA',
    },
    {
      type: 'github',
      link: 'https://github.com/RehanSaeed',
    },
    {
      type: 'web',
      link: 'https://stackoverflow.com/users/1212017/muhammad-rehan-saeed',
    }
  ],
}

Unfortunately, there is a very limited set of type's that are allowed. I could use the web type but then I get two globe icons and it's not clear what they do.

What does the proposed API look like?

Add a way to specify custom SVG images.

How should this be implemented in your opinion?

Maybe a link to an SVG file.

billyyyyy3320 commented 4 years ago

Welcome contribution of adding more built-in contact type.