From 57fcc26a292fac494dc75514c2dcb525a76a215f Mon Sep 17 00:00:00 2001 From: Sol Irvine Date: Wed, 6 Sep 2023 15:38:52 -0700 Subject: [PATCH] small fixes --- app/[locale]/about/about-narai-detail.tsx | 22 +++++++++++----------- app/[locale]/page.tsx | 2 +- components/cart/modal.tsx | 2 +- components/grid/homepage-products.tsx | 12 ++++++------ components/layout/newsletter-footer.tsx | 4 ++-- components/layout/newsletter-signup.tsx | 2 +- components/layout/shoplist.tsx | 6 +++--- 7 files changed, 25 insertions(+), 25 deletions(-) diff --git a/app/[locale]/about/about-narai-detail.tsx b/app/[locale]/about/about-narai-detail.tsx index 098d19bc6..8e036d52d 100644 --- a/app/[locale]/about/about-narai-detail.tsx +++ b/app/[locale]/about/about-narai-detail.tsx @@ -17,8 +17,8 @@ export default function AboutNaraiDetail({ awards }: { awards: string }) { return (
-

{t('about.001.title')}

-

{t('about.001.subtitle')}

+

{t('about.001.title')}

+

{t('about.001.subtitle')}

@@ -26,7 +26,7 @@ export default function AboutNaraiDetail({ awards }: { awards: string }) { src={AboutImage001} priority={true} alt="A picture of the exterior of the brewery building." - className={clsx('h-full w-full object-cover')} + className={clsx('aspect-square h-full w-full object-cover md:aspect-auto')} />
-

{t('about.002.title')}

+

{t('about.002.title')}

{t('about.002.para001')}

{t('about.002.para002')}

@@ -44,7 +44,7 @@ export default function AboutNaraiDetail({ awards }: { awards: string }) { src={AboutImage002} priority={true} alt="A picture of the interior of the brewery building." - className={clsx('h-full w-full object-cover')} + className={clsx('aspect-square h-full w-full object-cover md:aspect-auto')} />
@@ -53,7 +53,7 @@ export default function AboutNaraiDetail({ awards }: { awards: string }) { 'font-multilingual mx-auto flex w-full max-w-3xl flex-col space-y-12 py-24 text-left font-extralight md:py-48' )} > -

{t('about.003.title')}

+

{t('about.003.title')}

{t('about.003.para001')}

@@ -76,7 +76,7 @@ export default function AboutNaraiDetail({ awards }: { awards: string }) { 'font-multilingual mx-auto flex w-full max-w-screen-xl flex-col space-y-12 py-24 text-left font-extralight md:py-48' )} > -
+

{t('about.awards.title')}

{t('about.awards.subtitle')}

@@ -104,7 +104,7 @@ export default function AboutNaraiDetail({ awards }: { awards: string }) { src={AboutImage003} priority={true} alt="A picture of the exterior of the brewery building." - className={clsx('h-full w-full object-cover')} + className={clsx('aspect-square h-full w-full object-cover md:aspect-auto')} />
@@ -127,7 +127,7 @@ export default function AboutNaraiDetail({ awards }: { awards: string }) { src={AboutImage004} priority={true} alt="A picture of the rice fields and mountains of Nagano." - className={clsx('h-full w-full object-cover')} + className={clsx('aspect-square h-full w-full object-cover md:aspect-auto')} />
@@ -150,7 +150,7 @@ export default function AboutNaraiDetail({ awards }: { awards: string }) { src={AboutImage005} priority={true} alt="A picture of the interior of the brewery." - className={clsx('h-full w-full object-cover')} + className={clsx('aspect-square h-full w-full object-cover md:aspect-auto')} />
@@ -182,7 +182,7 @@ export default function AboutNaraiDetail({ awards }: { awards: string }) { src={AboutImage006} priority={true} alt="A picture of Irie-san." - className={clsx('h-full w-full object-cover')} + className={clsx('aspect-square h-full w-full object-cover md:aspect-auto')} />
diff --git a/app/[locale]/page.tsx b/app/[locale]/page.tsx index bca541295..68e1736fb 100644 --- a/app/[locale]/page.tsx +++ b/app/[locale]/page.tsx @@ -60,7 +60,7 @@ export default async function HomePage({
-
+
diff --git a/components/cart/modal.tsx b/components/cart/modal.tsx index 972ddfaa0..a7c2fcd8c 100644 --- a/components/cart/modal.tsx +++ b/components/cart/modal.tsx @@ -63,7 +63,7 @@ export default function CartModal({ return ( <>
- diff --git a/components/grid/homepage-products.tsx b/components/grid/homepage-products.tsx index 08b504227..1e1d2e6c1 100644 --- a/components/grid/homepage-products.tsx +++ b/components/grid/homepage-products.tsx @@ -19,7 +19,7 @@ function HomepageProductsItem({ item, priority }: { item: Product; priority?: bo )} > -
+ -
-
+ +
+ +
diff --git a/components/layout/newsletter-footer.tsx b/components/layout/newsletter-footer.tsx index 66a1f0fef..98a0862a2 100644 --- a/components/layout/newsletter-footer.tsx +++ b/components/layout/newsletter-footer.tsx @@ -7,7 +7,7 @@ export default function NewsletterSignup() { return (
-
+

{t('newsletter.title')}

{t('footer.newsletter.promo')}
@@ -23,7 +23,7 @@ export default function NewsletterSignup() { +

{t('newsletter.title')}

{t('newsletter.description')}
-
-

shop list

+
+

shop list

{t('shops.subtitle')}

-
+