Commit b6e9b75
Changed files (2)
src
components
aside
types
src/components/aside/ProfileCard.astro
@@ -18,7 +18,7 @@ import { Icon } from 'astro-icon/components';
<div>{profileConfig.bio}</div>
<div class="flex flex-row flex-wrap items-center justify-center gap-2">
{
- profileConfig.links.map((link) => (
+ profileConfig.socialLinks.map((link) => (
<Button href={link.url} title={link.name} class="btn-circle btn-ghost text-2xl">
<Icon name={link.icon} />
</Button>
src/types/config.ts
@@ -199,11 +199,11 @@ export type ProfileConfig = {
*/
bio?: string;
/**
- * The links of the profile.
+ * The social links of the profile.
*
- * 链接。
+ * 社交链接。
*/
- links: {
+ socialLinks: {
/**
* The title of the link.
*