update to use the local version of photoswipe

This commit is contained in:
Abhinav-grd 2021-02-26 13:43:46 +05:30
parent 30106579e8
commit 38173ac326
3 changed files with 2241 additions and 876 deletions

View file

@ -20,7 +20,7 @@
"localforage": "^1.9.0",
"next": "9.5.3",
"node-forge": "^0.10.0",
"photoswipe": "https://github.com/ente-io/PhotoSwipe/tarball/master",
"photoswipe": "file:./thirdparty/photoswipe",
"react": "16.13.1",
"react-bootstrap": "^1.3.0",
"react-dom": "16.13.1",

View file

@ -11,7 +11,7 @@ import Container from 'components/Container';
import PowerSettings from 'components/power_settings';
import Head from 'next/head';
import 'bootstrap/dist/css/bootstrap.min.css';
import 'react-photoswipe/lib/photoswipe.css';
import 'photoswipe/dist/photoswipe.css';
import localForage from 'localforage';
import UploadButton from 'pages/gallery/components/UploadButton';
import FullScreenDropZone from 'components/FullScreenDropZone';
@ -189,13 +189,9 @@ export default function App({ Component, pageProps }) {
};
return (
<FullScreenDropZone
showModal={showUploadModal}
>
<FullScreenDropZone showModal={showUploadModal}>
<Head>
<title>
ente.io | Encrypted Photo Storage
</title>
<title>ente.io | Encrypted Photo Storage</title>
</Head>
<GlobalStyles />
<Navbar>

3105
yarn.lock

File diff suppressed because it is too large Load diff