feat: add animated components for enhanced UI/UX
- Introduced DrawLine component for drawing animations. - Added LazyRevealImage component for lazy loading images with reveal animations. - Implemented TextDiffuseReveal for animated text reveals with staggered effects. - Created TopProgressBar for a dynamic loading indicator. - Added PointCloud mock for testing animations. - Developed useReducedMotion hook to handle user preferences for reduced motion. - Centralized animation configurations in config.ts for easier management. - Defined animation variants in variants.ts for consistent animation effects. - Established AnimationProvider to supply global animation settings. - Created tests for AnimationProvider and useReducedMotion hook. - Added SVG assets for branding and UI elements. - Documented frontend review plan and hero circuit board animation plan.
This commit is contained in:
1 parent
0ab6930f92
commit
08dd046887
76 files changed
+21682
-1197
No files matched your search
+283
-231
@@ -1,8 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { useState, useEffect } from "react";
|
||||
import { motion, AnimatePresence } from "framer-motion";
|
||||
import { Logo } from "./Logo";
|
||||
import { motion, useReducedMotion } from "framer-motion";
|
||||
|
||||
const SOCIAL_LINKS = [
|
||||
{
|
||||
@@ -32,102 +30,26 @@ const SOCIAL_LINKS = [
|
||||
},
|
||||
];
|
||||
|
||||
const textToType = "evandro.dev.br";
|
||||
const PROOF_ITEMS = [
|
||||
{
|
||||
label: "Especialidade",
|
||||
value:
|
||||
"Produtos conectados, interfaces de alta performance e sistemas criticos.",
|
||||
},
|
||||
{
|
||||
label: "Escopo",
|
||||
value:
|
||||
"Da integracao com hardware e APIs complexas ao frontend e operacao.",
|
||||
},
|
||||
{
|
||||
label: "Formato",
|
||||
value:
|
||||
"Consultoria, execucao ponta a ponta e colaboracao remota para squads.",
|
||||
},
|
||||
];
|
||||
|
||||
export default function Hero() {
|
||||
const [phase, setPhase] = useState<"typing" | "idle" | "glitch" | "logo">(
|
||||
"typing",
|
||||
);
|
||||
const [typedCount, setTypedCount] = useState(0);
|
||||
|
||||
useEffect(() => {
|
||||
let timeout: NodeJS.Timeout;
|
||||
|
||||
if (phase === "typing") {
|
||||
if (typedCount < textToType.length) {
|
||||
timeout = setTimeout(() => {
|
||||
setTypedCount((c) => c + 1);
|
||||
}, 120); // typing speed
|
||||
} else {
|
||||
timeout = setTimeout(() => {
|
||||
setPhase("idle");
|
||||
}, 1200); // Wait after typing finishes
|
||||
}
|
||||
} else if (phase === "idle") {
|
||||
timeout = setTimeout(() => {
|
||||
setPhase("glitch");
|
||||
}, 100); // trigger glitch
|
||||
} else if (phase === "glitch") {
|
||||
timeout = setTimeout(() => {
|
||||
setPhase("logo");
|
||||
}, 600); // Glitch out duration
|
||||
} else if (phase === "logo") {
|
||||
timeout = setTimeout(() => {
|
||||
setTypedCount(0);
|
||||
setPhase("typing");
|
||||
}, 3500); // Logo display and blink duration
|
||||
}
|
||||
|
||||
return () => clearTimeout(timeout);
|
||||
}, [phase, typedCount]);
|
||||
|
||||
const renderTypedText = () => {
|
||||
const chars = [];
|
||||
for (let i = 0; i < typedCount; i++) {
|
||||
const char = textToType[i];
|
||||
if (i < 7) {
|
||||
chars.push(
|
||||
<span key={i} style={{ color: "#FFFFFF" }}>
|
||||
{char}
|
||||
</span>,
|
||||
);
|
||||
} else if (i === 7) {
|
||||
chars.push(<br key="br1" />);
|
||||
chars.push(
|
||||
<span key={i} style={{ color: "#E8FF00" }}>
|
||||
{char}
|
||||
</span>,
|
||||
);
|
||||
} else if (i < 11) {
|
||||
chars.push(
|
||||
<span key={i} style={{ color: "#E8FF00" }}>
|
||||
{char}
|
||||
</span>,
|
||||
);
|
||||
} else if (i === 11) {
|
||||
chars.push(<br key="br2" />);
|
||||
chars.push(
|
||||
<span key={i} style={{ color: "#FFFFFF" }}>
|
||||
{char}
|
||||
</span>,
|
||||
);
|
||||
} else {
|
||||
chars.push(
|
||||
<span key={i} style={{ color: "#FFFFFF" }}>
|
||||
{char}
|
||||
</span>,
|
||||
);
|
||||
}
|
||||
}
|
||||
// blinking cursor
|
||||
if (phase === "typing" || phase === "idle") {
|
||||
chars.push(
|
||||
<motion.span
|
||||
key="cursor"
|
||||
animate={{ opacity: [1, 0] }}
|
||||
transition={{ repeat: Infinity, duration: 0.8 }}
|
||||
style={{
|
||||
color: "#E8FF00",
|
||||
display: "inline-block",
|
||||
marginLeft: "4px",
|
||||
}}
|
||||
>
|
||||
_
|
||||
</motion.span>,
|
||||
);
|
||||
}
|
||||
return chars;
|
||||
};
|
||||
const shouldReduceMotion = useReducedMotion();
|
||||
|
||||
const hour = new Date().getHours();
|
||||
const greeting =
|
||||
@@ -140,157 +62,287 @@ export default function Hero() {
|
||||
return (
|
||||
<section
|
||||
id="home"
|
||||
className="relative overflow-hidden bg-[#0A0A0A] px-sp-4 py-sp-12 text-white lg:px-sp-8"
|
||||
className="relative flex min-h-[100svh] w-full items-center overflow-hidden bg-[var(--ink)] text-[#f4f2ed]"
|
||||
>
|
||||
<div className="pointer-events-none absolute inset-0 bg-grid-light opacity-70" />
|
||||
<div className="pointer-events-none absolute inset-x-0 top-0 h-40 bg-[radial-gradient(circle_at_top,rgba(232,255,0,0.18),transparent_60%)]" />
|
||||
<div className="pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_50%,rgba(10,10,10,0.2)_0%,var(--ink)_100%)]" />
|
||||
<div
|
||||
className="pointer-events-none absolute inset-0 opacity-[0.03] mix-blend-screen"
|
||||
style={{
|
||||
backgroundImage: `url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E")`,
|
||||
}}
|
||||
/>
|
||||
<div className="pointer-events-none absolute inset-x-0 bottom-0 h-40 bg-gradient-to-t from-[var(--ink)] to-transparent" />
|
||||
|
||||
<div className="relative z-10 mx-auto grid min-h-[calc(100vh)] w-full max-w-[1000px] grid-cols-1 items-center gap-8">
|
||||
<div className="relative z-10 mx-auto flex w-full max-w-[1240px] flex-col px-sp-6 py-sp-16 lg:px-sp-16 lg:py-0 pointer-events-none">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 30 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, margin: "-100px" }}
|
||||
transition={{ duration: 0.8, ease: "easeOut", delay: 3.2 }}
|
||||
initial={shouldReduceMotion ? { opacity: 0 } : { opacity: 0, y: 24 }}
|
||||
animate={shouldReduceMotion ? { opacity: 1 } : { opacity: 1, y: 0 }}
|
||||
transition={{ duration: 0.8, ease: [0.16, 1, 0.3, 1] }}
|
||||
className="grid items-end gap-sp-10 lg:grid-cols-[minmax(0,1.2fr)_minmax(320px,0.8fr)] pointer-events-auto"
|
||||
>
|
||||
<div className="mb-sp-8 inline-flex items-center gap-sp-2">
|
||||
<span
|
||||
className="h-1.5 w-1.5 animate-pulse rounded-full"
|
||||
style={{ background: "#E8FF00" }}
|
||||
/>
|
||||
<span
|
||||
className="text-[9px] uppercase tracking-[0.2em]"
|
||||
style={{ color: "rgba(255,255,255,.38)" }}
|
||||
<div className="max-w-[720px]">
|
||||
<div className="mb-sp-6 inline-flex items-center gap-sp-3 border border-[rgba(255,255,255,0.12)] bg-[rgba(10,10,10,0.4)] px-4 py-2 backdrop-blur-xl">
|
||||
<motion.span
|
||||
className="h-2 w-2 bg-[var(--slash)]"
|
||||
animate={
|
||||
shouldReduceMotion
|
||||
? { opacity: 1 }
|
||||
: { opacity: [1, 0.25, 1] }
|
||||
}
|
||||
transition={
|
||||
shouldReduceMotion
|
||||
? { duration: 0 }
|
||||
: {
|
||||
duration: 1.5,
|
||||
ease: "easeInOut",
|
||||
repeat: Number.POSITIVE_INFINITY,
|
||||
}
|
||||
}
|
||||
/>
|
||||
<span className="font-mono text-[10px] uppercase tracking-[0.2em] text-[rgba(244,242,237,.82)] drop-shadow-md">
|
||||
Available for selected builds {"//"} Remote worldwide
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<motion.p
|
||||
className="mb-sp-4 max-w-[220px] font-mono text-[10px] uppercase tracking-[0.22em] text-[var(--slash)] drop-shadow-lg"
|
||||
initial={
|
||||
shouldReduceMotion ? { opacity: 0 } : { opacity: 0, y: 12 }
|
||||
}
|
||||
animate={
|
||||
shouldReduceMotion ? { opacity: 1 } : { opacity: 1, y: 0 }
|
||||
}
|
||||
transition={{
|
||||
duration: 0.7,
|
||||
delay: 0.08,
|
||||
ease: [0.16, 1, 0.3, 1],
|
||||
}}
|
||||
>
|
||||
Systems engineer available
|
||||
</span>
|
||||
</div>
|
||||
Software engineering for products, operations & critical flows
|
||||
</motion.p>
|
||||
|
||||
<div className="relative mb-sp-6 flex min-h-[40vw] sm:min-h-[220px] md:min-h-[280px] lg:min-h-[350px] items-center">
|
||||
<AnimatePresence mode="wait">
|
||||
{(phase === "typing" || phase === "idle") && (
|
||||
<motion.h1
|
||||
key="text"
|
||||
initial={{ opacity: 0 }}
|
||||
animate={{ opacity: 1, filter: "blur(0px)", scale: 1 }}
|
||||
exit={{ opacity: 0, filter: "blur(12px)", scale: 1.05 }}
|
||||
transition={{ duration: 0.5, ease: "easeInOut" }}
|
||||
className="absolute text-[13vw] sm:text-7xl md:text-[6rem] lg:text-[7rem] xl:text-[8rem] leading-[0.9] tracking-[-0.01em]"
|
||||
style={{
|
||||
color: "#FFFFFF",
|
||||
fontFamily: "'Monument Extended', sans-serif",
|
||||
fontWeight: 800,
|
||||
}}
|
||||
aria-label="evandro.dev.br"
|
||||
>
|
||||
{renderTypedText()}
|
||||
</motion.h1>
|
||||
)}
|
||||
|
||||
{phase === "logo" && (
|
||||
<motion.div
|
||||
key="logo"
|
||||
initial={{ opacity: 0, scale: 0.95 }}
|
||||
animate={{
|
||||
opacity: [0, 1, 0, 1, 1, 0.5, 1, 0],
|
||||
scale: 1,
|
||||
filter: [
|
||||
"blur(4px)",
|
||||
"blur(0px)",
|
||||
"blur(0px)",
|
||||
"blur(0px)",
|
||||
"blur(0px)",
|
||||
"blur(2px)",
|
||||
"blur(0px)",
|
||||
"blur(10px)",
|
||||
],
|
||||
}}
|
||||
transition={{
|
||||
duration: 3.2,
|
||||
times: [0, 0.05, 0.1, 0.15, 0.8, 0.85, 0.9, 1],
|
||||
}}
|
||||
className="absolute flex items-center justify-start w-full"
|
||||
>
|
||||
<Logo
|
||||
variant="mark"
|
||||
size="xl"
|
||||
theme="dark"
|
||||
className="w-[80%] max-w-[320px] h-auto drop-shadow-[0_0_20px_rgba(232,255,0,0.3)]"
|
||||
/>
|
||||
</motion.div>
|
||||
)}
|
||||
</AnimatePresence>
|
||||
</div>
|
||||
|
||||
<p
|
||||
className="mb-sp-10 max-w-[460px] text-[13px] leading-7"
|
||||
style={{ color: "rgba(255,255,255,.72)" }}
|
||||
>
|
||||
Engenheiro de Software especializado em aplicacoes de alta
|
||||
performance, interfaces de produto e sistemas criticos com Next.js,
|
||||
React, Tauri e arquitetura escalavel.
|
||||
</p>
|
||||
|
||||
<div className="mb-sp-8 mt-sp-6 flex flex-wrap items-center gap-sp-4">
|
||||
<a
|
||||
href={`https://wa.me/5547992742365?text=${encodeURIComponent(greeting)}`}
|
||||
className="inline-flex h-11 items-center justify-center rounded-sm px-sp-6 text-[11px] font-semibold uppercase tracking-[0.08em] no-underline transition-all duration-200 hover:-translate-y-0.5 hover:shadow-[0_0_0_1px_rgba(232,255,0,.8),0_8px_24px_rgba(232,255,0,.35)]"
|
||||
style={{ background: "#E8FF00", color: "#0A0A0A" }}
|
||||
<h1
|
||||
className="max-w-[920px] text-balance font-display text-[clamp(2.9rem,7vw,6.4rem)] font-extrabold leading-[0.92] tracking-[-0.04em] text-transparent bg-clip-text bg-gradient-to-br from-[#ffffff] to-[#a3a3a3]"
|
||||
aria-label="evandro.dev.br"
|
||||
>
|
||||
Iniciar projeto
|
||||
</a>
|
||||
Engenharia de software para produtos conectados, interfaces de
|
||||
alta performance e sistemas criticos.
|
||||
</h1>
|
||||
|
||||
<a
|
||||
href="/assets/Evandro_Fonseca_Junior_CV.pdf"
|
||||
download
|
||||
className="inline-flex h-11 items-center justify-center rounded-sm border px-sp-6 text-[11px] font-semibold uppercase tracking-[0.08em] no-underline transition-all duration-200 hover:-translate-y-0.5 hover:bg-white/5"
|
||||
style={{ borderColor: "rgba(255,255,255,.18)", color: "#FFFFFF" }}
|
||||
<motion.p
|
||||
className="mt-sp-6 max-w-[640px] text-[15px] leading-7 text-[rgba(244,242,237,.9)] lg:text-[16px] drop-shadow-md"
|
||||
initial={
|
||||
shouldReduceMotion ? { opacity: 0 } : { opacity: 0, y: 16 }
|
||||
}
|
||||
animate={
|
||||
shouldReduceMotion ? { opacity: 1 } : { opacity: 1, y: 0 }
|
||||
}
|
||||
transition={{
|
||||
duration: 0.8,
|
||||
delay: 0.16,
|
||||
ease: [0.16, 1, 0.3, 1],
|
||||
}}
|
||||
>
|
||||
Download CV
|
||||
</a>
|
||||
Da integracao com hardware e APIs complexas ao frontend moderno,
|
||||
construo sistemas estaveis, operaveis e prontos para crescer sem
|
||||
sacrificar clareza tecnica.
|
||||
</motion.p>
|
||||
|
||||
<div className="flex items-center gap-sp-2">
|
||||
{SOCIAL_LINKS.map((link) => (
|
||||
<a
|
||||
key={link.label}
|
||||
href={link.href}
|
||||
target={link.href.startsWith("http") ? "_blank" : undefined}
|
||||
rel={
|
||||
link.href.startsWith("http")
|
||||
? "noopener noreferrer"
|
||||
: undefined
|
||||
}
|
||||
className="inline-flex h-11 w-11 items-center justify-center rounded-full transition-all duration-200 hover:bg-white/10 hover:scale-110"
|
||||
style={{
|
||||
color: "rgba(255,255,255,.84)",
|
||||
}}
|
||||
aria-label={link.label}
|
||||
>
|
||||
<svg
|
||||
width="18"
|
||||
height="18"
|
||||
viewBox="0 0 24 24"
|
||||
fill={link.stroke ? "none" : "currentColor"}
|
||||
stroke={link.stroke ? "currentColor" : "none"}
|
||||
strokeWidth={link.stroke ? "2" : undefined}
|
||||
role="img"
|
||||
<motion.div
|
||||
className="mt-sp-8 flex flex-wrap items-center gap-sp-4"
|
||||
initial={
|
||||
shouldReduceMotion ? { opacity: 0 } : { opacity: 0, y: 16 }
|
||||
}
|
||||
animate={
|
||||
shouldReduceMotion ? { opacity: 1 } : { opacity: 1, y: 0 }
|
||||
}
|
||||
transition={{
|
||||
duration: 0.8,
|
||||
delay: 0.24,
|
||||
ease: [0.16, 1, 0.3, 1],
|
||||
}}
|
||||
>
|
||||
<motion.a
|
||||
href={`https://wa.me/5547992742365?text=${encodeURIComponent(greeting)}`}
|
||||
className="inline-flex min-h-12 items-center justify-center bg-[var(--slash)] px-sp-8 font-mono text-[11px] font-bold uppercase tracking-[0.12em] text-[#0A0A0A] no-underline transition-[transform,background-color,box-shadow] duration-300 hover:bg-white hover:shadow-[0_0_20px_rgba(204,255,0,0.4)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--slash)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--ink)]"
|
||||
whileHover={shouldReduceMotion ? undefined : { scale: 1.02 }}
|
||||
whileTap={shouldReduceMotion ? undefined : { scale: 0.98 }}
|
||||
>
|
||||
Iniciar projeto
|
||||
</motion.a>
|
||||
|
||||
<motion.a
|
||||
href="#projects"
|
||||
className="inline-flex min-h-12 items-center justify-center border border-[rgba(244,242,237,.28)] bg-[rgba(10,10,10,0.4)] backdrop-blur-md px-sp-8 font-mono text-[11px] font-bold uppercase tracking-[0.12em] text-[#f4f2ed] no-underline transition-[transform,border-color,background-color,color] duration-300 hover:border-[var(--slash)] hover:bg-[rgba(204,255,0,0.08)] hover:text-[var(--slash)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--slash)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--ink)]"
|
||||
whileHover={shouldReduceMotion ? undefined : { scale: 1.02 }}
|
||||
whileTap={shouldReduceMotion ? undefined : { scale: 0.98 }}
|
||||
>
|
||||
Ver projetos
|
||||
</motion.a>
|
||||
|
||||
<a
|
||||
href="/assets/Evandro_Fonseca_Junior_CV.pdf"
|
||||
download
|
||||
className="inline-flex min-h-12 items-center justify-center px-sp-2 text-[12px] font-medium text-[rgba(244,242,237,.9)] no-underline transition-colors duration-300 hover:text-[var(--slash)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--slash)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--ink)] drop-shadow-md"
|
||||
>
|
||||
Download CV
|
||||
</a>
|
||||
</motion.div>
|
||||
|
||||
<motion.div
|
||||
className="mt-sp-10 flex flex-wrap items-center gap-x-sp-6 gap-y-sp-3 border-t border-[rgba(255,255,255,.08)] pt-sp-6"
|
||||
initial={
|
||||
shouldReduceMotion ? { opacity: 0 } : { opacity: 0, y: 16 }
|
||||
}
|
||||
animate={
|
||||
shouldReduceMotion ? { opacity: 1 } : { opacity: 1, y: 0 }
|
||||
}
|
||||
transition={{
|
||||
duration: 0.8,
|
||||
delay: 0.32,
|
||||
ease: [0.16, 1, 0.3, 1],
|
||||
}}
|
||||
>
|
||||
<div className="inline-flex items-center gap-sp-3 text-[11px] uppercase tracking-[0.12em] text-[rgba(244,242,237,.72)]">
|
||||
<span className="h-2 w-2 rounded-full bg-[var(--slash)] shadow-[0_0_8px_var(--slash)]" />
|
||||
Garuva, SC / Brasil
|
||||
</div>
|
||||
<div className="inline-flex items-center gap-sp-3 text-[11px] uppercase tracking-[0.12em] text-[rgba(244,242,237,.72)]">
|
||||
<span className="h-[1px] w-6 bg-[rgba(255,255,255,.2)]" />
|
||||
Next.js, Tauri, Rust, Node.js
|
||||
</div>
|
||||
<div className="flex items-center gap-sp-2">
|
||||
{SOCIAL_LINKS.map((link) => (
|
||||
<a
|
||||
key={link.label}
|
||||
href={link.href}
|
||||
target={link.href.startsWith("http") ? "_blank" : undefined}
|
||||
rel={
|
||||
link.href.startsWith("http")
|
||||
? "noopener noreferrer"
|
||||
: undefined
|
||||
}
|
||||
className="inline-flex h-11 w-11 items-center justify-center rounded-full border border-[rgba(244,242,237,0.18)] bg-[rgba(10,10,10,0.4)] backdrop-blur-md text-[rgba(244,242,237,.88)] transition-[transform,border-color,color,background-color] duration-300 hover:border-[var(--slash)] hover:bg-[rgba(204,255,0,0.1)] hover:text-[var(--slash)] hover:shadow-[0_0_15px_rgba(204,255,0,0.2)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--slash)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--ink)]"
|
||||
aria-label={link.label}
|
||||
>
|
||||
{link.icon}
|
||||
</svg>
|
||||
</a>
|
||||
<svg
|
||||
width="20"
|
||||
height="20"
|
||||
viewBox="0 0 24 24"
|
||||
fill={link.stroke ? "none" : "currentColor"}
|
||||
stroke={link.stroke ? "currentColor" : "none"}
|
||||
strokeWidth={link.stroke ? "2" : undefined}
|
||||
role="img"
|
||||
aria-label={link.label}
|
||||
>
|
||||
{link.icon}
|
||||
</svg>
|
||||
</a>
|
||||
))}
|
||||
</div>
|
||||
</motion.div>
|
||||
</div>
|
||||
|
||||
<motion.aside
|
||||
className="relative overflow-hidden border border-[rgba(255,255,255,0.15)] bg-[linear-gradient(180deg,rgba(10,10,10,0.6),rgba(10,10,10,0.3))] p-sp-6 backdrop-blur-xl lg:p-sp-8"
|
||||
initial={
|
||||
shouldReduceMotion ? { opacity: 0 } : { opacity: 0, x: 24 }
|
||||
}
|
||||
animate={shouldReduceMotion ? { opacity: 1 } : { opacity: 1, x: 0 }}
|
||||
transition={{ duration: 0.9, delay: 0.22, ease: [0.16, 1, 0.3, 1] }}
|
||||
>
|
||||
<div className="absolute inset-x-0 top-0 h-px bg-[linear-gradient(90deg,transparent,rgba(204,255,0,0.9),transparent)]" />
|
||||
<div className="absolute inset-y-0 left-0 w-px bg-[linear-gradient(180deg,rgba(204,255,0,0.4),transparent)]" />
|
||||
|
||||
<div className="flex items-start justify-between gap-sp-4 border-b border-[rgba(255,255,255,0.08)] pb-sp-5">
|
||||
<div>
|
||||
<div className="font-mono text-[10px] uppercase tracking-[0.18em] text-[var(--slash)]">
|
||||
Execution Brief
|
||||
</div>
|
||||
<h2 className="mt-sp-2 font-display text-[clamp(1.35rem,3vw,2rem)] font-extrabold leading-[1.02] tracking-[-0.03em] text-[#f7f4ee]">
|
||||
Clareza de arquitetura antes de complexidade.
|
||||
</h2>
|
||||
</div>
|
||||
<div className="shrink-0 border border-[rgba(204,255,0,0.3)] bg-[rgba(204,255,0,0.05)] px-3 py-2 font-mono text-[10px] uppercase tracking-[0.14em] text-[var(--slash)]">
|
||||
2026
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="mt-sp-6 space-y-sp-5">
|
||||
{PROOF_ITEMS.map((item, index) => (
|
||||
<motion.article
|
||||
key={item.label}
|
||||
className="border-b border-[rgba(255,255,255,0.08)] pb-sp-5 last:border-b-0 last:pb-0"
|
||||
initial={
|
||||
shouldReduceMotion ? { opacity: 0 } : { opacity: 0, y: 12 }
|
||||
}
|
||||
animate={
|
||||
shouldReduceMotion ? { opacity: 1 } : { opacity: 1, y: 0 }
|
||||
}
|
||||
transition={{
|
||||
duration: 0.65,
|
||||
delay: 0.28 + index * 0.08,
|
||||
ease: [0.16, 1, 0.3, 1],
|
||||
}}
|
||||
>
|
||||
<div className="font-mono text-[10px] uppercase tracking-[0.18em] text-[rgba(244,242,237,.7)]">
|
||||
{item.label}
|
||||
</div>
|
||||
<p className="mt-sp-2 text-[14px] leading-6 text-[rgba(244,242,237,.94)]">
|
||||
{item.value}
|
||||
</p>
|
||||
</motion.article>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div
|
||||
className="text-[10px] uppercase tracking-[0.14em]"
|
||||
style={{ color: "rgba(255,255,255,.38)" }}
|
||||
>
|
||||
Garuva, SC | Remote worldwide
|
||||
</div>
|
||||
|
||||
<motion.div
|
||||
className="mt-sp-8 grid gap-sp-4 sm:grid-cols-2"
|
||||
initial={
|
||||
shouldReduceMotion ? { opacity: 0 } : { opacity: 0, y: 16 }
|
||||
}
|
||||
animate={
|
||||
shouldReduceMotion ? { opacity: 1 } : { opacity: 1, y: 0 }
|
||||
}
|
||||
transition={{
|
||||
duration: 0.75,
|
||||
delay: 0.48,
|
||||
ease: [0.16, 1, 0.3, 1],
|
||||
}}
|
||||
>
|
||||
<div className="border border-[rgba(255,255,255,0.1)] bg-[rgba(10,10,10,0.4)] p-sp-4 hover:border-[var(--slash)] transition-colors duration-300">
|
||||
<div className="font-mono text-[10px] uppercase tracking-[0.18em] text-[var(--slash)]">
|
||||
Focus
|
||||
</div>
|
||||
<p className="mt-sp-2 text-[13px] leading-6 text-[rgba(244,242,237,.9)]">
|
||||
Sistemas com baixa latencia, alta previsibilidade e manutencao
|
||||
sustentavel.
|
||||
</p>
|
||||
</div>
|
||||
<div className="border border-[rgba(255,255,255,0.1)] bg-[rgba(10,10,10,0.4)] p-sp-4 hover:border-[var(--slash)] transition-colors duration-300">
|
||||
<div className="font-mono text-[10px] uppercase tracking-[0.18em] text-[var(--slash)]">
|
||||
Availability
|
||||
</div>
|
||||
<p className="mt-sp-2 text-[13px] leading-6 text-[rgba(244,242,237,.9)]">
|
||||
Aberto a novos projetos com ownership tecnico, discovery e
|
||||
entrega iterativa.
|
||||
</p>
|
||||
</div>
|
||||
</motion.div>
|
||||
</motion.aside>
|
||||
</motion.div>
|
||||
</div>
|
||||
|
||||
<motion.div
|
||||
className="absolute bottom-10 left-1/2 flex -translate-x-1/2 flex-col items-center gap-3 opacity-50 z-10 pointer-events-none"
|
||||
initial={shouldReduceMotion ? { opacity: 0 } : { opacity: 0 }}
|
||||
animate={shouldReduceMotion ? { opacity: 0.5 } : { opacity: 0.5 }}
|
||||
transition={{ delay: 1, duration: 1 }}
|
||||
>
|
||||
<span className="font-mono text-[9px] uppercase tracking-widest text-[var(--slash)]">
|
||||
Scroll
|
||||
</span>
|
||||
<div className="h-10 w-[1px] bg-gradient-to-b from-[var(--slash)] to-transparent" />
|
||||
</motion.div>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user