1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-06-28 08:37:57 +02:00
blog/src/components/Footer/index.astro
Matthias Kretschmann 3b25ae2282
Location fetching (#843)
* location component

* fetching with @nanostores/query

* layouts reorg

* typescript plugins cleanup

* location component unit test cases

* fetch only when visible
2023-10-04 14:45:54 +01:00

31 lines
661 B
Plaintext

---
import { Github, Bitcoin } from '@images/components'
import Vcard from './Vcard.astro'
import styles from './index.module.css'
import config from '@config/blog.config'
const year = new Date().getFullYear()
const { name, url, github } = config.author
---
<footer role="contentinfo" class={styles.footer}>
<Vcard />
<section class={styles.copyright}>
<p>
&copy; 2005&ndash;
{year + ' '}
<a href={url} rel="me">
{name}
</a>
<a href={`${github}/blog`}>
<Github />
View source
</a>
<a href="/thanks/">
<Bitcoin />
Say Thanks
</a>
</p>
</section>
</footer>