Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
sync demo
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-phan committed Oct 3, 2023
1 parent 81cb84c commit 50eb07b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions app/sections/testimonial/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ interface TestimonialProps extends HydrogenComponentProps {

let Testimonial = forwardRef<HTMLElement, TestimonialProps>((props, ref) => {
let {heading, description, children, ...rest} = props;
console.log('Testimonial props', props);
return (
<section ref={ref} {...rest}>
<div className="py-8 px-4 mx-auto max-w-screen-xl lg:py-16 lg:px-6">
Expand Down Expand Up @@ -64,6 +65,11 @@ export let schema: HydrogenComponentSchema = {
defaultValue: 'Testimonials',
placeholder: 'Testimonials',
},
{
type: 'product',
name: 'product',
label: 'Product',
},
{
type: 'textarea',
name: 'description',
Expand Down
2 changes: 1 addition & 1 deletion app/weaverse/schema.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type {HydrogenThemeSchema} from '@weaverse/hydrogen';

export let themeSchema: HydrogenThemeSchema = {
info: {
version: '2.2.0',
version: '2.2.2',
author: 'Weaverse',
name: 'Pilot',
authorProfilePhoto:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": false,
"sideEffects": false,
"author": "Weaverse",
"version": "2.2.2",
"version": "2.2.3",
"scripts": {
"dev": "shopify hydrogen dev --codegen-unstable --port 3456",
"build": "shopify hydrogen build",
Expand All @@ -24,7 +24,7 @@
"@shopify/cli-hydrogen": "^5.3.0",
"@shopify/hydrogen": "^2023.7.8",
"@shopify/remix-oxygen": "1.1.4",
"@weaverse/hydrogen": "1.3.3",
"@weaverse/hydrogen": "^2.0.1",
"clsx": "2.0.0",
"cross-env": "7.0.3",
"graphql": "16.8.1",
Expand Down

0 comments on commit 50eb07b

Please sign in to comment.