Skip to content

Commit a307c7d

Browse files
fixing some ui bugs
1 parent 390f48c commit a307c7d

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

client/src/pages/Home/HomePage.jsx

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ const HomePage = () => {
2424
return (
2525
<div className="relative bg-gradient-to-b from-slate-950 to-indigo-950 w-full overflow-x-hidden">
2626
{/* Hero Section */}
27-
<img
28-
className="absolute hidden max-md:block max-md:h-[18%] object-cover w-full bg-opacity-70 backdrop-blur-xl inset-0"
29-
src="/images/pattern2.png"
30-
alt="pattern"
31-
/>
27+
3228
<section className="w-full h-screen max-md:h-auto text-white py-10 px-6 mb-6">
3329
<div className="container max-md:w-full max-md:mx-1 h-screen max-md:h-[100%] flex flex-col items-center">
3430
<div className="w-[90%] max-md:h-[90%] h-screen max-lg:w-screen max-md:w-full max-md:mt-44 flex flex-col items-center mt-36 space-y-6 text-center">
@@ -42,7 +38,7 @@ const HomePage = () => {
4238
<h1
4339
data-aos="fade-down"
4440
data-aos-duration="1500"
45-
className="text-6xl font-semibold z-30 max-lg:w-full max-md:w-screen leading-[107%] mb-2 max-md:tracking-tight max-lg:tracking-tighter text-center max-lg:text-4xl max-md:text-3xl max-lg:font-bold text-gray-300"
41+
className="text-6xl font-semibold z-30 max-lg:w-full max-md:w-screen leading-[107%] mb-2 max-md:tracking-tight max-lg:tracking-tighter text-center max-lg:text-4xl max-md:text-3xl max-lg:font-bold text-gray-300"
4642
>
4743
Empowering Interactive and Seamless Virtual Learning through
4844
EduMatrix{" "}
@@ -58,15 +54,15 @@ const HomePage = () => {
5854
<div
5955
data-aos="fade-down"
6056
data-aos-duration="1500"
61-
className="flex max-md:flex-col max-md:space-y-4 max-md:space-x-0 max-md:text-sm justify-center space-x-4"
57+
className="flex gap-3 w-full justify-center"
6258
>
6359
<Buttons
64-
className="px-8 outline-none border-none h-13 bg-zinc-300 text-indigo-950 rounded-md font-medium shadow-md hover:bg-gray-100 hover:scale-105 transition-transform duration-300"
60+
className="px-8 py-4 outline-none border-none h-15 bg-zinc-300 text-indigo-950 rounded-md shadow-md hover:bg-gray-100 hover:scale-105 transition-transform duration-300"
6561
title="Start Demo"
6662
onClick={()=>navigate('#video')}
6763
/>
6864
<Buttons
69-
className="px-8 py-4 h-15 outline-none border-none bg-violet-500 text-white rounded-md shadow-md hover:bg-violet-600 hover:scale-105 transition-transform duration-300"
65+
className="px-8 py-4 h-15 outline-none border-none bg-violet-500 text-white rounded-md shadow-md hover:bg-violet-600 hover:scale-105 transition-transform duration-300"
7066
title="Get Started"
7167
onClick={()=>navigate('/MainLogin')}
7268
/>
@@ -102,7 +98,7 @@ const HomePage = () => {
10298
Explore Our Features
10399
</h3>
104100

105-
<div className="flex gap-5 justify-center items-center">
101+
<div className="flex gap-5 max-md:flex-col-reverse justify-center items-center">
106102
<div className="flex flex-col gap-3 cursor-pointer">
107103
{CardUtils.map((props) => (
108104
<CardComponent {...props} />
@@ -111,7 +107,7 @@ const HomePage = () => {
111107

112108
<div className="image-part ">
113109
<img
114-
className="h-[450px] rounded-lg shadow-lg"
110+
className="h-[450px] max-md:h-[390px] max-md:w-[350px] rounded-lg shadow-lg"
115111
src={gallery4}
116112
alt="image of a student"
117113
/>

0 commit comments

Comments
 (0)