Files
PortFolio/src/Pages/Home/HeroSection.jsx
Morph01 b9ce2ffdc2
Some checks failed
Linux arm64 / Build-and-Deploy (push) Failing after 7s
Add multi-languages support with i18next
2025-03-04 21:39:02 +01:00

31 lines
911 B
JavaScript

import { useTranslation } from "react-i18next";
export default function HeroSection() {
const { t } = useTranslation();
return (
<section id="heroSection" className="hero--section">
<div className="hero--section--content-box">
<div className="hero--section--content">
<p className="section--title">{t('hero.hello')}</p>
<h1 className="hero--section--title">
<span className="hero--section--title--color">
{t('hero.student')}
</span>{" "}
<br />
{t('hero.passion')}
</h1>
<p className="hero--section--description">
{t('hero.description')}
<br />
{t('hero.goal')}
</p>
</div>
</div>
<div className="hero--section--img">
<img src="./img/moiherosection.jpg" alt="Hero Section" />
</div>
</section>
);
}