redesigned app for cleaner ux

This commit is contained in:
FernandoJVideira committed 2026-09-12 13:09:17 +01:00
1 parent fe468885b0
commit 2a3f542e98
33 files changed
+1379 -374

No files matched your search

+13 -4
View File
@@ -1,16 +1,25 @@
import { useTranslation } from "react-i18next";
import { motion, useReducedMotion } from "framer-motion";
import CardContainer from "./CardContainer";
const ResultsPage = () => {
const { t } = useTranslation();
const prefersReducedMotion = useReducedMotion();
return (
<div className="header-text">
<h1>
<span className="gold-text">"</span>
<motion.h1
initial={prefersReducedMotion ? { opacity: 0 } : { opacity: 0, y: 20 }}
whileInView={
prefersReducedMotion ? { opacity: 1 } : { opacity: 1, y: 0 }
}
viewport={{ once: true, margin: "-100px" }}
transition={{ type: "spring", damping: 22, stiffness: 140 }}
>
<span className="gold-text">&ldquo;</span>
{t("results.heading.part1")} <br /> {t("results.heading.part2")}
<span className="gold-text">"</span>
</h1>
<span className="gold-text">&rdquo;</span>
</motion.h1>
<CardContainer />
</div>
);