mirror of
https://github.com/XFox111/my-website.git
synced 2026-04-22 07:28:01 +03:00
22 lines
492 B
TypeScript
22 lines
492 B
TypeScript
import { aboutPicture } from "@/_assets/illustrations";
|
|
import bio from "@/_data/bio";
|
|
import Image from "next/image";
|
|
import React from "react";
|
|
import cls from "./AboutSection.module.scss";
|
|
|
|
const AboutSection: React.FC = () => (
|
|
<section id="about" className={ cls.section }>
|
|
<div>
|
|
<h2>About me</h2>
|
|
|
|
{ bio.map((i, index) =>
|
|
<p key={ index }>{ i }</p>
|
|
) }
|
|
</div>
|
|
|
|
<Image src={ aboutPicture.src } alt={ aboutPicture.alt } />
|
|
</section>
|
|
);
|
|
|
|
export default AboutSection;
|