Rename v1 to web-check-live

This commit is contained in:
Alicia Sykes 2024-05-08 21:23:03 +01:00
parent e5738d1f5b
commit 7e27143a90
77 changed files with 240 additions and 240 deletions

View File

@ -1,6 +1,6 @@
--- ---
import Main from "../../v1-check/views/main.tsx" import Main from '../../web-check-live/main.tsx';
import '../../v1-check/styles/index.css'; import '../../web-check-live/styles/index.css';
export const prerender = false; export const prerender = false;

View File

@ -1,9 +1,9 @@
import { Routes, Route, Outlet } from "react-router-dom"; import { Routes, Route, Outlet } from "react-router-dom";
import Home from 'v1-check/views/Home.tsx'; import Home from 'web-check-live/views/Home.tsx';
import Results from 'v1-check/views/Results.tsx'; import Results from 'web-check-live/views/Results.tsx';
import About from 'v1-check/views/About.tsx'; import About from 'web-check-live/views/About.tsx';
import NotFound from 'v1-check/views/NotFound.tsx'; import NotFound from 'web-check-live/views/NotFound.tsx';
export default function App() { export default function App() {
return ( return (

View File

@ -2,8 +2,8 @@ import { type ReactNode, type MouseEventHandler } from 'react';
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import { keyframes } from '@emotion/react'; import { keyframes } from '@emotion/react';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { type InputSize, applySize } from 'v1-check/styles/dimensions'; import { type InputSize, applySize } from 'web-check-live/styles/dimensions';
type LoadState = 'loading' | 'success' | 'error'; type LoadState = 'loading' | 'success' | 'error';

View File

@ -1,9 +1,9 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import { type ReactNode } from 'react'; import { type ReactNode } from 'react';
import ErrorBoundary from 'v1-check/components/misc/ErrorBoundary'; import ErrorBoundary from 'web-check-live/components/misc/ErrorBoundary';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
export const StyledCard = styled.section<{ styles?: string}>` export const StyledCard = styled.section<{ styles?: string}>`
background: ${colors.backgroundLighter}; background: ${colors.backgroundLighter};

View File

@ -1,6 +1,6 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { TextSizes } from 'v1-check/styles/typography'; import { TextSizes } from 'web-check-live/styles/typography';
import type { ReactNode } from 'react'; import type { ReactNode } from 'react';
interface HeadingProps { interface HeadingProps {

View File

@ -1,7 +1,7 @@
import { type InputHTMLAttributes } from 'react'; import { type InputHTMLAttributes } from 'react';
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { type InputSize, applySize } from 'v1-check/styles/dimensions'; import { type InputSize, applySize } from 'web-check-live/styles/dimensions';
type Orientation = 'horizontal' | 'vertical'; type Orientation = 'horizontal' | 'vertical';

View File

@ -2,8 +2,8 @@ import React from 'react';
import type { ReactNode } from 'react'; import type { ReactNode } from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import Button from 'v1-check/components/Form/Button'; import Button from 'web-check-live/components/Form/Button';
interface ModalProps { interface ModalProps {
children: ReactNode; children: ReactNode;

View File

@ -1,9 +1,9 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import type { ReactNode } from 'react'; import type { ReactNode } from 'react';
import { StyledCard } from 'v1-check/components/Form/Card'; import { StyledCard } from 'web-check-live/components/Form/Card';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
const Header = styled(StyledCard)` const Header = styled(StyledCard)`
margin: 1rem auto; margin: 1rem auto;

View File

@ -1,7 +1,7 @@
import type { ReactNode } from 'react'; import type { ReactNode } from 'react';
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
export interface RowProps { export interface RowProps {
lbl: string, lbl: string,

View File

@ -1,7 +1,7 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
const Note = styled.small` const Note = styled.small`
opacity: 0.5; opacity: 0.5;

View File

@ -1,6 +1,6 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
const BlockListsCard = (props: {data: any, title: string, actionButtons: any }): JSX.Element => { const BlockListsCard = (props: {data: any, title: string, actionButtons: any }): JSX.Element => {
const blockLists = props.data.blocklists; const blockLists = props.data.blocklists;

View File

@ -1,9 +1,9 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import type { TechnologyGroup, Technology } from 'v1-check/utils/result-processor'; import type { TechnologyGroup, Technology } from 'web-check-live/utils/result-processor';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import Card from 'v1-check/components/Form/Card'; import Card from 'web-check-live/components/Form/Card';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
const Outer = styled(Card)` const Outer = styled(Card)`
grid-row: span 2 grid-row: span 2

View File

@ -1,8 +1,8 @@
import { useEffect, useState } from 'react'; import { useEffect, useState } from 'react';
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
const LearnMoreInfo = styled.p` const LearnMoreInfo = styled.p`
font-size: 0.8rem; font-size: 0.8rem;

View File

@ -1,7 +1,7 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
const cardStyles = ` const cardStyles = `
small { margin-top: 1rem; opacity: 0.5; } small { margin-top: 1rem; opacity: 0.5; }

View File

@ -1,6 +1,6 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import { ExpandableRow } from 'v1-check/components/Form/Row'; import { ExpandableRow } from 'web-check-live/components/Form/Row';
import type { Cookie } from 'v1-check/utils/result-processor'; import type { Cookie } from 'web-check-live/utils/result-processor';
export const parseHeaderCookies = (cookiesHeader: string[]): Cookie[] => { export const parseHeaderCookies = (cookiesHeader: string[]): Cookie[] => {
if (!cookiesHeader || !cookiesHeader.length) return []; if (!cookiesHeader || !cookiesHeader.length) return [];

View File

@ -1,5 +1,5 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row, { ListRow } from 'v1-check/components/Form/Row'; import Row, { ListRow } from 'web-check-live/components/Form/Row';
const styles = ` const styles = `
grid-row: span 2; grid-row: span 2;

View File

@ -1,7 +1,7 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row, { ExpandableRow, type RowProps } from 'v1-check/components/Form/Row'; import Row, { ExpandableRow, type RowProps } from 'web-check-live/components/Form/Row';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';

View File

@ -1,8 +1,8 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
const cardStyles = ` const cardStyles = `
small { small {

View File

@ -1,7 +1,7 @@
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
const cardStyles = ` const cardStyles = `
span.val { span.val {

View File

@ -1,6 +1,6 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
const Note = styled.small` const Note = styled.small`
opacity: 0.5; opacity: 0.5;

View File

@ -1,5 +1,5 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
import type { ReactNode } from 'react'; import type { ReactNode } from 'react';
const HeadersCard = (props: { data: any, title: string, actionButtons: ReactNode }): JSX.Element => { const HeadersCard = (props: { data: any, title: string, actionButtons: ReactNode }): JSX.Element => {

View File

@ -1,9 +1,9 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import type { HostNames } from 'v1-check/utils/result-processor'; import type { HostNames } from 'web-check-live/utils/result-processor';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
const Row = styled.div` const Row = styled.div`
display: flex; display: flex;

View File

@ -1,6 +1,6 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row, { type RowProps } from 'v1-check/components/Form/Row'; import Row, { type RowProps } from 'web-check-live/components/Form/Row';
const cardStyles = ''; const cardStyles = '';

View File

@ -1,5 +1,5 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
const HttpSecurityCard = (props: { data: any, title: string, actionButtons: any }): JSX.Element => { const HttpSecurityCard = (props: { data: any, title: string, actionButtons: any }): JSX.Element => {
const data = props.data; const data = props.data;

View File

@ -1,5 +1,5 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import { ExpandableRow } from 'v1-check/components/Form/Row'; import { ExpandableRow } from 'web-check-live/components/Form/Row';
const processScore = (percentile: number) => { const processScore = (percentile: number) => {
return `${Math.round(percentile * 100)}%`; return `${Math.round(percentile * 100)}%`;

View File

@ -1,8 +1,8 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
const cardStyles = ``; const cardStyles = ``;

View File

@ -1,5 +1,5 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
const cardStyles = ` const cardStyles = `
small { margin-top: 1rem; opacity: 0.5; } small { margin-top: 1rem; opacity: 0.5; }

View File

@ -1,8 +1,8 @@
import { AreaChart, Area, Tooltip, CartesianGrid, ResponsiveContainer } from 'recharts'; import { AreaChart, Area, Tooltip, CartesianGrid, ResponsiveContainer } from 'recharts';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
const cardStyles = ` const cardStyles = `
span.val { span.val {

View File

@ -1,6 +1,6 @@
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
const cardStyles = ` const cardStyles = `
div { div {

View File

@ -1,6 +1,6 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row, { type RowProps } from 'v1-check/components/Form/Row'; import Row, { type RowProps } from 'web-check-live/components/Form/Row';
const cardStyles = ` const cardStyles = `
grid-row: span 2; grid-row: span 2;

View File

@ -1,4 +1,4 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
const cardStyles = ` const cardStyles = `
overflow: auto; overflow: auto;

View File

@ -1,7 +1,7 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row, { Details } from 'v1-check/components/Form/Row'; import Row, { Details } from 'web-check-live/components/Form/Row';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
const cardStyles = ` const cardStyles = `
small { small {

View File

@ -1,6 +1,6 @@
import type { ServerInfo } from 'v1-check/utils/result-processor'; import type { ServerInfo } from 'web-check-live/utils/result-processor';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
const ServerInfoCard = (props: { data: ServerInfo, title: string, actionButtons: any }): JSX.Element => { const ServerInfoCard = (props: { data: ServerInfo, title: string, actionButtons: any }): JSX.Element => {
const info = props.data; const info = props.data;

View File

@ -1,11 +1,11 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import type { ServerLocation } from 'v1-check/utils/result-processor'; import type { ServerLocation } from 'web-check-live/utils/result-processor';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import LocationMap from 'v1-check/components/misc/LocationMap'; import LocationMap from 'web-check-live/components/misc/LocationMap';
import Flag from 'v1-check/components/misc/Flag'; import Flag from 'web-check-live/components/misc/Flag';
import { TextSizes } from 'v1-check/styles/typography'; import { TextSizes } from 'web-check-live/styles/typography';
import Row, { StyledRow } from 'v1-check/components/Form/Row'; import Row, { StyledRow } from 'web-check-live/components/Form/Row';
const cardStyles = ''; const cardStyles = '';

View File

@ -1,7 +1,7 @@
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
const cardStyles = ` const cardStyles = `
span.val { span.val {

View File

@ -1,7 +1,7 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
const styles = ` const styles = `
.content { .content {

View File

@ -1,7 +1,7 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row, { ExpandableRow } from 'v1-check/components/Form/Row'; import Row, { ExpandableRow } from 'web-check-live/components/Form/Row';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
const cardStyles = ` const cardStyles = `
max-height: 50rem; max-height: 50rem;

View File

@ -1,7 +1,7 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
const cardStyles = ` const cardStyles = `
.banner-image img { .banner-image img {

View File

@ -1,8 +1,8 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
const Row = styled.div` const Row = styled.div`
display: flex; display: flex;

View File

@ -1,8 +1,8 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
const cardStyles = ` const cardStyles = `
grid-row: span 2; grid-row: span 2;

View File

@ -1,8 +1,8 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row, { ExpandableRow } from 'v1-check/components/Form/Row'; import Row, { ExpandableRow } from 'web-check-live/components/Form/Row';
const Expandable = styled.details` const Expandable = styled.details`
margin-top: 0.5rem; margin-top: 0.5rem;

View File

@ -1,8 +1,8 @@
import { useState, useEffect } from 'react'; import { useState, useEffect } from 'react';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Button from 'v1-check/components/Form/Button'; import Button from 'web-check-live/components/Form/Button';
import { ExpandableRow } from 'v1-check/components/Form/Row'; import { ExpandableRow } from 'web-check-live/components/Form/Row';
const makeCipherSuites = (results: any) => { const makeCipherSuites = (results: any) => {
if (!results || !results.connection_info || (results.connection_info.ciphersuite || [])?.length === 0) { if (!results || !results.connection_info || (results.connection_info.ciphersuite || [])?.length === 0) {

View File

@ -1,8 +1,8 @@
import { useState, useEffect } from 'react'; import { useState, useEffect } from 'react';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Button from 'v1-check/components/Form/Button'; import Button from 'web-check-live/components/Form/Button';
import { ExpandableRow } from 'v1-check/components/Form/Row'; import { ExpandableRow } from 'web-check-live/components/Form/Row';
const makeClientSupport = (results: any) => { const makeClientSupport = (results: any) => {
if (!results?.analysis) return []; if (!results?.analysis) return [];

View File

@ -1,10 +1,10 @@
import { useState, useEffect } from 'react'; import { useState, useEffect } from 'react';
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Button from 'v1-check/components/Form/Button'; import Button from 'web-check-live/components/Form/Button';
import Row, { ExpandableRow } from 'v1-check/components/Form/Row'; import Row, { ExpandableRow } from 'web-check-live/components/Form/Row';
const Expandable = styled.details` const Expandable = styled.details`
margin-top: 0.5rem; margin-top: 0.5rem;

View File

@ -1,6 +1,6 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
const RouteRow = styled.div` const RouteRow = styled.div`
text-align: center; text-align: center;

View File

@ -1,6 +1,6 @@
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Row from 'v1-check/components/Form/Row'; import Row from 'web-check-live/components/Form/Row';
const cardStyles = ` const cardStyles = `
grid-column: span 2; grid-column: span 2;

View File

@ -1,9 +1,9 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import type { Whois } from 'v1-check/utils/result-processor'; import type { Whois } from 'web-check-live/utils/result-processor';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
const Row = styled.div` const Row = styled.div`
display: flex; display: flex;

View File

@ -1,6 +1,6 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import Button from 'v1-check/components/Form/Button'; import Button from 'web-check-live/components/Form/Button';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
const ActionButtonContainer = styled.div` const ActionButtonContainer = styled.div`
position: absolute; position: absolute;

View File

@ -1,6 +1,6 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
const ResourceListOuter = styled.ul` const ResourceListOuter = styled.ul`
list-style: none; list-style: none;

View File

@ -1,7 +1,7 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import docs, { type Doc } from 'v1-check/utils/docs'; import docs, { type Doc } from 'web-check-live/utils/docs';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
const JobDocsContainer = styled.div` const JobDocsContainer = styled.div`
p.doc-desc, p.doc-uses, ul { p.doc-desc, p.doc-uses, ul {

View File

@ -1,8 +1,8 @@
import React, { Component, type ErrorInfo, type ReactNode } from "react"; import React, { Component, type ErrorInfo, type ReactNode } from "react";
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import Card from 'v1-check/components/Form/Card'; import Card from 'web-check-live/components/Form/Card';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
interface Props { interface Props {
children: ReactNode; children: ReactNode;

View File

@ -1,5 +1,5 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
const StyledFooter = styled.footer` const StyledFooter = styled.footer`
bottom: 0; bottom: 0;

View File

@ -1,8 +1,8 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import { StyledCard } from 'v1-check/components/Form/Card'; import { StyledCard } from 'web-check-live/components/Form/Card';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
const LoaderContainer = styled(StyledCard)` const LoaderContainer = styled(StyledCard)`
margin: 0 auto 1rem auto; margin: 0 auto 1rem auto;

View File

@ -5,8 +5,8 @@ import {
Annotation, Annotation,
} from 'react-simple-maps'; } from 'react-simple-maps';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import MapFeatures from 'v1-check/assets/data/map-features.json'; import MapFeatures from 'web-check-live/assets/data/map-features.json';
interface Props { interface Props {
lat: number, lat: number,

View File

@ -1,7 +1,7 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import Card from 'v1-check/components/Form/Card'; import Card from 'web-check-live/components/Form/Card';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
import { useState, useEffect, type ReactNode } from 'react'; import { useState, useEffect, type ReactNode } from 'react';

View File

@ -1,7 +1,7 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { StyledCard } from 'v1-check/components/Form/Card'; import { StyledCard } from 'web-check-live/components/Form/Card';
const StyledSelfScanMsg = styled(StyledCard)` const StyledSelfScanMsg = styled(StyledCard)`
margin: 0px auto 1rem; margin: 0px auto 1rem;

View File

@ -1,8 +1,8 @@
import React, { useState } from 'react'; import React, { useState } from 'react';
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { Card } from 'v1-check/components/Form/Card'; import { Card } from 'web-check-live/components/Form/Card';
import Button from 'v1-check/components/Form/Button'; import Button from 'web-check-live/components/Form/Button';
const CardStyles = ` const CardStyles = `
margin: 0 auto 1rem auto; margin: 0 auto 1rem auto;

View File

@ -2,8 +2,8 @@ import { useState, useEffect } from 'react';
import { toast } from 'react-toastify'; import { toast } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css'; import 'react-toastify/dist/ReactToastify.css';
import type { LoadingState } from 'v1-check/components/misc/ProgressBar'; import type { LoadingState } from 'web-check-live/components/misc/ProgressBar';
import type { AddressType } from 'v1-check/utils/address-type-checker'; import type { AddressType } from 'web-check-live/utils/address-type-checker';
interface UseIpAddressProps<ResultType = any> { interface UseIpAddressProps<ResultType = any> {
// Unique identifier for this job type // Unique identifier for this job type

View File

@ -1,4 +1,4 @@
import type { RowProps } from 'v1-check/components/Form/Row'; import type { RowProps } from 'web-check-live/components/Form/Row';
export interface ServerLocation { export interface ServerLocation {
city: string, city: string,

View File

@ -1,13 +1,13 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
import Footer from 'v1-check/components/misc/Footer'; import Footer from 'web-check-live/components/misc/Footer';
import Nav from 'v1-check/components/Form/Nav'; import Nav from 'web-check-live/components/Form/Nav';
import Button from 'v1-check/components/Form/Button'; import Button from 'web-check-live/components/Form/Button';
import AdditionalResources from 'v1-check/components/misc/AdditionalResources'; import AdditionalResources from 'web-check-live/components/misc/AdditionalResources';
import { StyledCard } from 'v1-check/components/Form/Card'; import { StyledCard } from 'web-check-live/components/Form/Card';
import docs, { about, featureIntro, license, fairUse, supportUs } from 'v1-check/utils/docs'; import docs, { about, featureIntro, license, fairUse, supportUs } from 'web-check-live/utils/docs';
const AboutContainer = styled.div` const AboutContainer = styled.div`
width: 95vw; width: 95vw;

View File

@ -2,16 +2,16 @@ import styled from '@emotion/styled';
import { type ChangeEvent, type FormEvent, useState, useEffect } from 'react'; import { type ChangeEvent, type FormEvent, useState, useEffect } from 'react';
import { useNavigate, useLocation, type NavigateOptions } from 'react-router-dom'; import { useNavigate, useLocation, type NavigateOptions } from 'react-router-dom';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
import Input from 'v1-check/components/Form/Input' import Input from 'web-check-live/components/Form/Input'
import Button from 'v1-check/components/Form/Button'; import Button from 'web-check-live/components/Form/Button';
import { StyledCard } from 'v1-check/components/Form/Card'; import { StyledCard } from 'web-check-live/components/Form/Card';
import Footer from 'v1-check/components/misc/Footer'; import Footer from 'web-check-live/components/misc/Footer';
import FancyBackground from 'v1-check/components/misc/FancyBackground'; import FancyBackground from 'web-check-live/components/misc/FancyBackground';
import docs from 'v1-check/utils/docs'; import docs from 'web-check-live/utils/docs';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import { determineAddressType } from 'v1-check/utils/address-type-checker'; import { determineAddressType } from 'web-check-live/utils/address-type-checker';
const HomeContainer = styled.section` const HomeContainer = styled.section`
display: flex; display: flex;

View File

@ -1,12 +1,12 @@
import styled from '@emotion/styled'; import styled from '@emotion/styled';
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
import Footer from 'v1-check/components/misc/Footer'; import Footer from 'web-check-live/components/misc/Footer';
import Nav from 'v1-check/components/Form/Nav'; import Nav from 'web-check-live/components/Form/Nav';
import Button from 'v1-check/components/Form/Button'; import Button from 'web-check-live/components/Form/Button';
import { StyledCard } from 'v1-check/components/Form/Card'; import { StyledCard } from 'web-check-live/components/Form/Card';
const AboutContainer = styled.div` const AboutContainer = styled.div`
width: 95vw; width: 95vw;

View File

@ -4,69 +4,69 @@ import styled from '@emotion/styled';
import { ToastContainer } from 'react-toastify'; import { ToastContainer } from 'react-toastify';
import Masonry from 'react-masonry-css' import Masonry from 'react-masonry-css'
import colors from 'v1-check/styles/colors'; import colors from 'web-check-live/styles/colors';
import Heading from 'v1-check/components/Form/Heading'; import Heading from 'web-check-live/components/Form/Heading';
import Modal from 'v1-check/components/Form/Modal'; import Modal from 'web-check-live/components/Form/Modal';
import Footer from 'v1-check/components/misc/Footer'; import Footer from 'web-check-live/components/misc/Footer';
import Nav from 'v1-check/components/Form/Nav'; import Nav from 'web-check-live/components/Form/Nav';
import type { RowProps } from 'v1-check/components/Form/Row'; import type { RowProps } from 'web-check-live/components/Form/Row';
import Loader from 'v1-check/components/misc/Loader'; import Loader from 'web-check-live/components/misc/Loader';
import ErrorBoundary from 'v1-check/components/misc/ErrorBoundary'; import ErrorBoundary from 'web-check-live/components/misc/ErrorBoundary';
import SelfScanMsg from 'v1-check/components/misc/SelfScanMsg'; import SelfScanMsg from 'web-check-live/components/misc/SelfScanMsg';
import DocContent from 'v1-check/components/misc/DocContent'; import DocContent from 'web-check-live/components/misc/DocContent';
import ProgressBar, { type LoadingJob, type LoadingState, initialJobs } from 'v1-check/components/misc/ProgressBar'; import ProgressBar, { type LoadingJob, type LoadingState, initialJobs } from 'web-check-live/components/misc/ProgressBar';
import ActionButtons from 'v1-check/components/misc/ActionButtons'; import ActionButtons from 'web-check-live/components/misc/ActionButtons';
import AdditionalResources from 'v1-check/components/misc/AdditionalResources'; import AdditionalResources from 'web-check-live/components/misc/AdditionalResources';
import ViewRaw from 'v1-check/components/misc/ViewRaw'; import ViewRaw from 'web-check-live/components/misc/ViewRaw';
import ServerLocationCard from 'v1-check/components/Results/ServerLocation'; import ServerLocationCard from 'web-check-live/components/Results/ServerLocation';
import ServerInfoCard from 'v1-check/components/Results/ServerInfo'; import ServerInfoCard from 'web-check-live/components/Results/ServerInfo';
import HostNamesCard from 'v1-check/components/Results/HostNames'; import HostNamesCard from 'web-check-live/components/Results/HostNames';
import WhoIsCard from 'v1-check/components/Results/WhoIs'; import WhoIsCard from 'web-check-live/components/Results/WhoIs';
import LighthouseCard from 'v1-check/components/Results/Lighthouse'; import LighthouseCard from 'web-check-live/components/Results/Lighthouse';
import ScreenshotCard from 'v1-check/components/Results/Screenshot'; import ScreenshotCard from 'web-check-live/components/Results/Screenshot';
import SslCertCard from 'v1-check/components/Results/SslCert'; import SslCertCard from 'web-check-live/components/Results/SslCert';
import HeadersCard from 'v1-check/components/Results/Headers'; import HeadersCard from 'web-check-live/components/Results/Headers';
import CookiesCard from 'v1-check/components/Results/Cookies'; import CookiesCard from 'web-check-live/components/Results/Cookies';
import RobotsTxtCard from 'v1-check/components/Results/RobotsTxt'; import RobotsTxtCard from 'web-check-live/components/Results/RobotsTxt';
import DnsRecordsCard from 'v1-check/components/Results/DnsRecords'; import DnsRecordsCard from 'web-check-live/components/Results/DnsRecords';
import RedirectsCard from 'v1-check/components/Results/Redirects'; import RedirectsCard from 'web-check-live/components/Results/Redirects';
import TxtRecordCard from 'v1-check/components/Results/TxtRecords'; import TxtRecordCard from 'web-check-live/components/Results/TxtRecords';
import ServerStatusCard from 'v1-check/components/Results/ServerStatus'; import ServerStatusCard from 'web-check-live/components/Results/ServerStatus';
import OpenPortsCard from 'v1-check/components/Results/OpenPorts'; import OpenPortsCard from 'web-check-live/components/Results/OpenPorts';
import TraceRouteCard from 'v1-check/components/Results/TraceRoute'; import TraceRouteCard from 'web-check-live/components/Results/TraceRoute';
import CarbonFootprintCard from 'v1-check/components/Results/CarbonFootprint'; import CarbonFootprintCard from 'web-check-live/components/Results/CarbonFootprint';
import SiteFeaturesCard from 'v1-check/components/Results/SiteFeatures'; import SiteFeaturesCard from 'web-check-live/components/Results/SiteFeatures';
import DnsSecCard from 'v1-check/components/Results/DnsSec'; import DnsSecCard from 'web-check-live/components/Results/DnsSec';
import HstsCard from 'v1-check/components/Results/Hsts'; import HstsCard from 'web-check-live/components/Results/Hsts';
import SitemapCard from 'v1-check/components/Results/Sitemap'; import SitemapCard from 'web-check-live/components/Results/Sitemap';
import DomainLookup from 'v1-check/components/Results/DomainLookup'; import DomainLookup from 'web-check-live/components/Results/DomainLookup';
import DnsServerCard from 'v1-check/components/Results/DnsServer'; import DnsServerCard from 'web-check-live/components/Results/DnsServer';
import TechStackCard from 'v1-check/components/Results/TechStack'; import TechStackCard from 'web-check-live/components/Results/TechStack';
import SecurityTxtCard from 'v1-check/components/Results/SecurityTxt'; import SecurityTxtCard from 'web-check-live/components/Results/SecurityTxt';
import ContentLinksCard from 'v1-check/components/Results/ContentLinks'; import ContentLinksCard from 'web-check-live/components/Results/ContentLinks';
import SocialTagsCard from 'v1-check/components/Results/SocialTags'; import SocialTagsCard from 'web-check-live/components/Results/SocialTags';
import MailConfigCard from 'v1-check/components/Results/MailConfig'; import MailConfigCard from 'web-check-live/components/Results/MailConfig';
import HttpSecurityCard from 'v1-check/components/Results/HttpSecurity'; import HttpSecurityCard from 'web-check-live/components/Results/HttpSecurity';
import FirewallCard from 'v1-check/components/Results/Firewall'; import FirewallCard from 'web-check-live/components/Results/Firewall';
import ArchivesCard from 'v1-check/components/Results/Archives'; import ArchivesCard from 'web-check-live/components/Results/Archives';
import RankCard from 'v1-check/components/Results/Rank'; import RankCard from 'web-check-live/components/Results/Rank';
import BlockListsCard from 'v1-check/components/Results/BlockLists'; import BlockListsCard from 'web-check-live/components/Results/BlockLists';
import ThreatsCard from 'v1-check/components/Results/Threats'; import ThreatsCard from 'web-check-live/components/Results/Threats';
import TlsCipherSuitesCard from 'v1-check/components/Results/TlsCipherSuites'; import TlsCipherSuitesCard from 'web-check-live/components/Results/TlsCipherSuites';
import TlsIssueAnalysisCard from 'v1-check/components/Results/TlsIssueAnalysis'; import TlsIssueAnalysisCard from 'web-check-live/components/Results/TlsIssueAnalysis';
import TlsClientSupportCard from 'v1-check/components/Results/TlsClientSupport'; import TlsClientSupportCard from 'web-check-live/components/Results/TlsClientSupport';
import keys from 'v1-check/utils/get-keys'; import keys from 'web-check-live/utils/get-keys';
import { determineAddressType, type AddressType } from 'v1-check/utils/address-type-checker'; import { determineAddressType, type AddressType } from 'web-check-live/utils/address-type-checker';
import useMotherHook from 'v1-check/hooks/motherOfAllHooks'; import useMotherHook from 'web-check-live/hooks/motherOfAllHooks';
import { import {
getLocation, type ServerLocation, getLocation, type ServerLocation,
type Cookie, type Cookie,
applyWhoIsResults, type Whois, applyWhoIsResults, type Whois,
parseShodanResults, type ShodanResults parseShodanResults, type ShodanResults
} from 'v1-check/utils/result-processor'; } from 'web-check-live/utils/result-processor';
const ResultsOuter = styled.div` const ResultsOuter = styled.div`
display: flex; display: flex;