feat: test landing page render (#85)

This commit is contained in:
RustamRu
2025-02-15 19:46:43 +03:00
parent 88242c5681
commit bbc96a2f27
11 changed files with 529 additions and 17 deletions

View File

@@ -10,11 +10,18 @@ import { HeroSectionProps } from './types';
export const HeroSection: FC<HeroSectionProps> = ({
data: { headline, description, video } = {},
flexShrink,
...props
}) => {
const { t } = useTranslation('~', { keyPrefix: 'dry-wash.landing' });
return (
<Box flexShrink={flexShrink} as='header' pos='relative' zIndex={0}>
<Box
flexShrink={flexShrink}
as='header'
pos='relative'
zIndex={0}
{...props}
>
<Box
as='video'
src={`${__webpack_public_path__}/remote-assets/${video}`}