Commit 4250afb
Changed files (1)
src
components
widgets
src/components/widgets/ProfileCard.astro
@@ -1,6 +1,8 @@
---
import { profileConfig } from '@/config';
import ImageWrapper from '@components/utils/ImageWrapper.astro';
+import { Icon } from 'astro-icon/components';
+import Button from './Button.astro';
---
<div
@@ -17,10 +19,19 @@ import ImageWrapper from '@components/utils/ImageWrapper.astro';
/>
</a>
</div>
- <div class="mx-3 mb-5 flex w-full flex-col">
+ <div class="mx-3 flex w-full flex-col">
<div class="mb-3 text-lg">
<a href="/about/" class="font-bold">{profileConfig.name}</a>
</div>
<div>{profileConfig.bio}</div>
</div>
+ <div class="flex items-center justify-center">
+ {
+ profileConfig.links.map((link) => (
+ <Button href={link.url} title={link.name} class="text-2xl">
+ <Icon name={link.icon} />
+ </Button>
+ ))
+ }
+ </div>
</div>