From 8a418be7c345d047585b015cf5ffdc8e100db99d Mon Sep 17 00:00:00 2001 From: Unchained Date: Sun, 22 Mar 2026 21:05:29 +0200 Subject: [PATCH] Fix mobile responsiveness: viewport meta, standard Tailwind star colors --- src/app/layout.tsx | 1 + src/components/home/BeforeAfterGallery.tsx | 2 +- src/components/home/HeroVideo.tsx | 2 +- src/components/home/TrustBadges.tsx | 2 +- src/components/product/ProductDetail.tsx | 2 +- src/components/product/ProductReviews.tsx | 4 ++-- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 9850b31..6f7f202 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -9,6 +9,7 @@ export const metadata: Metadata = { }, description: "Discover our premium collection of natural oils for hair and skin care. Handmade with love.", robots: "index, follow", + viewport: "width=device-width, initial-scale=1, maximum-scale=5", openGraph: { title: "ManoonOils - Premium Natural Oils for Hair & Skin", description: "Discover our premium collection of natural oils for hair and skin care.", diff --git a/src/components/home/BeforeAfterGallery.tsx b/src/components/home/BeforeAfterGallery.tsx index 5fe82c0..1eadc11 100644 --- a/src/components/home/BeforeAfterGallery.tsx +++ b/src/components/home/BeforeAfterGallery.tsx @@ -104,7 +104,7 @@ function BeforeAfterSlider({ result }: { result: typeof results[0] }) {
{[1, 2, 3, 4, 5].map((star) => ( - + ))} diff --git a/src/components/home/HeroVideo.tsx b/src/components/home/HeroVideo.tsx index aec6938..73627db 100644 --- a/src/components/home/HeroVideo.tsx +++ b/src/components/home/HeroVideo.tsx @@ -59,7 +59,7 @@ export default function HeroVideo() { >
{[1, 2, 3, 4, 5].map((star) => ( - + ))} diff --git a/src/components/home/TrustBadges.tsx b/src/components/home/TrustBadges.tsx index b700ec6..e6ff23b 100644 --- a/src/components/home/TrustBadges.tsx +++ b/src/components/home/TrustBadges.tsx @@ -5,7 +5,7 @@ import { motion } from "framer-motion"; const badges = [ { icon: ( - + ), diff --git a/src/components/product/ProductDetail.tsx b/src/components/product/ProductDetail.tsx index 4748d15..1085db5 100644 --- a/src/components/product/ProductDetail.tsx +++ b/src/components/product/ProductDetail.tsx @@ -76,7 +76,7 @@ function StarRating({ rating = 5, count = 0 }: { rating?: number; count?: number {[...Array(5)].map((_, i) => ( ))}
diff --git a/src/components/product/ProductReviews.tsx b/src/components/product/ProductReviews.tsx index 74f6aac..4e098f2 100644 --- a/src/components/product/ProductReviews.tsx +++ b/src/components/product/ProductReviews.tsx @@ -65,7 +65,7 @@ function ReviewCard({ review }: { review: typeof reviews[0] }) {
{[1, 2, 3, 4, 5].map((star) => ( - + ))} @@ -113,7 +113,7 @@ export default function ProductReviews({ locale = "SR", productName = "this prod
{[1, 2, 3, 4, 5].map((star) => ( - + ))}