From 10854c836b9c9f82e6501316760fe14e3f281045 Mon Sep 17 00:00:00 2001 From: RustamRu Date: Sun, 10 Nov 2024 11:35:39 +0300 Subject: [PATCH] feat: move demo video to remote assets (#7) --- {src/assets/videos => remote-assets}/demo.mp4 | Bin src/assets/videos/index.ts | 1 - src/components/landing/HeroSection/HeroSection.tsx | 3 +-- types.d.ts | 5 +---- 4 files changed, 2 insertions(+), 7 deletions(-) rename {src/assets/videos => remote-assets}/demo.mp4 (100%) delete mode 100644 src/assets/videos/index.ts diff --git a/src/assets/videos/demo.mp4 b/remote-assets/demo.mp4 similarity index 100% rename from src/assets/videos/demo.mp4 rename to remote-assets/demo.mp4 diff --git a/src/assets/videos/index.ts b/src/assets/videos/index.ts deleted file mode 100644 index e89e22b..0000000 --- a/src/assets/videos/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default as DemoVideo } from './demo.mp4'; \ No newline at end of file diff --git a/src/components/landing/HeroSection/HeroSection.tsx b/src/components/landing/HeroSection/HeroSection.tsx index 4816c26..412eab0 100644 --- a/src/components/landing/HeroSection/HeroSection.tsx +++ b/src/components/landing/HeroSection/HeroSection.tsx @@ -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 = ({ flexShrink }) => {