From 99e35ff29cb7675b01170266b9461a4793237e8c Mon Sep 17 00:00:00 2001 From: Amritanshu Date: Thu, 26 Sep 2024 09:56:42 +0530 Subject: [PATCH] Images upgraded --- src/app/(static)/about-us/page.tsx | 36 +++++++++++++++++++++----- src/app/(static)/page.tsx | 6 ++++- src/app/(storefront)/products/page.tsx | 4 +++ src/components/category-slider.tsx | 6 ++++- src/components/footer.tsx | 11 +++++++- src/components/navbar.tsx | 4 +++ src/components/our-collection.tsx | 4 +++ src/components/spotlight.tsx | 4 +++ src/components/swiper.tsx | 4 +++ 9 files changed, 70 insertions(+), 9 deletions(-) diff --git a/src/app/(static)/about-us/page.tsx b/src/app/(static)/about-us/page.tsx index 9c5ea3b..3433425 100644 --- a/src/app/(static)/about-us/page.tsx +++ b/src/app/(static)/about-us/page.tsx @@ -27,8 +27,12 @@ export default function AboutUsPage() { Praline @@ -38,8 +42,12 @@ export default function AboutUsPage() { Left Side Image {/* Right Column - Text with Header */} @@ -86,8 +94,12 @@ export default function AboutUsPage() { Beans Drying @@ -97,16 +109,24 @@ export default function AboutUsPage() { Beans Drying
Beans Drying
@@ -132,8 +152,12 @@ export default function AboutUsPage() { Training
diff --git a/src/app/(static)/page.tsx b/src/app/(static)/page.tsx index 0b8e87f..6d4ce45 100644 --- a/src/app/(static)/page.tsx +++ b/src/app/(static)/page.tsx @@ -39,8 +39,12 @@ export default function HomePage() { Right Side Image
diff --git a/src/app/(storefront)/products/page.tsx b/src/app/(storefront)/products/page.tsx index 1b94bbf..9f38bfb 100644 --- a/src/app/(storefront)/products/page.tsx +++ b/src/app/(storefront)/products/page.tsx @@ -25,6 +25,10 @@ export default function ProductsPage() { width={300} height={300} className='object-cover rounded-md' + style={{ + maxWidth: '100%', + height: 'auto', + }} />

{product.title}

{product.description}

diff --git a/src/components/category-slider.tsx b/src/components/category-slider.tsx index da70a71..b7e619c 100644 --- a/src/components/category-slider.tsx +++ b/src/components/category-slider.tsx @@ -35,10 +35,14 @@ export function ChocolateCategories() { Chocolate Category diff --git a/src/components/footer.tsx b/src/components/footer.tsx index 77eedb5..881bc5d 100644 --- a/src/components/footer.tsx +++ b/src/components/footer.tsx @@ -14,7 +14,16 @@ export function Footer() {