import React from 'react' ; import BasicTop from '@/component/basicTop' ; import styles from './styles.less' ; import { connect } from 'dva' ; import { RootState , User } from 'state-typings' ; export default connect ( ( { user } ) => ( { user , } ) ) ( ( { user } ) => { const { pageConfig } = user ; const { desc } = pageConfig || { } ; return ( < div className = { styles . wrap } > < div > < BasicTop needMargin = { false } mainTitle = "关于本站" desc = { < > 因为热爱 ， 所以相聚 ， < a > “ 站点聚合平台 ” ， < /a>让更多的人发现您的站点。 < />}/ > < /div> < div className = { styles . content } > < h1 > 简介 < /h1> < p > < a > “ 站点聚合平台 ” ， < /a> { desc } < /p> < h1 > 联系本站 < /h1> < div > 1. { ' ' } < a href = "http://wpa.qq.com/msgrd?v=3&uin=3532371088&site=qq&menu=yes" target = "_blank" rel = "noreferrer" data - line > QQ < /a> < /div> < div > 2. { ' ' } < a data - line href = "mailto:adaxh@qq.com" > 邮箱发送 < /a> < /div> < div > 3. { ' ' } < a data - line href = "https://github.com/Sites-Groups" target = "_blank" rel = "noreferrer" > GitHub < /a> < /div> { } < /div> < /div>); } ) ;