mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
wip: Saving work
This commit is contained in:
@@ -12,8 +12,8 @@ export default function Disclosures() {
|
||||
{t('disclosurePage.title')}
|
||||
</h4>
|
||||
<div className="mx-auto max-w-4xl">
|
||||
<div className="font-multilingual my-12 text-lg">
|
||||
<section className="font-multilingual mb-36 mt-12 flex flex-col space-y-6 text-lg md:space-y-3">
|
||||
<div className="font-multilingual my-12">
|
||||
<section className="font-multilingual mb-36 mt-12 flex flex-col space-y-6 text-base md:space-y-3">
|
||||
<div className="flex flex-col space-y-2 md:flex-row md:space-x-3 md:space-y-0">
|
||||
<div className="md:w-1/3">{t('disclosurePage.distributor.label')}</div>
|
||||
<div className="md:w-2/3">
|
||||
|
@@ -8,7 +8,7 @@ import { getCart, getPage } from 'lib/shopify';
|
||||
import { cookies } from 'next/headers';
|
||||
import { notFound } from 'next/navigation';
|
||||
import { Suspense } from 'react';
|
||||
import ShopsTitle from './ShopsTitle';
|
||||
import ShopsNav from './shops-nav';
|
||||
|
||||
export const runtime = 'edge';
|
||||
|
||||
@@ -50,9 +50,9 @@ export default async function Page({ params }: { params: { locale?: SupportedLoc
|
||||
<div>
|
||||
<Navbar cart={cart} locale={params?.locale} compact />
|
||||
<div className="mx-auto max-w-xl px-6 pb-24 pt-12 md:pb-48 md:pt-24">
|
||||
<ShopsTitle />
|
||||
<h2 className="mb-8 text-3xl font-medium">{page.title}</h2>
|
||||
<Prose className="" html={page.body as string} />
|
||||
<ShopsNav />
|
||||
<h2 className="font-multilingual mb-8 text-3xl font-medium">{page.title}</h2>
|
||||
<Prose html={page.body as string} />
|
||||
</div>
|
||||
|
||||
<Suspense>
|
||||
|
@@ -3,11 +3,11 @@
|
||||
import { useTranslations } from 'next-intl';
|
||||
import Link from 'next/link';
|
||||
|
||||
export default function ShopsTitle() {
|
||||
export default function ShopsNav() {
|
||||
const t = useTranslations('Index');
|
||||
return (
|
||||
<div>
|
||||
<div className="flex flex-row items-baseline space-x-6 pb-12">
|
||||
<div className="font-multilingual flex flex-row items-baseline space-x-6 pb-12">
|
||||
<Link href="/#shops">
|
||||
<span className="flex flex-row items-center space-x-1.5">
|
||||
<span>←</span>
|
||||
@@ -15,7 +15,7 @@ export default function ShopsTitle() {
|
||||
</span>
|
||||
</Link>
|
||||
<div>|</div>
|
||||
<div className="font-medium">{t('shops.title')}</div>
|
||||
<div className="font-multilingual font-medium">{t('shops.title')}</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
Reference in New Issue
Block a user