π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove the bootstrap carousel
Manav Rathie5edeae3707b
diff --git a/web/apps/accounts/src/styles/global.css b/web/apps/accounts/src/styles/global.cssindex 0ea6c125da..98ad85a9b3 100644--- a/web/apps/accounts/src/styles/global.css+++ b/web/apps/accounts/src/styles/global.css@@ -150,21 +150,6 @@ body {background-color: #51cd7c;}-.carousel-inner {- padding-bottom: 50px !important;-}--.carousel-indicators li {- width: 10px;- height: 10px;- border-radius: 50%;- margin-right: 12px;-}--.carousel-indicators .active {- background-color: #51cd7c;-}-div.otp-input input {width: 36px !important;height: 36px;diff --git a/web/apps/photos/src/pages/index.tsx b/web/apps/photos/src/pages/index.tsxindex 0cf4e0798a..c789e0ae46 100644--- a/web/apps/photos/src/pages/index.tsx+++ b/web/apps/photos/src/pages/index.tsx@@ -1,29 +1,26 @@import Login from "@ente/accounts/components/Login";import SignUp from "@ente/accounts/components/SignUp";-import EnteSpinner from "@ente/shared/components/EnteSpinner";-import { getData, LS_KEYS } from "@ente/shared/storage/localStorage";-import { Button, styled, Typography, TypographyProps } from "@mui/material";-import { t } from "i18next";-import { useRouter } from "next/router";-import { useContext, useEffect, useState } from "react";-import Carousel from "react-bootstrap/Carousel";-import { AppContext } from "./_app";-import { APPS } from "@ente/shared/apps/constants";import { EnteLogo } from "@ente/shared/components/EnteLogo";+import EnteSpinner from "@ente/shared/components/EnteSpinner";import { PHOTOS_PAGES as PAGES } from "@ente/shared/constants/pages";import { saveKeyInSessionStore } from "@ente/shared/crypto/helpers";import ElectronAPIs from "@ente/shared/electron";import { getAlbumsURL } from "@ente/shared/network/api";import { logError } from "@ente/shared/sentry";import localForage from "@ente/shared/storage/localForage";+import { getData, LS_KEYS } from "@ente/shared/storage/localStorage";import { getToken } from "@ente/shared/storage/localStorage/helpers";import { getKey, SESSION_KEYS } from "@ente/shared/storage/sessionStorage";+import { Button, styled, Typography, TypographyProps } from "@mui/material";+import { t } from "i18next";import isElectron from "is-electron";-import { Trans } from "react-i18next";-+import { useRouter } from "next/router";import { CarouselProvider, DotGroup, Slide, Slider } from "pure-react-carousel";import "pure-react-carousel/dist/react-carousel.es.css";+import { useContext, useEffect, useState } from "react";+import { Trans } from "react-i18next";+import { AppContext } from "./_app";const Container = styled("div")`display: flex;@@ -189,7 +186,7 @@ export default function LandingPage() {<><SlideContainer><EnteLogo height={24} sx={{ mb: 8 }} />- {true ? <PRSExample /> : <Slideshow />}+ <Slideshow /></SlideContainer><MobileBox><Button@@ -223,46 +220,6 @@ export default function LandingPage() {}const Slideshow: React.FC = () => {- return (- <Carousel controls={false}>- <Carousel.Item>- <Img- src="/images/onboarding-lock/1x.png"- srcSet="/images/onboarding-lock/2x.png 2x,- /images/onboarding-lock/3x.png 3x"- />- <FeatureText>- <Trans i18nKey={"HERO_SLIDE_1_TITLE"} />- </FeatureText>- <TextContainer>{t("HERO_SLIDE_1")}</TextContainer>- </Carousel.Item>- <Carousel.Item>- <Img- src="/images/onboarding-safe/1x.png"- srcSet="/images/onboarding-safe/2x.png 2x,- /images/onboarding-safe/3x.png 3x"- />- <FeatureText>- <Trans i18nKey={"HERO_SLIDE_2_TITLE"} />- </FeatureText>- <TextContainer>{t("HERO_SLIDE_2")}</TextContainer>- </Carousel.Item>- <Carousel.Item>- <Img- src="/images/onboarding-sync/1x.png"- srcSet="/images/onboarding-sync/2x.png 2x,- /images/onboarding-sync/3x.png 3x"- />- <FeatureText>- <Trans i18nKey={"HERO_SLIDE_3_TITLE"} />- </FeatureText>- <TextContainer>{t("HERO_SLIDE_3")}</TextContainer>- </Carousel.Item>- </Carousel>- );-};--const PRSExample: React.FC = () => {return (<CarouselProvidernaturalSlideWidth={400}