diff --git a/src/components/JolPlayer/index.js b/src/components/JolPlayer/index.js index b723352..ad53604 100644 --- a/src/components/JolPlayer/index.js +++ b/src/components/JolPlayer/index.js @@ -7,7 +7,7 @@ const Video = ({ fileIds, posterId }) => { option={{ videoSrc: `https://dnvn.ir/api/v1/file/${fileIds}`, width: "100%", - height: window.innerWidth > 1000 ? 450 : 250, + height: window.innerWidth > 1000 ? window.innerHeight - 300 : 250, theme: "#4dd35b", language: "en", isShowMultiple: window.innerWidth > 700, diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsx index 26242bf..8d3fa7c 100644 --- a/src/components/Navbar/index.tsx +++ b/src/components/Navbar/index.tsx @@ -12,6 +12,7 @@ import { connect } from "react-redux"; import _ from "lodash"; import searchIcon from "../../assets/icons/search.png"; import searchBlackIcon from "../../assets/icons/searchBlack.svg"; +import ThemeSwitch from "../ThemeSwitch"; const useStyles = makeStyles({ list: { @@ -95,6 +96,7 @@ function Navbar(props: any) { onClick={toggleDrawer("right", true)} />