depoly
This commit is contained in:
@@ -13,7 +13,7 @@ const AboutusContent = ({ aboutus }: { aboutus: AboutusProps[] }) => {
|
||||
<div className='lg:grid lg:grid-cols-2 w-[80vw] mb-28'>
|
||||
<div className="flex col-span-1 h-auto w-full ">
|
||||
<img
|
||||
src={`http://localhost/${item.image}`}
|
||||
src={`${process.env.NEXT_PUBLIC_IMAGE_URL}${item.image}`}
|
||||
alt="Course Image"
|
||||
className="w-full h-[25vw] object-cover object-center rounded-lg shadow-md"
|
||||
style={{ aspectRatio: '1 / 1' }}
|
||||
@@ -28,7 +28,7 @@ const AboutusContent = ({ aboutus }: { aboutus: AboutusProps[] }) => {
|
||||
{item.description}
|
||||
</p> */}
|
||||
<div
|
||||
className='mt-8 [&_*]:!text-[1.0rem] [&_*]:!text-gray-600 [&_*]'
|
||||
className='mt-8 [&_*]:!text-[1.0rem] [&_*]:!text-gray-600 [&_*]:!bg-transparent'
|
||||
dangerouslySetInnerHTML={{ __html: item.description }}
|
||||
/>
|
||||
|
||||
@@ -54,7 +54,7 @@ const AboutusContent = ({ aboutus }: { aboutus: AboutusProps[] }) => {
|
||||
</div>
|
||||
<div className="flex col-span-1 h-auto w-full justify-end ">
|
||||
<img
|
||||
src={`http://localhost/${item.image}`}
|
||||
src={`${process.env.NEXT_PUBLIC_IMAGE_URL}${item.image}`}
|
||||
alt="Course Image"
|
||||
className="w-full h-[25vw] object-cover object-center rounded-lg shadow-md"
|
||||
style={{ aspectRatio: '1 / 1' }}
|
||||
@@ -68,7 +68,7 @@ const AboutusContent = ({ aboutus }: { aboutus: AboutusProps[] }) => {
|
||||
<div className="flex flex-col relative w-[80vw] lg:mb-28 mb-10 lg:hidden">
|
||||
<div className="flex col-span-1 h-auto w-full ">
|
||||
<img
|
||||
src={`http://localhost/${item.image}`}
|
||||
src={`${process.env.NEXT_PUBLIC_IMAGE_URL}${item.image}`}
|
||||
alt="Course Image"
|
||||
className="w-full h-[44vw] object-cover object-center rounded-lg shadow-md"
|
||||
style={{ aspectRatio: '1 / 1' }}
|
||||
@@ -82,7 +82,7 @@ const AboutusContent = ({ aboutus }: { aboutus: AboutusProps[] }) => {
|
||||
{item.description}
|
||||
</p> */}
|
||||
<div
|
||||
className='mt-8 [&_*]:!text-[1.0rem] [&_*]:!text-gray-600 [&_*]'
|
||||
className='mt-8 [&_*]:!text-[1.0rem] [&_*]:!text-gray-600 [&_*]:!bg-transparent'
|
||||
dangerouslySetInnerHTML={{ __html: item.description }}
|
||||
/>
|
||||
|
||||
|
Reference in New Issue
Block a user