feat: landing (#7) #21

Merged
primakov merged 11 commits from feat/landing into main 2024-11-10 11:50:20 +03:00
4 changed files with 2 additions and 7 deletions
Showing only changes of commit 10854c836b - Show all commits

View File

@ -1 +0,0 @@
export { default as DemoVideo } from './demo.mp4';

View File

@ -1,6 +1,5 @@
import React, { FC } from 'react';
import { Box, Heading, Text, Center, VStack, BoxProps } from '@chakra-ui/react';
import { DemoVideo } from '../../../assets/videos';
import { DemoVideoPosterImg } from '../../../assets/images';
import { CtaButton, SiteLogo, PageSection } from '../';
@ -11,7 +10,7 @@ export const HeroSection: FC<HeroSectionProps> = ({ flexShrink }) => {
<Box flexShrink={flexShrink} as='header' pos='relative' zIndex={0}>
<Box
as='video'
src={DemoVideo}
src={`${__webpack_public_path__}/remote-assets/demo.mp4`}
poster={DemoVideoPosterImg}
autoPlay
loop

5
types.d.ts vendored
View File

@ -16,7 +16,4 @@ declare module "*.webp" {
export = value;
}
declare module '*.mp4' {
const src: string;
export default src;
}
declare const __webpack_public_path__: string;