mirror of
https://github.com/dsoaress/link-free.git
synced 2026-08-18 23:46:04 +01:00
feat: add base styles
This commit is contained in:
@@ -1,7 +1,31 @@
|
||||
import { Button } from '../components/Button'
|
||||
|
||||
export default function Home() {
|
||||
const links = [
|
||||
{
|
||||
label: 'Home',
|
||||
href: '#'
|
||||
},
|
||||
{
|
||||
label: 'About',
|
||||
href: '/about'
|
||||
},
|
||||
{
|
||||
label: 'Contact',
|
||||
href: '/contact'
|
||||
}
|
||||
]
|
||||
|
||||
return (
|
||||
<div>
|
||||
<h1>Hello</h1>
|
||||
{links.map(link => (
|
||||
<>
|
||||
<Button color="sky" schema="square" key={link.href}>
|
||||
{link.label}
|
||||
</Button>
|
||||
<br />
|
||||
</>
|
||||
))}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user