diff --git a/packages/volto-blocks/src/components/blocks/CallToAction/Edit.tsx b/packages/volto-blocks/src/components/blocks/CallToAction/Edit.tsx index ba62d90..0efbf3b 100644 --- a/packages/volto-blocks/src/components/blocks/CallToAction/Edit.tsx +++ b/packages/volto-blocks/src/components/blocks/CallToAction/Edit.tsx @@ -15,7 +15,7 @@ import blockIcon from '@redturtle/volto-blocks/icons/calltoaction.svg'; import type { CallToActionData } from '@redturtle/volto-blocks/components/blocks/CallToAction/schema'; import config from '@plone/registry'; -import CTA from '../commons/CTA'; +import CTA from '@redturtle/volto-blocks/components/blocks/commons/CTA'; type CallToActionEditProps = BlockEditProps & { data: CallToActionData; diff --git a/packages/volto-blocks/src/components/blocks/CallToAction/View.tsx b/packages/volto-blocks/src/components/blocks/CallToAction/View.tsx index 55dde00..2ed0f9e 100644 --- a/packages/volto-blocks/src/components/blocks/CallToAction/View.tsx +++ b/packages/volto-blocks/src/components/blocks/CallToAction/View.tsx @@ -6,7 +6,7 @@ import styles from '@redturtle/volto-blocks/components/blocks/CallToAction/style import type { CallToActionData } from '@redturtle/volto-blocks/components/blocks/CallToAction/schema'; import config from '@plone/registry'; -import CTA from '../commons/CTA'; +import CTA from '@redturtle/volto-blocks/components/blocks/commons/CTA'; type Props = BlockViewProps & { data: CallToActionData; diff --git a/packages/volto-blocks/src/components/blocks/CardWithImages/Edit.tsx b/packages/volto-blocks/src/components/blocks/CardWithImages/Edit.tsx index 0536964..6f1e939 100644 --- a/packages/volto-blocks/src/components/blocks/CardWithImages/Edit.tsx +++ b/packages/volto-blocks/src/components/blocks/CardWithImages/Edit.tsx @@ -15,7 +15,7 @@ import blockIcon from '@redturtle/volto-blocks/icons/cardwithimages.svg'; import type { CardWithImagesData } from '@redturtle/volto-blocks/components/blocks/CardWithImages/schema'; import config from '@plone/registry'; -import CTA from '../commons/CTA'; +import CTA from '@redturtle/volto-blocks/components/blocks/commons/CTA'; type CardWithImagesEditProps = BlockEditProps & { data: CardWithImagesData; diff --git a/packages/volto-blocks/src/components/blocks/CardWithImages/View.tsx b/packages/volto-blocks/src/components/blocks/CardWithImages/View.tsx index 1f9e709..3002ab7 100644 --- a/packages/volto-blocks/src/components/blocks/CardWithImages/View.tsx +++ b/packages/volto-blocks/src/components/blocks/CardWithImages/View.tsx @@ -7,7 +7,7 @@ import styles from '@redturtle/volto-blocks/components/blocks/CardWithImages/sty import type { CardWithImagesData } from '@redturtle/volto-blocks/components/blocks/CardWithImages/schema'; import config from '@plone/registry'; -import CTA from '../commons/CTA'; +import CTA from '@redturtle/volto-blocks/components/blocks/commons/CTA'; type Props = BlockViewProps & { data: CardWithImagesData; diff --git a/packages/volto-blocks/src/components/blocks/IconsAndText/Edit.tsx b/packages/volto-blocks/src/components/blocks/IconsAndText/Edit.tsx index e46bc19..6ce98d4 100644 --- a/packages/volto-blocks/src/components/blocks/IconsAndText/Edit.tsx +++ b/packages/volto-blocks/src/components/blocks/IconsAndText/Edit.tsx @@ -15,7 +15,7 @@ import { defineMessages, useIntl } from 'react-intl'; import { v4 as uuid } from 'uuid'; import config from '@plone/registry'; -import CTA from '../commons/CTA'; +import CTA from '@redturtle/volto-blocks/components/blocks/commons/CTA'; type IconsAndTextEditProps = BlockEditProps & { data: IconsAndTextData; diff --git a/packages/volto-blocks/src/components/blocks/IconsAndText/View.tsx b/packages/volto-blocks/src/components/blocks/IconsAndText/View.tsx index 070a4b3..976f5bb 100644 --- a/packages/volto-blocks/src/components/blocks/IconsAndText/View.tsx +++ b/packages/volto-blocks/src/components/blocks/IconsAndText/View.tsx @@ -5,7 +5,7 @@ import ViewItem from '@redturtle/volto-blocks/components/blocks/IconsAndText/Vie import type { IconsAndTextData } from '@redturtle/volto-blocks/components/blocks/IconsAndText/schema'; import styles from '@redturtle/volto-blocks/components/blocks/IconsAndText/styles.module.scss'; import cx from 'classnames'; -import CTA from '../commons/CTA'; +import CTA from '@redturtle/volto-blocks/components/blocks/commons/CTA'; type Props = BlockViewProps & { data: IconsAndTextData; diff --git a/packages/volto-blocks/src/components/blocks/PageIntro/Edit.tsx b/packages/volto-blocks/src/components/blocks/PageIntro/Edit.tsx index 5681ba9..12f15f4 100644 --- a/packages/volto-blocks/src/components/blocks/PageIntro/Edit.tsx +++ b/packages/volto-blocks/src/components/blocks/PageIntro/Edit.tsx @@ -15,7 +15,7 @@ import blockIcon from '@redturtle/volto-blocks/icons/pageintro.svg'; import type { PageIntroData } from '@redturtle/volto-blocks/components/blocks/PageIntro/schema'; import config from '@plone/registry'; -import CTA from '../commons/CTA'; +import CTA from '@redturtle/volto-blocks/components/blocks/commons/CTA'; type PageIntroEditProps = BlockEditProps & { data: PageIntroData; diff --git a/packages/volto-blocks/src/components/blocks/PageIntro/View.tsx b/packages/volto-blocks/src/components/blocks/PageIntro/View.tsx index 055d5bb..67bbbd8 100644 --- a/packages/volto-blocks/src/components/blocks/PageIntro/View.tsx +++ b/packages/volto-blocks/src/components/blocks/PageIntro/View.tsx @@ -6,7 +6,7 @@ import styles from '@redturtle/volto-blocks/components/blocks/PageIntro/styles.m import type { PageIntroData } from '@redturtle/volto-blocks/components/blocks/PageIntro/schema'; import config from '@plone/registry'; -import CTA from '../commons/CTA'; +import CTA from '@redturtle/volto-blocks/components/blocks/commons/CTA'; type Props = BlockViewProps & { data: PageIntroData; diff --git a/packages/volto-blocks/src/components/blocks/Testimonials/Edit.tsx b/packages/volto-blocks/src/components/blocks/Testimonials/Edit.tsx index 9c57d01..acef2da 100644 --- a/packages/volto-blocks/src/components/blocks/Testimonials/Edit.tsx +++ b/packages/volto-blocks/src/components/blocks/Testimonials/Edit.tsx @@ -15,7 +15,7 @@ import blockIcon from '@redturtle/volto-blocks/icons/text7.svg'; import type { TestimonialsData } from '@redturtle/volto-blocks/components/blocks/Testimonials/schema'; import config from '@plone/registry'; -import CTA from '../commons/CTA'; +import CTA from '@redturtle/volto-blocks/components/blocks/commons/CTA'; type TestimonialsEditProps = BlockEditProps & { data: TestimonialsData; diff --git a/packages/volto-blocks/src/components/blocks/Testimonials/View.tsx b/packages/volto-blocks/src/components/blocks/Testimonials/View.tsx index 7bf37e9..493d027 100644 --- a/packages/volto-blocks/src/components/blocks/Testimonials/View.tsx +++ b/packages/volto-blocks/src/components/blocks/Testimonials/View.tsx @@ -6,7 +6,7 @@ import styles from '@redturtle/volto-blocks/components/blocks/Testimonials/style import type { TestimonialsData } from '@redturtle/volto-blocks/components/blocks/Testimonials/schema'; import config from '@plone/registry'; -import CTA from '../commons/CTA'; +import CTA from '@redturtle/volto-blocks/components/blocks/commons/CTA'; type Props = BlockViewProps & { data: TestimonialsData; diff --git a/packages/volto-blocks/src/components/blocks/commons/CTA.tsx b/packages/volto-blocks/src/components/blocks/commons/CTA.tsx index 51e0956..846a5ca 100644 --- a/packages/volto-blocks/src/components/blocks/commons/CTA.tsx +++ b/packages/volto-blocks/src/components/blocks/commons/CTA.tsx @@ -4,7 +4,7 @@ import { UniversalLink } from '@plone/volto/components'; const CTA = (props: ComponentProps) => { const { href, linkTitle, onClick, openLinkInNewTab } = props; return ( -
+