From bf46cf07eb39b7a7d433191609d7d0ae0edc2157 Mon Sep 17 00:00:00 2001 From: Deepak Panwar <94688464+deepak1051@users.noreply.github.com> Date: Tue, 1 Oct 2024 22:48:09 +0530 Subject: [PATCH] youtube thumbnail overflow solved (#159) Co-authored-by: deepak-hexa --- src/components/LessonSection.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/components/LessonSection.tsx b/src/components/LessonSection.tsx index f560b98..49ded91 100644 --- a/src/components/LessonSection.tsx +++ b/src/components/LessonSection.tsx @@ -1,7 +1,7 @@ -import React from "react"; -import Link from "next/link"; -import { lessons } from "@/data/lessons"; -import { ArrowRight } from "lucide-react"; +import React from 'react'; +import Link from 'next/link'; +import { lessons } from '@/data/lessons'; +import { ArrowRight } from 'lucide-react'; export default function LessonSection() { return ( @@ -16,12 +16,11 @@ export default function LessonSection() { target="_blank" href={lesson.link} key={index} - className="dark:bg-gray-900 bg-gray-200 p-6 rounded-lg shadow-lg transition duration-300 hover:shadow-xl hover:scale-105" + className="dark:bg-gray-900 bg-gray-200 pb-12 rounded-lg shadow-lg transition duration-300 hover:shadow-xl hover:scale-105" >
-

+

{lesson.title}