From 38e1a047be09ffe42b3581bb4d3d51120dbab359 Mon Sep 17 00:00:00 2001 From: Sol Irvine Date: Sun, 8 Oct 2023 16:06:07 +0900 Subject: [PATCH] updates from preview comments --- app/[locale]/product/[handle]/page.tsx | 18 ++++++++++++------ messages/en.json | 4 ++-- messages/ja.json | 4 ++-- 3 files changed, 16 insertions(+), 10 deletions(-) diff --git a/app/[locale]/product/[handle]/page.tsx b/app/[locale]/product/[handle]/page.tsx index b137230a5..6475e6382 100644 --- a/app/[locale]/product/[handle]/page.tsx +++ b/app/[locale]/product/[handle]/page.tsx @@ -2,6 +2,7 @@ import type { Metadata } from 'next'; import { notFound } from 'next/navigation'; import { Suspense } from 'react'; +import { ChevronDoubleRightIcon } from '@heroicons/react/24/outline'; import clsx from 'clsx'; import { AddManyToCart } from 'components/cart/add-many-to-cart'; import { GridTileImage } from 'components/grid/tile'; @@ -152,18 +153,18 @@ export default async function ProductPage({ {!!product?.notes && ( -
+
)} {!!product?.galleryIntro?.value && ( -
+
{product.galleryIntro.value}
)} -
+
{!!otherImages && otherImages?.length > 0 && otherImages.map((image, index) => { @@ -174,7 +175,7 @@ export default async function ProductPage({
@@ -191,7 +192,7 @@ export default async function ProductPage({
{!!product?.lower?.value && ( -
+
{product.lower.value}
)} @@ -211,7 +212,12 @@ async function RelatedProducts({ id }: { id: string }) { if (!relatedProducts.length) return null; return ( -
+
+ {relatedProducts.length > 1 && ( +
+ +
+ )}

other products

    {relatedProducts.map((product) => ( diff --git a/messages/en.json b/messages/en.json index 44b0ad30f..7bd8ee4fd 100644 --- a/messages/en.json +++ b/messages/en.json @@ -551,11 +551,11 @@ }, "003": { "label": "Date of attendance of the Liquor Sales Management Training", - "value": "September 11, 2020" + "value": "September 6, 2023" }, "004": { "label": "Attendance Deadline of the next Liquor Sales Management Training", - "value": "August 31, 2023" + "value": "September 5, 2026" }, "005": { "label": "Implementing Agency of the Liquor Sales Management Training", diff --git a/messages/ja.json b/messages/ja.json index 0a1d26e3a..72c3671ee 100644 --- a/messages/ja.json +++ b/messages/ja.json @@ -549,11 +549,11 @@ }, "003": { "label": "酒類販売管理研修受講年月日", - "value": "令和2年9月11日" + "value": "令和5年9月6日" }, "004": { "label": "次回研修の受講期限", - "value": "令和5年8月31日" + "value": "令和8年9月5日" }, "005": { "label": "研修実施団体名",