TLS features

This commit is contained in:
Alicia Sykes 2023-08-24 20:36:59 +01:00
parent 4bd3085fe9
commit 805cc41bce
3 changed files with 23 additions and 2 deletions

View File

@ -16,6 +16,12 @@ const LoaderContainer = styled(StyledCard)`
gap: 2rem; gap: 2rem;
height: 50vh; height: 50vh;
transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out;
p.loadTimeInfo {
text-align: center;
margin: 0;
color: ${colors.textColorSecondary};
opacity: 0.5;
}
&.flex { &.flex {
display: flex; display: flex;
} }
@ -46,7 +52,7 @@ const StyledSvg = styled.svg`
const Loader = (props: { show: boolean }): JSX.Element => { const Loader = (props: { show: boolean }): JSX.Element => {
return ( return (
<LoaderContainer className={props.show ? '' : 'finished'}> <LoaderContainer className={props.show ? '' : 'finished'}>
<Heading as="h4" color={colors.primary}>Fetching data...</Heading> <Heading as="h4" color={colors.primary}>Crunching data...</Heading>
<StyledSvg version="1.1" id="L7" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" <StyledSvg version="1.1" id="L7" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px"
viewBox="0 0 100 100" enableBackground="new 0 0 100 100"> viewBox="0 0 100 100" enableBackground="new 0 0 100 100">
<path fill="#fff" d="M31.6,3.5C5.9,13.6-6.6,42.7,3.5,68.4c10.1,25.7,39.2,38.3,64.9,28.1l-3.1-7.9c-21.3,8.4-45.4-2-53.8-23.3 <path fill="#fff" d="M31.6,3.5C5.9,13.6-6.6,42.7,3.5,68.4c10.1,25.7,39.2,38.3,64.9,28.1l-3.1-7.9c-21.3,8.4-45.4-2-53.8-23.3
@ -83,6 +89,10 @@ const Loader = (props: { show: boolean }): JSX.Element => {
repeatCount="indefinite" /> repeatCount="indefinite" />
</path> </path>
</StyledSvg> </StyledSvg>
<p className="loadTimeInfo">
It may take up-to a minute for all jobs to complete<br />
You can view preliminary results as they come in below
</p>
</LoaderContainer> </LoaderContainer>
); );
} }

View File

@ -195,7 +195,7 @@ const jobNames = [
'quality', 'quality',
'cookies', 'cookies',
'ssl', 'ssl',
// 'server-info', 'server-info',
'redirects', 'redirects',
'robots-txt', 'robots-txt',
'dnssec', 'dnssec',
@ -219,6 +219,9 @@ const jobNames = [
'archives', 'archives',
'block-lists', 'block-lists',
'threats', 'threats',
'tls-cipher-suites',
'tls-security-config',
'tls-client-support',
] as const; ] as const;
export const initialJobs = jobNames.map((job: string) => { export const initialJobs = jobNames.map((job: string) => {

View File

@ -481,6 +481,14 @@ const docs: Doc[] = [
], ],
screenshot: '', screenshot: '',
}, },
{
id: 'tls',
title: 'TLS Configuration',
description: '',
use: '',
resources: [],
screenshot: '',
},
// { // {
// id: '', // id: '',
// title: '', // title: '',