mirror of https://github.com/openspug/spug
improve Nav
parent
709c696c2e
commit
fe86ac7e1b
|
@ -70,7 +70,8 @@ function NavIndex(props) {
|
||||||
<Row gutter={24}>
|
<Row gutter={24}>
|
||||||
{records.map(item => (
|
{records.map(item => (
|
||||||
<Col key={item.id} span={6} style={{marginBottom: 24}}>
|
<Col key={item.id} span={6} style={{marginBottom: 24}}>
|
||||||
<Card actions={item.links.map(x => <span>{x.name}</span>)}>
|
<Card
|
||||||
|
actions={item.links.map(x => <a href={x.url} rel="noopener noreferrer" target="_blank">{x.name}</a>)}>
|
||||||
<Card.Meta
|
<Card.Meta
|
||||||
avatar={<Avatar src={item.logo}/>}
|
avatar={<Avatar src={item.logo}/>}
|
||||||
title={item.title}
|
title={item.title}
|
||||||
|
|
Loading…
Reference in New Issue