mirror of
https://github.com/dsoaress/link-free.git
synced 2026-08-16 22:46:04 +01:00
32 lines
500 B
TypeScript
32 lines
500 B
TypeScript
import { Button } from '../components/Button'
|
|
|
|
export default function Home() {
|
|
const links = [
|
|
{
|
|
label: 'Home',
|
|
href: '#'
|
|
},
|
|
{
|
|
label: 'About',
|
|
href: '/about'
|
|
},
|
|
{
|
|
label: 'Contact',
|
|
href: '/contact'
|
|
}
|
|
]
|
|
|
|
return (
|
|
<div>
|
|
{links.map(link => (
|
|
<>
|
|
<Button color="sky" schema="rounded" outline key={link.href}>
|
|
{link.label}
|
|
</Button>
|
|
<br />
|
|
</>
|
|
))}
|
|
</div>
|
|
)
|
|
}
|