Landing page - new design implementation #122
@ -1,29 +1,15 @@
|
|||||||
import {
|
import { Box, Button, Container, Link, Typography } from '@mui/material'
|
||||||
Box,
|
|
||||||
Button,
|
|
||||||
Container,
|
|
||||||
Link,
|
|
||||||
Typography,
|
|
||||||
useTheme
|
|
||||||
} from '@mui/material'
|
|
||||||
import { useEffect } from 'react'
|
import { useEffect } from 'react'
|
||||||
import { useSelector } from 'react-redux'
|
|
||||||
import { Outlet, useLocation, useNavigate } from 'react-router-dom'
|
import { Outlet, useLocation, useNavigate } from 'react-router-dom'
|
||||||
import { appPublicRoutes } from '../../routes'
|
import { appPublicRoutes } from '../../routes'
|
||||||
import { State } from '../../store/rootReducer'
|
|
||||||
import { saveVisitedLink } from '../../utils'
|
import { saveVisitedLink } from '../../utils'
|
||||||
import styles from './style.module.scss'
|
import styles from './style.module.scss'
|
||||||
import { CardComponent } from '../../components/Landing/CardComponent/CardComponent'
|
import { CardComponent } from '../../components/Landing/CardComponent/CardComponent'
|
||||||
|
|
||||||
const bodyBackgroundColor = document.body.style.backgroundColor
|
|
||||||
|
|
||||||
export const LandingPage = () => {
|
export const LandingPage = () => {
|
||||||
const authState = useSelector((state: State) => state.auth)
|
|
||||||
const navigate = useNavigate()
|
const navigate = useNavigate()
|
||||||
const location = useLocation()
|
const location = useLocation()
|
||||||
|
|
||||||
const theme = useTheme()
|
|
||||||
|
|
||||||
const onSignInClick = async () => {
|
const onSignInClick = async () => {
|
||||||
navigate(appPublicRoutes.login)
|
navigate(appPublicRoutes.login)
|
||||||
}
|
}
|
||||||
@ -234,51 +220,6 @@ export const LandingPage = () => {
|
|||||||
GET STARTED
|
GET STARTED
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
{/* <Box>
|
|
||||||
<Typography
|
|
||||||
sx={{
|
|
||||||
fontWeight: 'bold',
|
|
||||||
marginBottom: 5,
|
|
||||||
color: bodyBackgroundColor
|
|
||||||
? theme.palette.getContrastText(bodyBackgroundColor)
|
|
||||||
: ''
|
|
||||||
}}
|
|
||||||
variant="h4"
|
|
||||||
>
|
|
||||||
Secure Document Signing
|
|
||||||
</Typography>
|
|
||||||
<Typography
|
|
||||||
sx={{
|
|
||||||
color: bodyBackgroundColor
|
|
||||||
? theme.palette.getContrastText(bodyBackgroundColor)
|
|
||||||
: ''
|
|
||||||
}}
|
|
||||||
variant="body1"
|
|
||||||
>
|
|
||||||
SIGit is an open-source and self-hostable solution for secure document
|
|
||||||
signing and verification. Code is MIT licenced and available at{' '}
|
|
||||||
<a
|
|
||||||
className="bold-link"
|
|
||||||
target="_blank"
|
|
||||||
href="https://git.sigit.io/sig/it"
|
|
||||||
>
|
|
||||||
https://git.sigit.io/sig/it
|
|
||||||
</a>
|
|
||||||
.
|
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
SIGit lets you Create, Sign and Verify from any device with a browser.
|
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
Unlike other solutions, SIGit is totally private - files are encrypted
|
|
||||||
locally, and can only be exported by named recipients.
|
|
||||||
<br />
|
|
||||||
<br />
|
|
||||||
Anyone can <Link to={appPublicRoutes.verify}>VERIFY</Link> the
|
|
||||||
exported document.
|
|
||||||
</Typography>
|
|
||||||
</Box>
|
|
||||||
)} */}
|
|
||||||
<Outlet />
|
<Outlet />
|
||||||
</Container>
|
</Container>
|
||||||
)
|
)
|
@ -1,6 +1,6 @@
|
|||||||
import { CreatePage } from '../pages/create'
|
import { CreatePage } from '../pages/create'
|
||||||
import { HomePage } from '../pages/home'
|
import { HomePage } from '../pages/home'
|
||||||
import { LandingPage } from '../pages/landing/LandingPage'
|
import { LandingPage } from '../pages/landing'
|
||||||
import { Login } from '../pages/login'
|
import { Login } from '../pages/login'
|
||||||
import { ProfilePage } from '../pages/profile'
|
import { ProfilePage } from '../pages/profile'
|
||||||
import { SettingsPage } from '../pages/settings/Settings'
|
import { SettingsPage } from '../pages/settings/Settings'
|
||||||
|
Loading…
Reference in New Issue
Block a user