File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
packages/components/src/templates/next/components/complex/Blockquote Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import { BiSolidQuoteAltLeft } from "react-icons/bi"
22
33import type { BlockquoteProps } from "~/interfaces"
44import { tv } from "~/lib/tv"
5- import { getTailwindVariantLayout } from "~/utils"
5+ import { getTailwindVariantLayout , isExternalUrl } from "~/utils"
66import { ComponentContent } from "../../internal/customCssClass"
77import { ImageClient } from "../Image"
88
@@ -80,7 +80,11 @@ export const Blockquote = ({
8080
8181 { imageSrc && imageAlt && (
8282 < ImageClient
83- src = { imageSrc }
83+ src = {
84+ isExternalUrl ( imageSrc ) || site . assetsBaseUrl === undefined
85+ ? imageSrc
86+ : `${ site . assetsBaseUrl } ${ imageSrc } `
87+ }
8488 alt = { imageAlt }
8589 width = "100%"
8690 className = { compoundStyles . image ( ) }
You can’t perform that action at this time.
0 commit comments