From 2de8652d19dcbfcb11dac2103f236940a56c95f2 Mon Sep 17 00:00:00 2001 From: LazyCodwr Date: Thu, 16 Jan 2025 15:58:55 +0530 Subject: [PATCH] style: Enhance UI components with cursor styles and responsive adjustments - Added 'cursor-pointer' class to Notice_Card button for better UX. - Updated card class in Testimonials to 'cursor-grab' for draggable indication. - Changed background color of CampusFacilities card from red to white. - Adjusted padding and width properties in Courses and Teachers components for improved responsiveness. - Increased font size for history and vision paragraphs in History component for better readability on smaller screens. --- src/components/Notice_Card.jsx | 1 + src/components/Testimonials.jsx | 2 +- .../aboutComponents/CampusFacilities.jsx | 10 +++------- src/components/aboutComponents/Courses.jsx | 5 +---- src/components/aboutComponents/History.jsx | 16 ++++++++-------- src/components/aboutComponents/Teachers.jsx | 7 ++----- 6 files changed, 16 insertions(+), 25 deletions(-) diff --git a/src/components/Notice_Card.jsx b/src/components/Notice_Card.jsx index ef89ed4..7192c32 100644 --- a/src/components/Notice_Card.jsx +++ b/src/components/Notice_Card.jsx @@ -42,6 +42,7 @@ const Notice_Card = ({ fontWeight={900} size={20} onClick={Handle_Clone_Btn} + className='cursor-pointer' /> ); diff --git a/src/components/Testimonials.jsx b/src/components/Testimonials.jsx index 651e242..99ab1e1 100644 --- a/src/components/Testimonials.jsx +++ b/src/components/Testimonials.jsx @@ -81,7 +81,7 @@ const Testimonials = () => { key={testimonial.id} className='relative w-full flex justify-center' > -
+
{ setDescription({ ...About_Page_Data.Description, }); - console.log( - 'description', - Description, - ); } }, [About_Page_Data]); return (
-
+
{Facilities.map( (Facility, index) => { @@ -71,7 +67,7 @@ const CampusFacilities = () => { )}
-
+

Capmus and Faciities @@ -108,7 +104,7 @@ const CampusFacilities = () => {

-
+
{ Our Courses
-

+

We have a group of eminent Faculty members with great personality and excellence in @@ -112,9 +112,6 @@ const Courses = () => { delay: 5000, disableOnInteraction: false, }} - pagination={{ - clickable: true, - }} loop={true} modules={[Autoplay]} className='mySwiper' diff --git a/src/components/aboutComponents/History.jsx b/src/components/aboutComponents/History.jsx index fa05847..d129c49 100644 --- a/src/components/aboutComponents/History.jsx +++ b/src/components/aboutComponents/History.jsx @@ -38,25 +38,25 @@ const History = () => { History -

+

{!history.paragraph_First ? 'Not Found Paragraph One' : history.paragraph_First}

-

+

{!history.paragraph_Second ? 'Not Found Paragraph Two' : history.paragraph_Second}

-

+

{!history.paragraph_Third ? 'Not Found Paragraph Three' : history.paragraph_Third}

-

+

{!history.paragraph_Four ? 'Not Found Paragraph Four' : history.paragraph_Four} @@ -70,25 +70,25 @@ const History = () => { : Vision.title} -

+

{!Vision.paragraph_First ? 'Vision Para fist Not Found' : Vision.paragraph_First}

-

+

{!Vision.paragraph_Second ? 'Vision Para Second Not Found' : Vision.paragraph_Second}

-

+

{!Vision.paragraph_Third ? 'Vision Paragraph Third Not Found' : Vision.paragraph_Third}

-

+

{!Vision.paragraph_Four ? 'Vision Paragraph Four Not Found' : Vision.paragraph_Four} diff --git a/src/components/aboutComponents/Teachers.jsx b/src/components/aboutComponents/Teachers.jsx index 14b9668..22ef3cb 100644 --- a/src/components/aboutComponents/Teachers.jsx +++ b/src/components/aboutComponents/Teachers.jsx @@ -139,7 +139,7 @@ const Teachers = () => {

Our Teachers
-

+

We have a group of eminent Faculty members with great personality and excellence in @@ -165,12 +165,9 @@ const Teachers = () => { spaceBetween={30} centeredSlides={true} autoplay={{ - delay: 1000, + delay: 5000, disableOnInteraction: true, }} - pagination={{ - clickable: true, - }} loop={true} modules={[ Autoplay,