src/components/cover.tsximport { clsx } from 'clsx'import { Image } from '@/components/image'import { Container } from '@/components/container'import { Parallax, type ParallaxSpeed } from '@/components/parallax'import {type DOMNode,Element,type HTMLReactParserOptions,domToReact,} from 'html-react-parser'import { isTag, getAttrib } from '@/utils/parse-blocks-helpers'interface CoverProps {imageSrc?: stringimageAlt?: stringimageClassName?: stringchildren?: React.ReactNodeoverlayColor?: stringbackgroundColor?: stringheight?: string
Showing the first 20 lines.
Get full code