diff --git a/app/[locale]/about/about-narai-detail.tsx b/app/[locale]/about/about-narai-detail.tsx index 45167c37c..f75cbd291 100644 --- a/app/[locale]/about/about-narai-detail.tsx +++ b/app/[locale]/about/about-narai-detail.tsx @@ -35,8 +35,8 @@ export default function AboutNaraiDetail({ awards }: { awards: string }) { )} >

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

-

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

-

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

+

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

+

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

@@ -54,7 +54,7 @@ export default function AboutNaraiDetail({ awards }: { awards: string }) { )} >

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

-

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

+

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

A picture of the interior of the brewery.
diff --git a/app/[locale]/bar/images/bar-image-001.jpg b/app/[locale]/bar/images/bar-image-001.jpg new file mode 100644 index 000000000..5eed8f0ab Binary files /dev/null and b/app/[locale]/bar/images/bar-image-001.jpg differ diff --git a/app/[locale]/bar/images/bar-image-002.jpg b/app/[locale]/bar/images/bar-image-002.jpg new file mode 100644 index 000000000..f5599afac Binary files /dev/null and b/app/[locale]/bar/images/bar-image-002.jpg differ diff --git a/app/[locale]/bar/images/bar-image-003.jpg b/app/[locale]/bar/images/bar-image-003.jpg new file mode 100644 index 000000000..a57793a6a Binary files /dev/null and b/app/[locale]/bar/images/bar-image-003.jpg differ diff --git a/app/[locale]/bar/images/bar-image-004.jpg b/app/[locale]/bar/images/bar-image-004.jpg new file mode 100644 index 000000000..27d012dac Binary files /dev/null and b/app/[locale]/bar/images/bar-image-004.jpg differ diff --git a/app/[locale]/bar/images/bar-image-005.jpg b/app/[locale]/bar/images/bar-image-005.jpg new file mode 100644 index 000000000..8f7d34748 Binary files /dev/null and b/app/[locale]/bar/images/bar-image-005.jpg differ diff --git a/app/[locale]/bar/images/bar-image-006.jpg b/app/[locale]/bar/images/bar-image-006.jpg new file mode 100644 index 000000000..3540e6545 Binary files /dev/null and b/app/[locale]/bar/images/bar-image-006.jpg differ diff --git a/app/[locale]/bar/layout.tsx b/app/[locale]/bar/layout.tsx new file mode 100644 index 000000000..16fd7989e --- /dev/null +++ b/app/[locale]/bar/layout.tsx @@ -0,0 +1,5 @@ +import { Suspense } from 'react'; + +export default function Layout({ children }: { children: React.ReactNode }) { + return {children}; +} diff --git a/app/[locale]/bar/page.tsx b/app/[locale]/bar/page.tsx new file mode 100644 index 000000000..0e1602ce9 --- /dev/null +++ b/app/[locale]/bar/page.tsx @@ -0,0 +1,41 @@ +import Footer from 'components/layout/footer'; +import { SupportedLocale } from 'components/layout/navbar/language-control'; + +import Navbar from 'components/layout/navbar'; +import { getCart } from 'lib/shopify'; +import { cookies } from 'next/headers'; +import { Suspense } from 'react'; +import SagyobarDetail from './sagyobar-detail'; + +export const runtime = 'edge'; +const { SITE_NAME } = process.env; + +export const metadata = { + title: SITE_NAME, + description: SITE_NAME, + openGraph: { + type: 'website' + } +}; + +export default async function Page({ params }: { params: { locale?: SupportedLocale } }) { + const cartId = cookies().get('cartId')?.value; + let cart; + + if (cartId) { + cart = await getCart(cartId); + } + + return ( +
+ +
+ +
+ + +
+ +
+ ); +} diff --git a/app/[locale]/bar/sagyobar-detail.tsx b/app/[locale]/bar/sagyobar-detail.tsx new file mode 100644 index 000000000..e0e50489e --- /dev/null +++ b/app/[locale]/bar/sagyobar-detail.tsx @@ -0,0 +1,153 @@ +'use client'; +import clsx from 'clsx'; +import { useTranslations } from 'next-intl'; +import Image from 'next/image'; +import Link from 'next/link'; +import BarImage001 from './images/bar-image-001.jpg'; +import BarImage002 from './images/bar-image-002.jpg'; +import BarImage003 from './images/bar-image-003.jpg'; +import BarImage004 from './images/bar-image-004.jpg'; +import BarImage005 from './images/bar-image-005.jpg'; +import BarImage006 from './images/bar-image-006.jpg'; + +export default function SagyobarDetail() { + const t = useTranslations('Index'); + + return ( +
+
+ A picture of the exterior of the bar building. +
+ +
+
+

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

+

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

+
+
+

{t('bar.001.para001')}

+

{t('bar.001.para002')}

+
+
+ +
+ A picture of the bar building. + A picture of the exterior of the bar building. + A picture of the interior of the bar. + +
+
+

{t('bar.002')}

+
+
+ +
+ A picture of the interior of the bar. + +
+
+

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

+
+
+

{t('bar.003.body')}

+
+
+
+
+ +
+
+
+
+
+

{t('bar.access.title')}

+
+

{t('bar.access.para001')}

+

{t('bar.access.para002')}

+

{t('bar.access.para003')}

+

{t('bar.access.para004')}

+

{t('bar.access.para005')}

+

{t('bar.access.para006')}

+

{t('bar.access.para007')}

+
+
+ +
+
+
+
+

{t('bar.hours.title')}

+
+

{t('bar.hours.para001')}

+

{t('bar.hours.para002')}

+

{t('bar.hours.para003')}

+
+
+ +
+
+
+
+

{t('bar.menu.title')}

+
+

+ + {t('bar.menu.para001')} + +

+
+
+ +
+
+
+
+
+

{t('bar.clerk.title')}

+

{t('bar.clerk.body')}

+
+ + A picture of the interior of the bar. +
+
+
+ ); +} diff --git a/app/[locale]/error.tsx b/app/[locale]/error.tsx index e0a7416a3..633aa9c93 100644 --- a/app/[locale]/error.tsx +++ b/app/[locale]/error.tsx @@ -2,14 +2,13 @@ export default function Error({ reset }: { reset: () => void }) { return ( -
+

Oh no!

- There was an issue with our storefront. This could be a temporary issue, please try your - action again. + There was an issue with our store. This could be a temporary issue, please try again.