diff --git a/web/apps/photos/src/pages/index.tsx b/web/apps/photos/src/pages/index.tsx index 68322d136..b23d205cd 100644 --- a/web/apps/photos/src/pages/index.tsx +++ b/web/apps/photos/src/pages/index.tsx @@ -22,13 +22,7 @@ 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 { CarouselProvider, DotGroup, Slide, Slider } from "pure-react-carousel"; import "pure-react-carousel/dist/react-carousel.es.css"; const Container = styled("div")` @@ -271,22 +265,42 @@ const Slideshow: React.FC = () => { const PRSExample: React.FC = () => { return ( - - I am the first Slide. - I am the second Slide. - I am the third Slide. - - Back - Next + + + I am the first Slide. + + + I am the second Slide. + + + I am the third Slide. + + + ); }; +const CustomSlider = styled(Slider)` + border: 1px solid green; +`; + +const CustomDotGroup = styled(DotGroup)` + border: 1px solid tomato; + margin-block-start: 1rem; +`; + +const SlideContents = styled("div")` + display: flex; + flex-direction: column; +`; + export const Slideshow2: React.FC = () => { return (