1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00

feat: use JSX instead of strings for bio

This commit is contained in:
2025-07-22 14:52:11 +00:00
parent 6d4c931091
commit 2e3bf0b63b
4 changed files with 19 additions and 23 deletions
+2 -4
View File
@@ -1,5 +1,5 @@
import { aboutPicture } from "@/_assets/illustrations";
import bio from "@/_data/bio";
import Bio from "@/_data/bio";
import Image from "next/image";
import React from "react";
import cls from "./AboutSection.module.scss";
@@ -9,9 +9,7 @@ const AboutSection: React.FC = () => (
<div>
<h2>About me</h2>
{ bio.map((i, index) =>
<p key={ index }>{ i }</p>
) }
<Bio />
</div>
<Image src={ aboutPicture.src } alt={ aboutPicture.alt } />