mirror of https://github.com/kremalicious/blog.git
29 lines
611 B
Plaintext
29 lines
611 B
Plaintext
---
|
|
import { Image } from 'astro:assets'
|
|
import Networks from './Networks.astro'
|
|
import avatar from '@images/avatar.jpg'
|
|
import config from '@config/blog.config'
|
|
import styles from './Vcard.module.css'
|
|
|
|
const { author, rss, jsonfeed } = config
|
|
const { mastodon, github, name, url } = author
|
|
const links = [mastodon, github, rss, jsonfeed]
|
|
---
|
|
|
|
<Image
|
|
class={styles.avatar}
|
|
src={avatar}
|
|
width="160"
|
|
height="160"
|
|
alt="avatar"
|
|
/>
|
|
|
|
<p class={styles.description}>
|
|
{config.siteDescription.replace(name, '')}{' '}
|
|
<a class="fn" rel="author" href={url}>
|
|
{name}
|
|
</a>
|
|
</p>
|
|
|
|
<Networks links={links} />
|