From dbabef92b8f3bea08890f58683f53884b1f8daba Mon Sep 17 00:00:00 2001 From: Li1304553726 <1304553726@qq.com> Date: Wed, 26 Feb 2025 13:10:01 +0800 Subject: [PATCH] add .Li --- apps/web/src/app/main/courses/components/CourseCard.tsx | 7 +++---- apps/web/src/app/main/home/components/CategorySection.tsx | 2 +- apps/web/src/app/main/home/components/CoursesSection.tsx | 6 +++--- apps/web/src/app/main/home/components/HeroSection.tsx | 2 +- apps/web/src/app/main/layout/MainLayout.tsx | 2 +- 5 files changed, 9 insertions(+), 10 deletions(-) diff --git a/apps/web/src/app/main/courses/components/CourseCard.tsx b/apps/web/src/app/main/courses/components/CourseCard.tsx index d830c4d..cbdb80c 100755 --- a/apps/web/src/app/main/courses/components/CourseCard.tsx +++ b/apps/web/src/app/main/courses/components/CourseCard.tsx @@ -24,8 +24,7 @@ export default function CourseCard({ course }: CourseCardProps) { onClick={() => handleClick(course)} key={course.id} hoverable - className="group overflow-hidden rounded-2xl border border-gray-200 bg-white - shadow-xl hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2" + className="group overflow-hidden rounded-2xl border border-gray-200 bg-white shadow-xl hover:shadow-2xl transition-all duration-300 transform hover:-translate-y-2" cover={
{ return (
-
+
diff --git a/apps/web/src/app/main/home/components/CoursesSection.tsx b/apps/web/src/app/main/home/components/CoursesSection.tsx index 902e979..e890b62 100755 --- a/apps/web/src/app/main/home/components/CoursesSection.tsx +++ b/apps/web/src/app/main/home/components/CoursesSection.tsx @@ -43,16 +43,16 @@ const CoursesSection: React.FC<CoursesSectionProps> = ({ type: TaxonomySlug.CATEGORY, }); return ( - <section className="relative py-20 overflow-hidden bg-gradient-to-b from-gray-50 to-white"> + <section className="relative py-16 overflow-hidden bg-gray-200"> + <div className="absolute inset-0 bg-white max-w-screen-2xl mx-auto px-6"></div> <div className="max-w-screen-2xl mx-auto px-6 relative"> - <div className="flex justify-between items-end mb-16"> + <div className="flex justify-between items-end mb-16 "> <div> <Title level={2} className="font-bold text-5xl mb-6 bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent"> {title} - diff --git a/apps/web/src/app/main/home/components/HeroSection.tsx b/apps/web/src/app/main/home/components/HeroSection.tsx index 17aa228..192761f 100755 --- a/apps/web/src/app/main/home/components/HeroSection.tsx +++ b/apps/web/src/app/main/home/components/HeroSection.tsx @@ -111,7 +111,7 @@ const HeroSection = () => { { countStatistics > 1 && (
-
+
{platformStats.map((stat, index) => { return stat.value ? (
- +