diff --git a/web/apps/photos/package.json b/web/apps/photos/package.json index e0098cd36..8732296ab 100644 --- a/web/apps/photos/package.json +++ b/web/apps/photos/package.json @@ -45,6 +45,7 @@ "p-queue": "^7.1.0", "photoswipe": "file:./thirdparty/photoswipe", "piexifjs": "^1.0.6", + "pure-react-carousel": "^1.30.1", "react-bootstrap": "^1.3.0", "react-datepicker": "^4.16.0", "react-dropzone": "^11.2.4", diff --git a/web/apps/photos/src/pages/index.tsx b/web/apps/photos/src/pages/index.tsx index 863af3a64..cfda89412 100644 --- a/web/apps/photos/src/pages/index.tsx +++ b/web/apps/photos/src/pages/index.tsx @@ -22,6 +22,15 @@ import { getKey, SESSION_KEYS } from "@ente/shared/storage/sessionStorage"; import isElectron from "is-electron"; import { Trans } from "react-i18next"; +import { + ButtonBack, + ButtonNext, + CarouselProvider, + Slide, + Slider, +} from "pure-react-carousel"; +import "pure-react-carousel/dist/react-carousel.es.css"; + const Container = styled("div")` display: flex; flex: 1; @@ -186,7 +195,7 @@ export default function LandingPage() { <> - + {true ? : }