+ خانه + / + مجله سلامت +
+{post.title}
+{formatFaDate(post.publishedAt || post.createdAt)}
+{post.abstract}
: null} + {post.mainTextHtml ? ( + + ) : null} ++ خانه + / + مجله سلامت +
+{formatFaDate(post.publishedAt || post.createdAt)}
+{post.abstract}
: null} + {post.mainTextHtml ? ( + + ) : null} ++ خانه + / + مجله سلامت +
+مطلبی منتشر نشده است
+پس از انتشار مقاله در پنل Meshkee، اینجا نمایش داده میشود.
+{formatFaDate(post.publishedAt || post.createdAt)}
+{post.abstract}
: null} ++ خانه + / + محصولات + / + {title} +
+ +{brand}
: null} +{variant.label}
+ ) : null} + +{formatPrice(oldPrice)} تومان
: null} ++ {price != null ? ( + <> + {formatPrice(price)} + تومان + > + ) : ( + برای قیمت تماس بگیرید + )} +
++ {inStock ? "موجود در داروخانه" : "ناموجود"} +
+ + {variants.length > 1 ? ( ++ خانه + / + محصولات +
+{faDigits(result.total)} کالا
+ ) : null} +محصولی برای نمایش وجود ندارد
+بهزودی موجودی فروشگاه از پنل Meshkee اینجا دیده میشود.
+{about.subtitle}
diff --git a/components/home/BannerRow.tsx b/components/home/BannerRow.tsx index 717db6f..f9000a7 100644 --- a/components/home/BannerRow.tsx +++ b/components/home/BannerRow.tsx @@ -1,18 +1,29 @@ -import Link from "next/link"; import { Container } from "@/components/Container"; -import { Placeholder } from "@/components/Placeholder"; +import { SlotMedia } from "@/components/SlotMedia"; +import type { SlotMediaItem } from "@/lib/static-images"; -type Banner = { id: string; image: string; href: string }; - -export function BannerRow({ banners, columns }: { banners: Banner[]; columns: 2 | 3 }) { +export function BannerRow({ + banners, + columns, + aspectRatio, +}: { + banners?: SlotMediaItem[]; + columns: 2 | 3; + aspectRatio?: string; +}) { return (نکتههای کاربردی از داروسازان داروخانه
{post.date}
{post.excerpt}
در حال جستجو...
+ ) : items.length === 0 ? ( +نتیجهای پیدا نشد.
+ ) : ( +دستهبندیها بهزودی اضافه میشوند.
+ ) : ( +به سبد اضافه شد.
: null} + {status === "error" ?افزودن به سبد انجام نشد.
: null} +توضیحاتی برای این محصول ثبت نشده است.
+ ) + ) : ( +نظری ثبت نشده است.
+ ) : ( + comments.map((comment, index) => ( +{comment.authorName || "کاربر"}
+ {comment.createdAt ?{formatFaDate(comment.createdAt)}
: null} +{comment.text}
+برای مدیریت نظرات از حساب کاربری خود استفاده کنید.
+ ) : ( + + )} +{product.brand}
+ {product.brand ? ( +{product.brand}
+ ) : ( + + )}- {formatPrice(product.price)} - تومان + {product.price != null ? ( + <> + {formatPrice(product.price)} + تومان + > + ) : ( + تماس بگیرید + )}
-