Skip to content

Commit

Permalink
Update accommodation.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Justinabes007 committed Dec 18, 2024
1 parent d4abc48 commit ba541e1
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions assets/js/blocks/accommodation.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ wp.domReady(() => {
wp.blocks.registerBlockVariation("core/group", {
name: "lsx-tour-operator/units",
title: "Units",
icon: "admin-home",
icon: "admin-multisite",
category: "lsx-tour-operator",
attributes: {
metadata: {
Expand Down Expand Up @@ -104,7 +104,7 @@ wp.domReady(() => {
wp.blocks.registerBlockVariation("core/group", {
name: "lsx-tour-operator/unit-rooms",
title: "Rooms",
icon: "admin-multisite",
icon: "admin-home",
category: "lsx-tour-operator",
attributes: {
metadata: {
Expand Down Expand Up @@ -136,6 +136,7 @@ wp.domReady(() => {
wp.blocks.registerBlockVariation('core/group', {
name: 'lsx-tour-operator/rating',
title: 'Rating',
icon: "star-empty",
category: 'lsx-tour-operator',
attributes: {
metadata: {
Expand Down Expand Up @@ -173,7 +174,7 @@ wp.domReady(() => {
['core/image', {
width: '20px',
sizeSlug: 'large',
url: 'https://tour-operator.lsx.design/wp-content/uploads/2024/09/rating-icon-TO-black-20px-1.png',
url: lsxToEditor.assetsUrl + 'blocks/rating-icon-TO.png',
alt: ''
}],
['core/paragraph', {
Expand Down Expand Up @@ -326,6 +327,7 @@ wp.domReady(() => {
wp.blocks.registerBlockVariation('core/group', {
name: 'lsx-tour-operator/number-of-rooms',
title: 'Number of Rooms',
icon: "admin-multisite",
category: 'lsx-tour-operator',
attributes: {
metadata: {
Expand Down Expand Up @@ -359,7 +361,7 @@ wp.domReady(() => {
['core/image', {
width: '20px',
sizeSlug: 'large',
url: 'https://tour-operator.lsx.design/wp-content/uploads/2024/09/TO-accommodation-rooms-icon-black-52px.png',
url: lsxToEditor.assetsUrl + 'blocks/accommodation-rooms-icon.png',
alt: ''
}],
['core/paragraph', {
Expand Down Expand Up @@ -415,6 +417,7 @@ wp.domReady(() => {
wp.blocks.registerBlockVariation('core/group', {
name: 'lsx-tour-operator/checkin-time',
title: 'Check In Time',
icon: "clock",
category: 'lsx-tour-operator',
attributes: {
metadata: {
Expand Down Expand Up @@ -450,7 +453,7 @@ wp.domReady(() => {
width: '20px',
sizeSlug: 'large',
linkDestination: 'none',
url: 'https://tour-operator.lsx.design/wp-content/uploads/2024/11/check-in-check-out-time-icon-black-52px-1.svg',
url: lsxToEditor.assetsUrl + 'blocks/check-in-check-out-time.svg',
alt: '',
className: 'wp-image-122720'
}],
Expand Down Expand Up @@ -508,6 +511,7 @@ wp.domReady(() => {
wp.blocks.registerBlockVariation('core/group', {
name: 'lsx-tour-operator/checkout-time',
title: 'Check Out Time',
icon: "clock",
category: 'lsx-tour-operator',
attributes: {
metadata: {
Expand Down Expand Up @@ -543,7 +547,7 @@ wp.domReady(() => {
width: '20px',
sizeSlug: 'large',
linkDestination: 'none',
url: 'https://tour-operator.lsx.design/wp-content/uploads/2024/11/check-in-check-out-time-icon-black-52px-1.svg',
url: lsxToEditor.assetsUrl + 'blocks/check-in-check-out-time.svg',
alt: '',
className: 'wp-image-122720'
}],
Expand Down Expand Up @@ -601,6 +605,7 @@ wp.domReady(() => {
wp.blocks.registerBlockVariation('core/group', {
name: 'lsx-tour-operator/minimum-child-age',
title: 'Minimum Child Age',
icon: "id",
category: 'lsx-tour-operator',
attributes: {
metadata: {
Expand Down Expand Up @@ -636,7 +641,7 @@ wp.domReady(() => {
width: '20px',
sizeSlug: 'large',
linkDestination: 'none',
url: 'https://tour-operator.lsx.design/wp-content/uploads/2024/11/minimum-child-age-icon-black-52px-1.svg',
url: lsxToEditor.assetsUrl + 'blocks/minimum-child-age.svg',
alt: '',
className: 'wp-image-122719'
}],
Expand Down Expand Up @@ -694,6 +699,7 @@ wp.domReady(() => {
wp.blocks.registerBlockVariation('core/group', {
name: 'lsx-tour-operator/spoken-languages',
title: 'Spoken Languages',
icon: "translation",
category: 'lsx-tour-operator',
attributes: {
metadata: {
Expand Down Expand Up @@ -726,7 +732,7 @@ wp.domReady(() => {
['core/image', {
width: '20px',
sizeSlug: 'large',
url: 'https://tour-operator.lsx.design/wp-content/uploads/2024/09/spoken-languages-TO-icon-black-20px-1.png',
url: lsxToEditor.assetsUrl + 'blocks/spoken-languages.png',
alt: ''
}],
['core/paragraph', {
Expand Down Expand Up @@ -794,6 +800,7 @@ wp.domReady(() => {
wp.blocks.registerBlockVariation('core/group', {
name: 'lsx-tour-operator/accommodation-type',
title: 'Accommodation Type',
icon: "admin-multisite",
category: 'lsx-tour-operator',
attributes: {
metadata: {
Expand Down Expand Up @@ -826,7 +833,7 @@ wp.domReady(() => {
['core/image', {
width: '20px',
sizeSlug: 'large',
url: 'https://tour-operator.lsx.design/wp-content/uploads/2024/09/accommodation-type-TO-icon-black-20px-2.png',
url: lsxToEditor.assetsUrl + 'blocks/accommodation-type.png',
alt: ''
}],
['core/paragraph', {
Expand Down Expand Up @@ -884,6 +891,7 @@ wp.domReady(() => {
wp.blocks.registerBlockVariation('core/group', {
name: 'llsx-tour-operator/suggested-visitor-types',
title: 'Suggested Visitor Types',
icon: "yes-alt",
category: 'lsx-tour-operator',
attributes: {
metadata: {
Expand Down Expand Up @@ -916,7 +924,7 @@ wp.domReady(() => {
['core/image', {
width: '20px',
sizeSlug: 'large',
url: 'https://tour-operator.lsx.design/wp-content/uploads/2024/09/friendly-TO-icon-black-20px-1.png',
url: lsxToEditor.assetsUrl + 'blocks/friendly-TO-icon.png',
alt: ''
}],
['core/paragraph', {
Expand Down Expand Up @@ -983,6 +991,7 @@ wp.domReady(() => {
wp.blocks.registerBlockVariation('core/group', {
name: 'lsx-tour-operator/special-interests',
title: 'Special Interests',
icon: "camera",
category: 'lsx-tour-operator',
attributes: {
metadata: {
Expand Down Expand Up @@ -1016,7 +1025,7 @@ wp.domReady(() => {
id: 122726,
width: '20px',
sizeSlug: 'large',
url: 'https://tour-operator.lsx.design/wp-content/uploads/2024/11/special-interests-icon-black-52px-1.svg',
url: lsxToEditor.assetsUrl + 'blocks/special-interests-icon.svg',
alt: '',
linkDestination: 'none'
}],
Expand Down Expand Up @@ -1084,6 +1093,7 @@ wp.domReady(() => {
wp.blocks.registerBlockVariation('core/group', {
name: 'lsx-tour-operator/facilities',
title: 'Facilities',
icon: "food",
category: 'lsx-tour-operator',
attributes: {
metadata: {
Expand Down Expand Up @@ -1198,6 +1208,7 @@ wp.domReady(() => {
wp.blocks.registerBlockVariation('core/group', {
name: 'lsx-tour-operator/destination-to-accommodation',
title: 'Destination to Accommodation',
icon: "admin-site-alt3",
category: 'lsx-tour-operator',
attributes: {
metadata: {
Expand Down Expand Up @@ -1234,7 +1245,7 @@ wp.domReady(() => {
['core/image', {
width: '20px',
sizeSlug: 'large',
url: 'https://tour-operator.lsx.design/wp-content/uploads/2024/09/Typelocation-icon.png',
url: lsxToEditor.assetsUrl + 'blocks/Typelocation-icon.png',
alt: ''
}],
['core/paragraph', {
Expand Down

0 comments on commit ba541e1

Please sign in to comment.