feat(avatar): added avatar to portfolio

This commit is contained in:
2026-08-06 22:53:58 +02:00
parent 4388242241
commit 7777afae64
2 changed files with 6 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

+6 -3
View File
@@ -7,6 +7,7 @@ import portfolio from "../content/portfolio.json";
import forgejo from "../assets/images/forgejo.svg";
import gitea from "../assets/images/gitea.svg";
import avatar from "../assets/images/portfolio_avatar.png";
const LOGOS: Record<string, string> = { forgejo, gitea };
@@ -175,9 +176,11 @@ export default function Portfolio(): ReactElement {
</div>
<div className="space-y-6">
<div className="bg-ctp-mantle border border-ctp-lavender-800 rounded-xl p-6">
<div className="size-20 rounded-full bg-ctp-surface0 border border-ctp-text flex items-center justify-center text-2xl font-bold text-ctp-mauve mb-4">
{profile.name[0]}
</div>
<img
src={avatar}
alt={`${profile.name} avatar`}
className="size-28 border border-ctp-lavender-800 rounded-xl object-cover mb-4"
/>
<h2 className="text-3xl font-bold text-ctp-mauve">
{profile.name}
</h2>