Skip to content

Commit

Permalink
feat(update): product setup
Browse files Browse the repository at this point in the history
  • Loading branch information
kooya3 committed Sep 7, 2024
1 parent 3ee6985 commit 2eceabf
Show file tree
Hide file tree
Showing 8 changed files with 96 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/><link rel="icon" href="data:," data-placeholder-favicon/><script defer="defer" src="/admin/styles.31f3d4bf2bbeae911e3f.js"></script><script defer="defer" src="/admin/main.6e839b0314db5eebab2d.js"></script><link href="/admin/styles.7094867468f7520dadc8.css" rel="stylesheet"></head><body><div id="app"></div><div id="portal"></div></body></html>
<!doctype html><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/><link rel="icon" href="data:," data-placeholder-favicon/><script defer="defer" src="/admin/styles.31f3d4bf2bbeae911e3f.js"></script><script defer="defer" src="/admin/main.8f38c17ce5bbc03fa35d.js"></script><link href="/admin/styles.7094867468f7520dadc8.css" rel="stylesheet"></head><body><div id="app"></div><div id="portal"></div></body></html>
84 changes: 84 additions & 0 deletions build/main.8f38c17ce5bbc03fa35d.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/app/(pages)/checkout/CheckoutItem/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
min-height: 80px;
padding: 8px;
background-color: var(--gray-4);
flex-grow: 1;
}

.media {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@google-pay/button-react": "^3.1.0",
"@headlessui/react": "^2.1.3",
"@heroicons/react": "^2.1.5",
"@next/third-parties": "^14.2.7",
"@next/third-parties": "^14.2.8",
"@payloadcms/bundler-webpack": "^1.0.0",
"@payloadcms/db-mongodb": "^1.0.0",
"@payloadcms/plugin-cloud": "^3.0.1",
Expand Down
3 changes: 3 additions & 0 deletions src/app/_graphql/products.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ export const PRODUCT = `
docs {
id
title
bcProductID
${PRODUCT_CATEGORIES}
layout {
${CALL_TO_ACTION}
${CONTENT}
${MEDIA_BLOCK}
${ARCHIVE_BLOCK}
}
unitPrice
inventory
enablePaywall
relatedProducts {
id
Expand Down
2 changes: 1 addition & 1 deletion src/app/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const inclusions = [

{
title: 'Online Support',
description: '24 hours a day, 7 days a week',
description: '24 hours a day, 7 days',
icon: '/assets/icons/support.svg',
},
{
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.tsbuildinfo

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1513,10 +1513,10 @@
resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.5.2.tgz#cf8db00763d9219567655b90853b7d484f3fcad6"
integrity sha512-LfTHt+hTL8w7F9hnB3H4nRasCzLD/fP+h4/GUVBTxrkMJOnh/7OZ0XbYDKO/uuWwryJS9kZjhxcruBiYwc5UDw==

"@next/third-parties@^14.2.7":
version "14.2.7"
resolved "https://registry.yarnpkg.com/@next/third-parties/-/third-parties-14.2.7.tgz#542e354cb129e5a4751fa3c28f96d00515a4d3b8"
integrity sha512-cE/1MAvmbKFZ9VCCj+Gvv21rMm/72JRTeLr24QEqCBNe17xuXyCzg9c7cRCXLdbk1VTBSALZCK9o13gbOvSMKA==
"@next/third-parties@^14.2.8":
version "14.2.8"
resolved "https://registry.yarnpkg.com/@next/third-parties/-/third-parties-14.2.8.tgz#6464c48d56fa90f97b47074f5589557d98b4ca03"
integrity sha512-Vus4MYsb+7B2X4Mks9aCztZwgnzTxU9sHEm1Y35z7Vw1seh43ummniD9CBk7A8dVJZf8NGpx8re6YSZLkaSQiQ==
dependencies:
third-party-capital "1.0.20"

Expand Down

0 comments on commit 2eceabf

Please sign in to comment.