diff --git a/public/videos/Banner_About.mp4 b/public/videos/Banner_About.mp4 new file mode 100644 index 0000000..ac38298 Binary files /dev/null and b/public/videos/Banner_About.mp4 differ diff --git a/public/videos/Banner_About.webm b/public/videos/Banner_About.webm new file mode 100644 index 0000000..f748303 Binary files /dev/null and b/public/videos/Banner_About.webm differ diff --git a/public/videos/Banner_Community.webm b/public/videos/Banner_Community.webm new file mode 100644 index 0000000..d886859 Binary files /dev/null and b/public/videos/Banner_Community.webm differ diff --git a/public/videos/Banner_Products.mp4 b/public/videos/Banner_Products.mp4 new file mode 100644 index 0000000..877adf3 Binary files /dev/null and b/public/videos/Banner_Products.mp4 differ diff --git a/public/videos/Banner_Products.webm b/public/videos/Banner_Products.webm new file mode 100644 index 0000000..d8990eb Binary files /dev/null and b/public/videos/Banner_Products.webm differ diff --git a/src/components/primitives/link/link.module.scss b/src/components/primitives/link/link.module.scss index 1917067..9c102a9 100644 --- a/src/components/primitives/link/link.module.scss +++ b/src/components/primitives/link/link.module.scss @@ -101,49 +101,6 @@ &::before { opacity: 1; - background-image: repeating-linear-gradient( - 0deg, - currentcolor, - currentcolor tovw(4px, 'default', 3px), - transparent tovw(4px, 'default', 3px), - transparent tovw(8px, 'default', 6px), - currentcolor tovw(8px, 'default', 6px) - ), - repeating-linear-gradient( - 90deg, - currentcolor, - currentcolor tovw(4px, 'default', 3px), - transparent tovw(4px, 'default', 3px), - transparent tovw(8px, 'default', 6px), - currentcolor tovw(8px, 'default', 6px) - ), - repeating-linear-gradient( - currentcolor, - currentcolor tovw(4px, 'default', 3px), - transparent tovw(4px, 'default', 3px), - transparent tovw(8px, 'default', 6px), - currentcolor tovw(8px, 'default', 6px) - ), - repeating-linear-gradient( - 270deg, - currentcolor, - currentcolor tovw(4px, 'default', 3px), - transparent tovw(4px, 'default', 3px), - transparent tovw(8px, 'default', 6px), - currentcolor tovw(8px, 'default', 6px) - ); - } - } - - @keyframes border { - from { - background-position: 0 0, tovw(8px, 'default', 6px) 0, - 100% tovw(8px, 'default', 6px), 0 100%; - } - - to { - background-position: 0 tovw(8px, 'default', 6px), 0 0, 100% 0, - tovw(8px, 'default', 6px) 100%; } } } diff --git a/src/components/sections/about/hero/hero.module.scss b/src/components/sections/about/hero/hero.module.scss index 2fec781..0cd2409 100644 --- a/src/components/sections/about/hero/hero.module.scss +++ b/src/components/sections/about/hero/hero.module.scss @@ -9,17 +9,41 @@ display: flex; flex-direction: column; justify-content: center; - padding: tovw(100px, 'default', 50px) tovw(221px, 'default', 150px); + padding: tovw(100px, 'default', 50px) tovw(221px, 'default', 100px); max-width: 100%; min-height: calc(var(--vh) * 100); - video { - @include respond-to('mobile') { - display: none; + .video_container { + position: relative; + display: flex; + width: 100%; + + video { + @include respond-to('mobile') { + display: none; + } + + width: 100%; + margin: auto; + mix-blend-mode: screen; + z-index: 1; } - margin: 0 tovw(-35px, 'default', -35px); - mix-blend-mode: screen; + &::after { + position: absolute; + top: 0; + left: 0; + z-index: 1; + background: radial-gradient( + ellipse, + rgb(3 3 3 / 0) 55%, + rgb(3 3 3 / 1) 75%, + rgb(3 3 3 / 1) 100% + ); + width: 101%; + height: 100%; + content: ''; + } } .hero__mobile { @@ -144,7 +168,8 @@ position: absolute; top: 0; left: 0; - z-index: -1; + z-index: 2; + mix-blend-mode: screen; background: linear-gradient( 180deg, rgb(0 0 244 / 0.9) 1.63%, diff --git a/src/components/sections/about/hero/index.tsx b/src/components/sections/about/hero/index.tsx index 520ea14..7edf39e 100644 --- a/src/components/sections/about/hero/index.tsx +++ b/src/components/sections/about/hero/index.tsx @@ -11,16 +11,18 @@ const Hero = () => { return (
- +
+ +
{ playsInline={true} preload="true" > - +
{ + const heroVideoRef = useRef(null) + + // const loop = () => { + // heroVideoRef.current?.play() + // } + return (