cover.tsx

src/components/cover.tsx
import { 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?: string
imageAlt?: string
imageClassName?: string
children?: React.ReactNode
overlayColor?: string
backgroundColor?: string
height?: string

Showing the first 20 lines.

Get full code

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC