import React from 'react' import { useLocale } from '@/lib/locale' const MenuButtonGroup = ({ allowCollapse = false }) => { const locale = useLocale() const links = [ { id: 0, icon: 'fa-home', name: locale.NAV.INDEX, to: '/' || '/', show: true }, { id: 1, icon: 'fa-info-circle', name: locale.NAV.ABOUT, to: '/article/about', show: true }, { id: 7, icon: 'fa-github', name: 'Github', to: 'https://github.com/tangly1024', show: true }, { id: 5, icon: 'fa-weibo', name: '微博', to: 'https://weibo.com/tangly1024', show: true }, { id: 4, icon: 'fa-envelope', name: locale.NAV.MAIL, to: 'mailto:tlyong1992@hotmail.com', show: true }, { id: 2, icon: 'fa-rss-square', name: locale.NAV.RSS, to: '/feed', show: true }, { id: 3, icon: 'fa-compass', name: '发现', to: 'https://search.tangly1024.com/', show: true } // { id: 6, icon: 'fa-map-marker', name: 'Fuzhou', to: '#', show: true }, // { id: 8, icon: 'fa-twitter', name: 'Twitter', to: 'https://twitter.com/troy1024_1', show: true }, // { id: 9, icon: 'fa-telegram', name: 'Telegram', to: 'https://t.me/tangly_1024', show: true } ] return } export default MenuButtonGroup