Skip to content

Commit e7415ef

Browse files
committed
Update CountdownTimer styles for improved visibility and reposition on Home page
1 parent cdd14c9 commit e7415ef

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/Page/Home.jsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const CountdownTimer = () => {
4040
return (
4141
<div className="my-4 text-center">
4242
<div className="flex items-center gap-2">
43-
<h2 className="custom-font text-1xl flex items-center gap-1 font-bold text-[#00a6fb]">
43+
<h2 className="custom-font text-1xl flex items-center gap-1 font-bold text-gray-400">
4444
v2.0 Dropping Soon
4545
<img
4646
src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Travel%20and%20places/High%20Voltage.png"
@@ -49,7 +49,7 @@ const CountdownTimer = () => {
4949
height="25"
5050
/>
5151
</h2>
52-
<p className="custom-font text-1xl text-[#00a6fb]">{timeLeft}</p>
52+
<p className="custom-font text-1xl text-gray-400">{timeLeft}</p>
5353
</div>
5454
</div>
5555
);
@@ -142,8 +142,6 @@ const Hero = () => {
142142
}
143143
`}
144144
</style>
145-
146-
<CountdownTimer />
147145
<img src={LOGO} alt="Dev Display" className="my-4 h-auto w-[600PX] text-5xl font-bold" />
148146
<h3 className="custom-font my-4 text-2xl tracking-widest text-gray-400 md:text-xl">
149147
One Platform for Global Developers to Fulfill All The Tech Needs!
@@ -156,6 +154,10 @@ const Hero = () => {
156154
<div className="mb-[-80%] mt-2 xs:mb-[-22%] sm:mb-[-15%] md:mb-[-12%] lg:mb-[-10%] xl:mb-[-16%] 2xl:mb-[-14%]">
157155
{' '}
158156
{/* Changed mt-4 to mt-2 */}
157+
<div className="flex items-center justify-center">
158+
<CountdownTimer />
159+
</div>
160+
<Globe />
159161
<Globe />
160162
</div>
161163
<div className="mb-20"></div>

0 commit comments

Comments
 (0)