From 06deecba7657b6fb2312a2f1de6b17bfff5c0770 Mon Sep 17 00:00:00 2001 From: enes Date: Fri, 26 Jul 2024 13:18:05 +0200 Subject: [PATCH] chore: landing page comments cleanup --- .../landing/{LandingPage.tsx => index.tsx} | 61 +------------------ src/routes/index.tsx | 2 +- 2 files changed, 2 insertions(+), 61 deletions(-) rename src/pages/landing/{LandingPage.tsx => index.tsx} (83%) diff --git a/src/pages/landing/LandingPage.tsx b/src/pages/landing/index.tsx similarity index 83% rename from src/pages/landing/LandingPage.tsx rename to src/pages/landing/index.tsx index ec0baba..287c979 100644 --- a/src/pages/landing/LandingPage.tsx +++ b/src/pages/landing/index.tsx @@ -1,29 +1,15 @@ -import { - Box, - Button, - Container, - Link, - Typography, - useTheme -} from '@mui/material' +import { Box, Button, Container, Link, Typography } from '@mui/material' import { useEffect } from 'react' -import { useSelector } from 'react-redux' import { Outlet, useLocation, useNavigate } from 'react-router-dom' import { appPublicRoutes } from '../../routes' -import { State } from '../../store/rootReducer' import { saveVisitedLink } from '../../utils' import styles from './style.module.scss' import { CardComponent } from '../../components/Landing/CardComponent/CardComponent' -const bodyBackgroundColor = document.body.style.backgroundColor - export const LandingPage = () => { - const authState = useSelector((state: State) => state.auth) const navigate = useNavigate() const location = useLocation() - const theme = useTheme() - const onSignInClick = async () => { navigate(appPublicRoutes.login) } @@ -234,51 +220,6 @@ export const LandingPage = () => { GET STARTED - {/* - - Secure Document Signing - - - SIGit is an open-source and self-hostable solution for secure document - signing and verification. Code is MIT licenced and available at{' '} - - https://git.sigit.io/sig/it - - . -
-
- SIGit lets you Create, Sign and Verify from any device with a browser. -
-
- Unlike other solutions, SIGit is totally private - files are encrypted - locally, and can only be exported by named recipients. -
-
- Anyone can VERIFY the - exported document. -
-
- )} */} ) diff --git a/src/routes/index.tsx b/src/routes/index.tsx index f7ff68a..9a2a905 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -1,6 +1,6 @@ import { CreatePage } from '../pages/create' import { HomePage } from '../pages/home' -import { LandingPage } from '../pages/landing/LandingPage' +import { LandingPage } from '../pages/landing' import { Login } from '../pages/login' import { ProfilePage } from '../pages/profile' import { SettingsPage } from '../pages/settings/Settings'