mirror of
https://github.com/dsoaress/link-free.git
synced 2026-08-18 23:46:04 +01:00
feat: add avatar component
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { Avatar } from '../components/Avatar'
|
||||
import { Button } from '../components/Button'
|
||||
|
||||
export default function Home() {
|
||||
@@ -17,14 +18,20 @@ export default function Home() {
|
||||
]
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div
|
||||
style={{
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignItems: 'center',
|
||||
height: '100vh',
|
||||
gap: '1rem'
|
||||
}}
|
||||
>
|
||||
<Avatar src="/avatar.jpeg" />
|
||||
{links.map(link => (
|
||||
<>
|
||||
<Button color="sky" schema="rounded" outline key={link.href}>
|
||||
{link.label}
|
||||
</Button>
|
||||
<br />
|
||||
</>
|
||||
<Button color="sky" schema="rounded" outline key={link.href}>
|
||||
{link.label}
|
||||
</Button>
|
||||
))}
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user