h2 styles changeg

This commit is contained in:
Batyr 2025-05-24 15:51:26 +05:00
parent 28b0025500
commit b643bcfe9f
1 changed files with 6 additions and 3 deletions

View File

@ -71,6 +71,7 @@ export const HomeTimer: FC<Props> = ({ className }) => {
return () => clearInterval(timerInterval); return () => clearInterval(timerInterval);
}, [targetDate]); // Убрали зависимость от timeLeft }, [targetDate]); // Убрали зависимость от timeLeft
const { const {
title, title,
days: daysLabel, days: daysLabel,
@ -87,10 +88,12 @@ export const HomeTimer: FC<Props> = ({ className }) => {
seconds: string; seconds: string;
}; };
return ( return (
<section className={cn("container py-10", className)}> <section className={cn("", className)}>
<h2 className="h2 text-center mb-10">{title}</h2> <h3 className="sm:text-[28px] text-base sm:leading-8 text-right mb-6 !text-[#FAD8DB]">
{title}
</h3>
<div className="grid grid-cols-4 gap-6 place-items-center"> <div className="grid grid-cols-4 max-w-[392px] gap-6 items-end place-items-center">
<TimerItem <TimerItem
value={timeLeft.days} value={timeLeft.days}
prevValue={prevValues.days || timeLeft.days} prevValue={prevValues.days || timeLeft.days}