Merge branch 'master' of https://github.com/vercel/commerce into agnostic

This commit is contained in:
Luis Alvarez
2021-02-03 17:13:59 -05:00
17 changed files with 114 additions and 88 deletions

View File

@@ -65,7 +65,7 @@ export default function Pages({
page,
}: InferGetStaticPropsType<typeof getStaticProps>) {
return (
<div className="max-w-2xl mx-auto py-20">
<div className="max-w-2xl mx-8 sm:mx-auto py-20">
{page?.body && <Text html={page.body} />}
</div>
)

View File

@@ -4,10 +4,9 @@ import getAllPages from '@framework/common/get-all-pages'
import useCart from '@framework/cart/use-cart'
import usePrice from '@framework/product/use-price'
import { Layout } from '@components/common'
import { Button } from '@components/ui'
import { Button, Text } from '@components/ui'
import { Bag, Cross, Check } from '@components/icons'
import { CartItem } from '@components/cart'
import { Text } from '@components/ui'
export async function getStaticProps({
preview,