1+ "use client" ;
2+
13import Image from "next/image" ;
24import Reveal from "./Reveal" ;
5+ import { useLanguage } from "@/lib/useLanguage" ;
36
47export default function Hero ( ) {
8+ const { t } = useLanguage ( ) ;
9+
510 return (
611 < section id = "top" className = "max-w-[1120px] mx-auto px-6 pt-36 pb-28" >
712 < div className = "flex flex-col md:flex-row-reverse items-center gap-12 md:gap-16" >
813 { /* text — right on desktop */ }
914 < div className = "flex-1 min-w-0 text-center md:text-left" >
1015 < Reveal delay = { 0.04 } >
11- < p className = "label-mono" > Desenvolvedor Fullstack </ p >
16+ < p className = "label-mono" > { t . hero . role } </ p >
1217 </ Reveal >
1318
1419 < Reveal delay = { 0.1 } className = "mt-6" >
@@ -21,9 +26,7 @@ export default function Hero() {
2126
2227 < Reveal delay = { 0.18 } className = "mt-7" >
2328 < p className = "max-w-[540px] mx-auto md:mx-0 text-[clamp(16px,2vw,20px)] leading-[1.55] text-muted text-pretty" >
24- Fullstack .NET com C# e ASP.NET Core no back-end — APIs REST
25- escaláveis com SQL Server e Entity Framework. React e TypeScript no
26- front-end, cobrindo o fluxo completo da interface à API e ao banco.
29+ { t . hero . description }
2730 </ p >
2831 </ Reveal >
2932
@@ -33,7 +36,7 @@ export default function Hero() {
3336 href = "#projetos"
3437 className = "px-7 py-3.5 rounded-pill bg-accent text-white font-medium text-[15px] transition-transform duration-300 hover:-translate-y-0.5 hover:shadow-[0_12px_28px_-8px_rgba(91,91,214,0.55)]"
3538 >
36- Ver projetos
39+ { t . hero . viewProjects }
3740 </ a >
3841 < a
3942 href = "https://github.com/mtlouzada"
@@ -55,15 +58,15 @@ export default function Hero() {
5558 </ Reveal >
5659 </ div >
5760
58- { /* photo — left on desktop */ }
59- < Reveal delay = { 0.34 } className = "w-full max-w-[420px] md:max-w-[460px] shrink-0" >
60- < div className = "relative w-full aspect-[4/5] rounded-[28px] overflow-hidden shadow-elevated" >
61+ { /* photo — GitHub-style circular avatar, left on desktop */ }
62+ < Reveal delay = { 0.34 } className = "shrink-0" >
63+ < div className = "relative w-[220px] sm:w-[260px] md:w-[300px] aspect-square rounded-full overflow-hidden ring-1 ring-line shadow-elevated" >
6164 < Image
6265 src = "/imgs/newphoto.jpg"
6366 alt = "Matheus Louzada"
6467 fill
6568 priority
66- sizes = "(max-width: 768px) 100vw, 460px "
69+ sizes = "(max-width: 768px) 260px, 300px "
6770 className = "object-cover"
6871 />
6972 </ div >
0 commit comments