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

Commit

Permalink
sync pilot demo
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-phan committed Sep 10, 2023
1 parent 5f550ec commit c77dfe5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions app/sections/image-gallery/image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ let ImageGalleryItem = forwardRef<HTMLImageElement, ImageGalleryItemProps>(
hideOnMobile && 'hidden sm:block',
)}
data={{url: src, altText}}
sizes={`(min-width: 45em) 50vw, 100vw`}
/>
);
},
Expand Down
12 changes: 6 additions & 6 deletions app/sections/image-gallery/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,32 +61,32 @@ export let schema: HydrogenComponentSchema = {
{
type: 'image-gallery--item',
columnSpan: 2,
src: 'https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-1.png',
src: 'https://cdn.shopify.com/s/files/1/0728/0410/6547/files/wv-hand-placed-on-the-iridescent-keys-of-a-small-piano.jpg?v=1694236467',
},
{
type: 'image-gallery--item',
hideOnMobile: true,
src: 'https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-2.png',
src: 'https://cdn.shopify.com/s/files/1/0728/0410/6547/files/wv-open-novel-with-a-hand-on-it-by-dried-flowers.jpg?v=1694236467',
},
{
type: 'image-gallery--item',
hideOnMobile: true,
src: 'https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-3.png',
src: 'https://cdn.shopify.com/s/files/1/0728/0410/6547/files/wv-creamy-cold-drink-sits-on-a-wooden-table.jpg?v=1694236467',
},
{
type: 'image-gallery--item',
hideOnMobile: true,
src: 'https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-4.png',
src: 'https://cdn.shopify.com/s/files/1/0728/0410/6547/files/wv-hands-reach-to-feed-a-flying-seagull.jpg?v=1694236467',
},
{
type: 'image-gallery--item',
hideOnMobile: true,
src: 'https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-5.png',
src: 'https://cdn.shopify.com/s/files/1/0728/0410/6547/files/wv-nati-melnychuk-5ngCICAXiH0-unsplash.jpg?v=1694231122',
},
{
type: 'image-gallery--item',
columnSpan: 2,
src: 'https://flowbite.s3.amazonaws.com/blocks/marketing-ui/content/content-gallery-6.png',
src: 'https://cdn.shopify.com/s/files/1/0728/0410/6547/files/wv-flatlay-of-a-coffee-mug-and-items-to-plan-travel.jpg?v=1694236467',
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion app/sections/testimonial/item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export let schema: HydrogenComponentSchema = {
name: 'authorImage',
label: 'Author image',
defaultValue:
'https://flowbite.s3.amazonaws.com/blocks/marketing-ui/avatars/jese-leos.png',
'https://cdn.shopify.com/s/files/1/0728/0410/6547/files/wv-fashion-model-in-fur.jpg?v=1694236467',
},
{
type: 'text',
Expand Down
1 change: 1 addition & 0 deletions app/weaverse/csp.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export function getWeaverseCsp(request: Request) {
"'self'",
'https://cdn.shopify.com',
'https://shopify.com',
'https://*.youtube.com',
...weaverseHosts,
],
styleSrc: [
Expand Down

0 comments on commit c77dfe5

Please sign in to comment.