diff --git a/web/src/components/About/style.js b/web/src/components/About/style.js
index 903bad6..ab52aff 100644
--- a/web/src/components/About/style.js
+++ b/web/src/components/About/style.js
@@ -20,7 +20,7 @@ export const HeaderSection = styled.section`
}
@media (max-width: 930px) {
- font-size: 24px;
+ font-size: 22px;
padding: 10px 20px;
img {
diff --git a/web/src/components/Add/helpers.js b/web/src/components/Add/helpers.js
index a4a1d59..1d6260d 100644
--- a/web/src/components/Add/helpers.js
+++ b/web/src/components/Add/helpers.js
@@ -4,6 +4,7 @@ import ptt from 'parse-torrent-title'
export const getMoviePosters = (movieName, language = 'en') => {
const url = 'http://api.themoviedb.org/3/search/multi'
+ const imgHost = language == 'ru' ? 'http://imagetmdb.com' : 'http://image.tmdb.org' // https:
return axios
.get(url, {
@@ -15,7 +16,7 @@ export const getMoviePosters = (movieName, language = 'en') => {
},
})
.then(({ data: { results } }) =>
- results.filter(el => el.poster_path).map(el => `https://image.tmdb.org/t/p/w300${el.poster_path}`),
+ results.filter(el => el.poster_path).map(el => `${imgHost}/t/p/w300${el.poster_path}`),
)
.catch(() => null)
}
diff --git a/web/src/components/App/index.jsx b/web/src/components/App/index.jsx
index 52ef5ac..06b397e 100644
--- a/web/src/components/App/index.jsx
+++ b/web/src/components/App/index.jsx
@@ -22,7 +22,7 @@ import { ThemeProvider as StyledComponentsThemeProvider } from 'styled-component
import { useQuery } from 'react-query'
import { getTorrents, isStandaloneApp } from 'utils/Utils'
import GlobalStyle from 'style/GlobalStyle'
-import { lightTheme, THEME_MODES, useMaterialUITheme } from 'style/materialUISetup'
+import { /* lightTheme, */ THEME_MODES, useMaterialUITheme } from 'style/materialUISetup'
import getStyledComponentsTheme from 'style/getStyledComponentsTheme'
import checkIsIOS from 'utils/checkIsIOS'
@@ -132,9 +132,9 @@ export default function App() {
setIsDonationDialogOpen={setIsDonationDialogOpen}
/>
-
- {isDonationDialogOpen && setIsDonationDialogOpen(false)} />}
-
+ {/* */}
+ {isDonationDialogOpen && setIsDonationDialogOpen(false)} />}
+ {/* */}
{snackbarIsClosed ? checkIsIOS() && !isStandaloneApp && : }
diff --git a/web/src/components/Donate/DonateDialog.jsx b/web/src/components/Donate/DonateDialog.jsx
index d362ae9..7d3b46b 100644
--- a/web/src/components/Donate/DonateDialog.jsx
+++ b/web/src/components/Donate/DonateDialog.jsx
@@ -1,16 +1,15 @@
-import ListItem from '@material-ui/core/ListItem'
+// import ListItem from '@material-ui/core/ListItem'
import DialogTitle from '@material-ui/core/DialogTitle'
import DialogContent from '@material-ui/core/DialogContent'
import DialogActions from '@material-ui/core/DialogActions'
-import List from '@material-ui/core/List'
+// import List from '@material-ui/core/List'
import ButtonGroup from '@material-ui/core/ButtonGroup'
import Button from '@material-ui/core/Button'
import { useTranslation } from 'react-i18next'
import { StyledDialog } from 'style/CustomMaterialUiStyles'
import useOnStandaloneAppOutsideClick from 'utils/useOnStandaloneAppOutsideClick'
-const donateFrame =
- ''
+// const donateFrame = ''
export default function DonateDialog({ onClose }) {
const { t } = useTranslation()
@@ -20,20 +19,20 @@ export default function DonateDialog({ onClose }) {
{t('Donate')}
-
-
-
-
-
-
-
-
-
-
- {/* eslint-disable-next-line react/no-danger */}
-
-
-
+ {/* */}
+ {/* */}
+
+
+
+
+ {/* */}
+
+ {/* */}
+ {/* */}
+ {/* eslint-disable-next-line react/no-danger */}
+ {/* */}
+ {/* */}
+ {/*
*/}