mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
chore: fix repo biome lint errors (#804)
This commit is contained in:
@@ -15,14 +15,6 @@
|
||||
z-index: 30;
|
||||
}
|
||||
|
||||
.html-buffering-indicator-basic__overlay .html-buffering-indicator-basic__spinner {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.html-buffering-indicator-basic__overlay[data-visible] .html-buffering-indicator-basic__spinner {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.html-buffering-indicator-basic__spinner {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
@@ -30,6 +22,11 @@
|
||||
border-top-color: white;
|
||||
border-radius: 50%;
|
||||
animation: buffering-spin 0.8s linear infinite;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.html-buffering-indicator-basic__overlay[data-visible] .html-buffering-indicator-basic__spinner {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@keyframes buffering-spin {
|
||||
|
||||
@@ -15,14 +15,6 @@
|
||||
z-index: 30;
|
||||
}
|
||||
|
||||
.react-buffering-indicator-basic__overlay .react-buffering-indicator-basic__spinner {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.react-buffering-indicator-basic__overlay[data-visible] .react-buffering-indicator-basic__spinner {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.react-buffering-indicator-basic__spinner {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
@@ -30,6 +22,11 @@
|
||||
border-top-color: white;
|
||||
border-radius: 50%;
|
||||
animation: buffering-spin 0.8s linear infinite;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.react-buffering-indicator-basic__overlay[data-visible] .react-buffering-indicator-basic__spinner {
|
||||
display: block;
|
||||
}
|
||||
|
||||
@keyframes buffering-spin {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { useStore } from '@nanostores/react';
|
||||
import { createPlayer, Poster } from '@videojs/react';
|
||||
import { HlsVideo } from '@videojs/react/media/hls-video';
|
||||
import { MinimalVideoSkin, Video, VideoSkin, videoFeatures } from '@videojs/react/video';
|
||||
import { VJS10_DEMO_VIDEO } from '@/consts';
|
||||
import { skin } from '@/stores/homePageDemos';
|
||||
@@ -27,7 +26,6 @@ export default function HeroVideo({
|
||||
className={className}
|
||||
style={{ '--media-border-radius': `calc(var(--spacing) * 6)`, ...style } as React.CSSProperties}
|
||||
>
|
||||
{/*<HlsVideo src={VJS10_DEMO_VIDEO.hls} playsInline style={{ objectFit: 'cover' }} />*/}
|
||||
<Video src={VJS10_DEMO_VIDEO.mp4} playsInline style={{ objectFit: 'cover' }} />
|
||||
<Poster src={poster} />
|
||||
</SkinComponent>
|
||||
|
||||
@@ -76,7 +76,15 @@ export const AmazonLogo = ({ width = '1', ...props }: IconProps) => {
|
||||
};
|
||||
export const AwgeLogo = ({ width = '1', ...props }: IconProps) => {
|
||||
return (
|
||||
<svg width="128" height="36" viewBox="0 0 128 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<svg
|
||||
aria-label="Awge Logo"
|
||||
role="img"
|
||||
width="128"
|
||||
height="36"
|
||||
viewBox="0 0 128 36"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
clipRule="evenodd"
|
||||
@@ -108,7 +116,15 @@ export const ZoomLogo = ({ width = '1', ...props }: IconProps) => {
|
||||
};
|
||||
export const CourseraLogo = ({ width = '1', ...props }: IconProps) => {
|
||||
return (
|
||||
<svg width="120" height="17" viewBox="0 0 120 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<svg
|
||||
aria-label="Coursera Logo"
|
||||
role="img"
|
||||
width="120"
|
||||
height="17"
|
||||
viewBox="0 0 120 17"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
clipRule="evenodd"
|
||||
@@ -156,7 +172,15 @@ export const ConsumerReports = ({ width = '1', ...props }: IconProps) => {
|
||||
};
|
||||
export const TheOnionLogo = ({ width = '1', ...props }: IconProps) => {
|
||||
return (
|
||||
<svg width="130" height="21" viewBox="0 0 130 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<svg
|
||||
aria-label="The Onion Logo"
|
||||
role="img"
|
||||
width="130"
|
||||
height="21"
|
||||
viewBox="0 0 130 21"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
fillRule="evenodd"
|
||||
clipRule="evenodd"
|
||||
|
||||
Reference in New Issue
Block a user