mirror of
https://github.com/Lissy93/web-check.git
synced 2025-06-20 11:47:42 +02:00
Rename v1 to web-check-live
This commit is contained in:
parent
e5738d1f5b
commit
7e27143a90
@ -1,6 +1,6 @@
|
||||
---
|
||||
import Main from "../../v1-check/views/main.tsx"
|
||||
import '../../v1-check/styles/index.css';
|
||||
import Main from '../../web-check-live/main.tsx';
|
||||
import '../../web-check-live/styles/index.css';
|
||||
|
||||
export const prerender = false;
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { Routes, Route, Outlet } from "react-router-dom";
|
||||
|
||||
import Home from 'v1-check/views/Home.tsx';
|
||||
import Results from 'v1-check/views/Results.tsx';
|
||||
import About from 'v1-check/views/About.tsx';
|
||||
import NotFound from 'v1-check/views/NotFound.tsx';
|
||||
import Home from 'web-check-live/views/Home.tsx';
|
||||
import Results from 'web-check-live/views/Results.tsx';
|
||||
import About from 'web-check-live/views/About.tsx';
|
||||
import NotFound from 'web-check-live/views/NotFound.tsx';
|
||||
|
||||
export default function App() {
|
||||
return (
|
@ -2,8 +2,8 @@ import { type ReactNode, type MouseEventHandler } from 'react';
|
||||
|
||||
import styled from '@emotion/styled';
|
||||
import { keyframes } from '@emotion/react';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { type InputSize, applySize } from 'v1-check/styles/dimensions';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { type InputSize, applySize } from 'web-check-live/styles/dimensions';
|
||||
|
||||
type LoadState = 'loading' | 'success' | 'error';
|
||||
|
@ -1,9 +1,9 @@
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import { type ReactNode } from 'react';
|
||||
import ErrorBoundary from 'v1-check/components/misc/ErrorBoundary';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import ErrorBoundary from 'web-check-live/components/misc/ErrorBoundary';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
export const StyledCard = styled.section<{ styles?: string}>`
|
||||
background: ${colors.backgroundLighter};
|
@ -1,6 +1,6 @@
|
||||
import styled from '@emotion/styled';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { TextSizes } from 'v1-check/styles/typography';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { TextSizes } from 'web-check-live/styles/typography';
|
||||
import type { ReactNode } from 'react';
|
||||
|
||||
interface HeadingProps {
|
@ -1,7 +1,7 @@
|
||||
import { type InputHTMLAttributes } from 'react';
|
||||
import styled from '@emotion/styled';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { type InputSize, applySize } from 'v1-check/styles/dimensions';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { type InputSize, applySize } from 'web-check-live/styles/dimensions';
|
||||
|
||||
type Orientation = 'horizontal' | 'vertical';
|
||||
|
@ -2,8 +2,8 @@ import React from 'react';
|
||||
import type { ReactNode } from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import styled from '@emotion/styled';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import Button from 'v1-check/components/Form/Button';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import Button from 'web-check-live/components/Form/Button';
|
||||
|
||||
interface ModalProps {
|
||||
children: ReactNode;
|
@ -1,9 +1,9 @@
|
||||
import styled from '@emotion/styled';
|
||||
import type { ReactNode } from 'react';
|
||||
|
||||
import { StyledCard } from 'v1-check/components/Form/Card';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { StyledCard } from 'web-check-live/components/Form/Card';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
const Header = styled(StyledCard)`
|
||||
margin: 1rem auto;
|
@ -1,7 +1,7 @@
|
||||
import type { ReactNode } from 'react';
|
||||
import styled from '@emotion/styled';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
|
||||
export interface RowProps {
|
||||
lbl: string,
|
@ -1,7 +1,7 @@
|
||||
import styled from '@emotion/styled';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
|
||||
const Note = styled.small`
|
||||
opacity: 0.5;
|
@ -1,6 +1,6 @@
|
||||
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
|
||||
const BlockListsCard = (props: {data: any, title: string, actionButtons: any }): JSX.Element => {
|
||||
const blockLists = props.data.blocklists;
|
@ -1,9 +1,9 @@
|
||||
|
||||
import styled from '@emotion/styled';
|
||||
import type { TechnologyGroup, Technology } from 'v1-check/utils/result-processor';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import Card from 'v1-check/components/Form/Card';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import type { TechnologyGroup, Technology } from 'web-check-live/utils/result-processor';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import Card from 'web-check-live/components/Form/Card';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
|
||||
const Outer = styled(Card)`
|
||||
grid-row: span 2
|
@ -1,8 +1,8 @@
|
||||
import { useEffect, useState } from 'react';
|
||||
import styled from '@emotion/styled';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
const LearnMoreInfo = styled.p`
|
||||
font-size: 0.8rem;
|
@ -1,7 +1,7 @@
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
const cardStyles = `
|
||||
small { margin-top: 1rem; opacity: 0.5; }
|
@ -1,6 +1,6 @@
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import { ExpandableRow } from 'v1-check/components/Form/Row';
|
||||
import type { Cookie } from 'v1-check/utils/result-processor';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import { ExpandableRow } from 'web-check-live/components/Form/Row';
|
||||
import type { Cookie } from 'web-check-live/utils/result-processor';
|
||||
|
||||
export const parseHeaderCookies = (cookiesHeader: string[]): Cookie[] => {
|
||||
if (!cookiesHeader || !cookiesHeader.length) return [];
|
@ -1,5 +1,5 @@
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row, { ListRow } from 'v1-check/components/Form/Row';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row, { ListRow } from 'web-check-live/components/Form/Row';
|
||||
|
||||
const styles = `
|
||||
grid-row: span 2;
|
@ -1,7 +1,7 @@
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row, { ExpandableRow, type RowProps } from 'v1-check/components/Form/Row';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row, { ExpandableRow, type RowProps } from 'web-check-live/components/Form/Row';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
const cardStyles = `
|
||||
small {
|
@ -1,7 +1,7 @@
|
||||
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
|
||||
const cardStyles = `
|
||||
span.val {
|
@ -1,6 +1,6 @@
|
||||
import styled from '@emotion/styled';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
|
||||
const Note = styled.small`
|
||||
opacity: 0.5;
|
@ -1,5 +1,5 @@
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
import type { ReactNode } from 'react';
|
||||
|
||||
const HeadersCard = (props: { data: any, title: string, actionButtons: ReactNode }): JSX.Element => {
|
@ -1,9 +1,9 @@
|
||||
|
||||
import styled from '@emotion/styled';
|
||||
import type { HostNames } from 'v1-check/utils/result-processor';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import type { HostNames } from 'web-check-live/utils/result-processor';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
|
||||
const Row = styled.div`
|
||||
display: flex;
|
@ -1,6 +1,6 @@
|
||||
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row, { type RowProps } from 'v1-check/components/Form/Row';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row, { type RowProps } from 'web-check-live/components/Form/Row';
|
||||
|
||||
const cardStyles = '';
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
|
||||
const HttpSecurityCard = (props: { data: any, title: string, actionButtons: any }): JSX.Element => {
|
||||
const data = props.data;
|
@ -1,5 +1,5 @@
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import { ExpandableRow } from 'v1-check/components/Form/Row';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import { ExpandableRow } from 'web-check-live/components/Form/Row';
|
||||
|
||||
const processScore = (percentile: number) => {
|
||||
return `${Math.round(percentile * 100)}%`;
|
@ -1,8 +1,8 @@
|
||||
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
const cardStyles = ``;
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
|
||||
const cardStyles = `
|
||||
small { margin-top: 1rem; opacity: 0.5; }
|
@ -1,8 +1,8 @@
|
||||
|
||||
import { AreaChart, Area, Tooltip, CartesianGrid, ResponsiveContainer } from 'recharts';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
|
||||
const cardStyles = `
|
||||
span.val {
|
@ -1,6 +1,6 @@
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
|
||||
const cardStyles = `
|
||||
div {
|
@ -1,6 +1,6 @@
|
||||
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row, { type RowProps } from 'v1-check/components/Form/Row';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row, { type RowProps } from 'web-check-live/components/Form/Row';
|
||||
|
||||
const cardStyles = `
|
||||
grid-row: span 2;
|
@ -1,4 +1,4 @@
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
|
||||
const cardStyles = `
|
||||
overflow: auto;
|
@ -1,7 +1,7 @@
|
||||
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row, { Details } from 'v1-check/components/Form/Row';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row, { Details } from 'web-check-live/components/Form/Row';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
const cardStyles = `
|
||||
small {
|
@ -1,6 +1,6 @@
|
||||
import type { ServerInfo } from 'v1-check/utils/result-processor';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import type { ServerInfo } from 'web-check-live/utils/result-processor';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
|
||||
const ServerInfoCard = (props: { data: ServerInfo, title: string, actionButtons: any }): JSX.Element => {
|
||||
const info = props.data;
|
@ -1,11 +1,11 @@
|
||||
|
||||
import styled from '@emotion/styled';
|
||||
import type { ServerLocation } from 'v1-check/utils/result-processor';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import LocationMap from 'v1-check/components/misc/LocationMap';
|
||||
import Flag from 'v1-check/components/misc/Flag';
|
||||
import { TextSizes } from 'v1-check/styles/typography';
|
||||
import Row, { StyledRow } from 'v1-check/components/Form/Row';
|
||||
import type { ServerLocation } from 'web-check-live/utils/result-processor';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import LocationMap from 'web-check-live/components/misc/LocationMap';
|
||||
import Flag from 'web-check-live/components/misc/Flag';
|
||||
import { TextSizes } from 'web-check-live/styles/typography';
|
||||
import Row, { StyledRow } from 'web-check-live/components/Form/Row';
|
||||
|
||||
const cardStyles = '';
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
|
||||
const cardStyles = `
|
||||
span.val {
|
@ -1,7 +1,7 @@
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
|
||||
const styles = `
|
||||
.content {
|
@ -1,7 +1,7 @@
|
||||
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row, { ExpandableRow } from 'v1-check/components/Form/Row';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row, { ExpandableRow } from 'web-check-live/components/Form/Row';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
const cardStyles = `
|
||||
max-height: 50rem;
|
@ -1,7 +1,7 @@
|
||||
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
const cardStyles = `
|
||||
.banner-image img {
|
@ -1,8 +1,8 @@
|
||||
|
||||
import styled from '@emotion/styled';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
|
||||
const Row = styled.div`
|
||||
display: flex;
|
@ -1,8 +1,8 @@
|
||||
|
||||
import styled from '@emotion/styled';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
const cardStyles = `
|
||||
grid-row: span 2;
|
@ -1,8 +1,8 @@
|
||||
|
||||
import styled from '@emotion/styled';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row, { ExpandableRow } from 'v1-check/components/Form/Row';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row, { ExpandableRow } from 'web-check-live/components/Form/Row';
|
||||
|
||||
const Expandable = styled.details`
|
||||
margin-top: 0.5rem;
|
@ -1,8 +1,8 @@
|
||||
|
||||
import { useState, useEffect } from 'react';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Button from 'v1-check/components/Form/Button';
|
||||
import { ExpandableRow } from 'v1-check/components/Form/Row';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Button from 'web-check-live/components/Form/Button';
|
||||
import { ExpandableRow } from 'web-check-live/components/Form/Row';
|
||||
|
||||
const makeCipherSuites = (results: any) => {
|
||||
if (!results || !results.connection_info || (results.connection_info.ciphersuite || [])?.length === 0) {
|
@ -1,8 +1,8 @@
|
||||
|
||||
import { useState, useEffect } from 'react';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Button from 'v1-check/components/Form/Button';
|
||||
import { ExpandableRow } from 'v1-check/components/Form/Row';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Button from 'web-check-live/components/Form/Button';
|
||||
import { ExpandableRow } from 'web-check-live/components/Form/Row';
|
||||
|
||||
const makeClientSupport = (results: any) => {
|
||||
if (!results?.analysis) return [];
|
@ -1,10 +1,10 @@
|
||||
|
||||
import { useState, useEffect } from 'react';
|
||||
import styled from '@emotion/styled';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Button from 'v1-check/components/Form/Button';
|
||||
import Row, { ExpandableRow } from 'v1-check/components/Form/Row';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Button from 'web-check-live/components/Form/Button';
|
||||
import Row, { ExpandableRow } from 'web-check-live/components/Form/Row';
|
||||
|
||||
const Expandable = styled.details`
|
||||
margin-top: 0.5rem;
|
@ -1,6 +1,6 @@
|
||||
import styled from '@emotion/styled';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
|
||||
const RouteRow = styled.div`
|
||||
text-align: center;
|
@ -1,6 +1,6 @@
|
||||
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Row from 'v1-check/components/Form/Row';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Row from 'web-check-live/components/Form/Row';
|
||||
|
||||
const cardStyles = `
|
||||
grid-column: span 2;
|
@ -1,9 +1,9 @@
|
||||
|
||||
import styled from '@emotion/styled';
|
||||
import type { Whois } from 'v1-check/utils/result-processor';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import type { Whois } from 'web-check-live/utils/result-processor';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
|
||||
const Row = styled.div`
|
||||
display: flex;
|
@ -1,6 +1,6 @@
|
||||
import styled from '@emotion/styled';
|
||||
import Button from 'v1-check/components/Form/Button';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import Button from 'web-check-live/components/Form/Button';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
const ActionButtonContainer = styled.div`
|
||||
position: absolute;
|
@ -1,6 +1,6 @@
|
||||
import styled from '@emotion/styled';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
|
||||
const ResourceListOuter = styled.ul`
|
||||
list-style: none;
|
@ -1,7 +1,7 @@
|
||||
import styled from '@emotion/styled';
|
||||
import docs, { type Doc } from 'v1-check/utils/docs';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import docs, { type Doc } from 'web-check-live/utils/docs';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
|
||||
const JobDocsContainer = styled.div`
|
||||
p.doc-desc, p.doc-uses, ul {
|
@ -1,8 +1,8 @@
|
||||
import React, { Component, type ErrorInfo, type ReactNode } from "react";
|
||||
import styled from '@emotion/styled';
|
||||
import Card from 'v1-check/components/Form/Card';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import Card from 'web-check-live/components/Form/Card';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
interface Props {
|
||||
children: ReactNode;
|
@ -1,5 +1,5 @@
|
||||
import styled from '@emotion/styled';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
const StyledFooter = styled.footer`
|
||||
bottom: 0;
|
@ -1,8 +1,8 @@
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import { StyledCard } from 'v1-check/components/Form/Card';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { StyledCard } from 'web-check-live/components/Form/Card';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
|
||||
const LoaderContainer = styled(StyledCard)`
|
||||
margin: 0 auto 1rem auto;
|
@ -5,8 +5,8 @@ import {
|
||||
Annotation,
|
||||
} from 'react-simple-maps';
|
||||
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import MapFeatures from 'v1-check/assets/data/map-features.json';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import MapFeatures from 'web-check-live/assets/data/map-features.json';
|
||||
|
||||
interface Props {
|
||||
lat: number,
|
@ -1,7 +1,7 @@
|
||||
import styled from '@emotion/styled';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import Card from 'v1-check/components/Form/Card';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import Card from 'web-check-live/components/Form/Card';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
import { useState, useEffect, type ReactNode } from 'react';
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
import styled from '@emotion/styled';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { StyledCard } from 'v1-check/components/Form/Card';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { StyledCard } from 'web-check-live/components/Form/Card';
|
||||
|
||||
const StyledSelfScanMsg = styled(StyledCard)`
|
||||
margin: 0px auto 1rem;
|
@ -1,8 +1,8 @@
|
||||
import React, { useState } from 'react';
|
||||
import styled from '@emotion/styled';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { Card } from 'v1-check/components/Form/Card';
|
||||
import Button from 'v1-check/components/Form/Button';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { Card } from 'web-check-live/components/Form/Card';
|
||||
import Button from 'web-check-live/components/Form/Button';
|
||||
|
||||
const CardStyles = `
|
||||
margin: 0 auto 1rem auto;
|
@ -2,8 +2,8 @@ import { useState, useEffect } from 'react';
|
||||
import { toast } from 'react-toastify';
|
||||
import 'react-toastify/dist/ReactToastify.css';
|
||||
|
||||
import type { LoadingState } from 'v1-check/components/misc/ProgressBar';
|
||||
import type { AddressType } from 'v1-check/utils/address-type-checker';
|
||||
import type { LoadingState } from 'web-check-live/components/misc/ProgressBar';
|
||||
import type { AddressType } from 'web-check-live/utils/address-type-checker';
|
||||
|
||||
interface UseIpAddressProps<ResultType = any> {
|
||||
// Unique identifier for this job type
|
@ -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 {
|
||||
city: string,
|
@ -1,13 +1,13 @@
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import Footer from 'v1-check/components/misc/Footer';
|
||||
import Nav from 'v1-check/components/Form/Nav';
|
||||
import Button from 'v1-check/components/Form/Button';
|
||||
import AdditionalResources from 'v1-check/components/misc/AdditionalResources';
|
||||
import { StyledCard } from 'v1-check/components/Form/Card';
|
||||
import docs, { about, featureIntro, license, fairUse, supportUs } from 'v1-check/utils/docs';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
import Footer from 'web-check-live/components/misc/Footer';
|
||||
import Nav from 'web-check-live/components/Form/Nav';
|
||||
import Button from 'web-check-live/components/Form/Button';
|
||||
import AdditionalResources from 'web-check-live/components/misc/AdditionalResources';
|
||||
import { StyledCard } from 'web-check-live/components/Form/Card';
|
||||
import docs, { about, featureIntro, license, fairUse, supportUs } from 'web-check-live/utils/docs';
|
||||
|
||||
const AboutContainer = styled.div`
|
||||
width: 95vw;
|
@ -2,16 +2,16 @@ import styled from '@emotion/styled';
|
||||
import { type ChangeEvent, type FormEvent, useState, useEffect } from 'react';
|
||||
import { useNavigate, useLocation, type NavigateOptions } from 'react-router-dom';
|
||||
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import Input from 'v1-check/components/Form/Input'
|
||||
import Button from 'v1-check/components/Form/Button';
|
||||
import { StyledCard } from 'v1-check/components/Form/Card';
|
||||
import Footer from 'v1-check/components/misc/Footer';
|
||||
import FancyBackground from 'v1-check/components/misc/FancyBackground';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
import Input from 'web-check-live/components/Form/Input'
|
||||
import Button from 'web-check-live/components/Form/Button';
|
||||
import { StyledCard } from 'web-check-live/components/Form/Card';
|
||||
import Footer from 'web-check-live/components/misc/Footer';
|
||||
import FancyBackground from 'web-check-live/components/misc/FancyBackground';
|
||||
|
||||
import docs from 'v1-check/utils/docs';
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import { determineAddressType } from 'v1-check/utils/address-type-checker';
|
||||
import docs from 'web-check-live/utils/docs';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import { determineAddressType } from 'web-check-live/utils/address-type-checker';
|
||||
|
||||
const HomeContainer = styled.section`
|
||||
display: flex;
|
@ -1,12 +1,12 @@
|
||||
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import Footer from 'v1-check/components/misc/Footer';
|
||||
import Nav from 'v1-check/components/Form/Nav';
|
||||
import Button from 'v1-check/components/Form/Button';
|
||||
import { StyledCard } from 'v1-check/components/Form/Card';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
import Footer from 'web-check-live/components/misc/Footer';
|
||||
import Nav from 'web-check-live/components/Form/Nav';
|
||||
import Button from 'web-check-live/components/Form/Button';
|
||||
import { StyledCard } from 'web-check-live/components/Form/Card';
|
||||
|
||||
const AboutContainer = styled.div`
|
||||
width: 95vw;
|
@ -4,69 +4,69 @@ import styled from '@emotion/styled';
|
||||
import { ToastContainer } from 'react-toastify';
|
||||
import Masonry from 'react-masonry-css'
|
||||
|
||||
import colors from 'v1-check/styles/colors';
|
||||
import Heading from 'v1-check/components/Form/Heading';
|
||||
import Modal from 'v1-check/components/Form/Modal';
|
||||
import Footer from 'v1-check/components/misc/Footer';
|
||||
import Nav from 'v1-check/components/Form/Nav';
|
||||
import type { RowProps } from 'v1-check/components/Form/Row';
|
||||
import colors from 'web-check-live/styles/colors';
|
||||
import Heading from 'web-check-live/components/Form/Heading';
|
||||
import Modal from 'web-check-live/components/Form/Modal';
|
||||
import Footer from 'web-check-live/components/misc/Footer';
|
||||
import Nav from 'web-check-live/components/Form/Nav';
|
||||
import type { RowProps } from 'web-check-live/components/Form/Row';
|
||||
|
||||
import Loader from 'v1-check/components/misc/Loader';
|
||||
import ErrorBoundary from 'v1-check/components/misc/ErrorBoundary';
|
||||
import SelfScanMsg from 'v1-check/components/misc/SelfScanMsg';
|
||||
import DocContent from 'v1-check/components/misc/DocContent';
|
||||
import ProgressBar, { type LoadingJob, type LoadingState, initialJobs } from 'v1-check/components/misc/ProgressBar';
|
||||
import ActionButtons from 'v1-check/components/misc/ActionButtons';
|
||||
import AdditionalResources from 'v1-check/components/misc/AdditionalResources';
|
||||
import ViewRaw from 'v1-check/components/misc/ViewRaw';
|
||||
import Loader from 'web-check-live/components/misc/Loader';
|
||||
import ErrorBoundary from 'web-check-live/components/misc/ErrorBoundary';
|
||||
import SelfScanMsg from 'web-check-live/components/misc/SelfScanMsg';
|
||||
import DocContent from 'web-check-live/components/misc/DocContent';
|
||||
import ProgressBar, { type LoadingJob, type LoadingState, initialJobs } from 'web-check-live/components/misc/ProgressBar';
|
||||
import ActionButtons from 'web-check-live/components/misc/ActionButtons';
|
||||
import AdditionalResources from 'web-check-live/components/misc/AdditionalResources';
|
||||
import ViewRaw from 'web-check-live/components/misc/ViewRaw';
|
||||
|
||||
import ServerLocationCard from 'v1-check/components/Results/ServerLocation';
|
||||
import ServerInfoCard from 'v1-check/components/Results/ServerInfo';
|
||||
import HostNamesCard from 'v1-check/components/Results/HostNames';
|
||||
import WhoIsCard from 'v1-check/components/Results/WhoIs';
|
||||
import LighthouseCard from 'v1-check/components/Results/Lighthouse';
|
||||
import ScreenshotCard from 'v1-check/components/Results/Screenshot';
|
||||
import SslCertCard from 'v1-check/components/Results/SslCert';
|
||||
import HeadersCard from 'v1-check/components/Results/Headers';
|
||||
import CookiesCard from 'v1-check/components/Results/Cookies';
|
||||
import RobotsTxtCard from 'v1-check/components/Results/RobotsTxt';
|
||||
import DnsRecordsCard from 'v1-check/components/Results/DnsRecords';
|
||||
import RedirectsCard from 'v1-check/components/Results/Redirects';
|
||||
import TxtRecordCard from 'v1-check/components/Results/TxtRecords';
|
||||
import ServerStatusCard from 'v1-check/components/Results/ServerStatus';
|
||||
import OpenPortsCard from 'v1-check/components/Results/OpenPorts';
|
||||
import TraceRouteCard from 'v1-check/components/Results/TraceRoute';
|
||||
import CarbonFootprintCard from 'v1-check/components/Results/CarbonFootprint';
|
||||
import SiteFeaturesCard from 'v1-check/components/Results/SiteFeatures';
|
||||
import DnsSecCard from 'v1-check/components/Results/DnsSec';
|
||||
import HstsCard from 'v1-check/components/Results/Hsts';
|
||||
import SitemapCard from 'v1-check/components/Results/Sitemap';
|
||||
import DomainLookup from 'v1-check/components/Results/DomainLookup';
|
||||
import DnsServerCard from 'v1-check/components/Results/DnsServer';
|
||||
import TechStackCard from 'v1-check/components/Results/TechStack';
|
||||
import SecurityTxtCard from 'v1-check/components/Results/SecurityTxt';
|
||||
import ContentLinksCard from 'v1-check/components/Results/ContentLinks';
|
||||
import SocialTagsCard from 'v1-check/components/Results/SocialTags';
|
||||
import MailConfigCard from 'v1-check/components/Results/MailConfig';
|
||||
import HttpSecurityCard from 'v1-check/components/Results/HttpSecurity';
|
||||
import FirewallCard from 'v1-check/components/Results/Firewall';
|
||||
import ArchivesCard from 'v1-check/components/Results/Archives';
|
||||
import RankCard from 'v1-check/components/Results/Rank';
|
||||
import BlockListsCard from 'v1-check/components/Results/BlockLists';
|
||||
import ThreatsCard from 'v1-check/components/Results/Threats';
|
||||
import TlsCipherSuitesCard from 'v1-check/components/Results/TlsCipherSuites';
|
||||
import TlsIssueAnalysisCard from 'v1-check/components/Results/TlsIssueAnalysis';
|
||||
import TlsClientSupportCard from 'v1-check/components/Results/TlsClientSupport';
|
||||
import ServerLocationCard from 'web-check-live/components/Results/ServerLocation';
|
||||
import ServerInfoCard from 'web-check-live/components/Results/ServerInfo';
|
||||
import HostNamesCard from 'web-check-live/components/Results/HostNames';
|
||||
import WhoIsCard from 'web-check-live/components/Results/WhoIs';
|
||||
import LighthouseCard from 'web-check-live/components/Results/Lighthouse';
|
||||
import ScreenshotCard from 'web-check-live/components/Results/Screenshot';
|
||||
import SslCertCard from 'web-check-live/components/Results/SslCert';
|
||||
import HeadersCard from 'web-check-live/components/Results/Headers';
|
||||
import CookiesCard from 'web-check-live/components/Results/Cookies';
|
||||
import RobotsTxtCard from 'web-check-live/components/Results/RobotsTxt';
|
||||
import DnsRecordsCard from 'web-check-live/components/Results/DnsRecords';
|
||||
import RedirectsCard from 'web-check-live/components/Results/Redirects';
|
||||
import TxtRecordCard from 'web-check-live/components/Results/TxtRecords';
|
||||
import ServerStatusCard from 'web-check-live/components/Results/ServerStatus';
|
||||
import OpenPortsCard from 'web-check-live/components/Results/OpenPorts';
|
||||
import TraceRouteCard from 'web-check-live/components/Results/TraceRoute';
|
||||
import CarbonFootprintCard from 'web-check-live/components/Results/CarbonFootprint';
|
||||
import SiteFeaturesCard from 'web-check-live/components/Results/SiteFeatures';
|
||||
import DnsSecCard from 'web-check-live/components/Results/DnsSec';
|
||||
import HstsCard from 'web-check-live/components/Results/Hsts';
|
||||
import SitemapCard from 'web-check-live/components/Results/Sitemap';
|
||||
import DomainLookup from 'web-check-live/components/Results/DomainLookup';
|
||||
import DnsServerCard from 'web-check-live/components/Results/DnsServer';
|
||||
import TechStackCard from 'web-check-live/components/Results/TechStack';
|
||||
import SecurityTxtCard from 'web-check-live/components/Results/SecurityTxt';
|
||||
import ContentLinksCard from 'web-check-live/components/Results/ContentLinks';
|
||||
import SocialTagsCard from 'web-check-live/components/Results/SocialTags';
|
||||
import MailConfigCard from 'web-check-live/components/Results/MailConfig';
|
||||
import HttpSecurityCard from 'web-check-live/components/Results/HttpSecurity';
|
||||
import FirewallCard from 'web-check-live/components/Results/Firewall';
|
||||
import ArchivesCard from 'web-check-live/components/Results/Archives';
|
||||
import RankCard from 'web-check-live/components/Results/Rank';
|
||||
import BlockListsCard from 'web-check-live/components/Results/BlockLists';
|
||||
import ThreatsCard from 'web-check-live/components/Results/Threats';
|
||||
import TlsCipherSuitesCard from 'web-check-live/components/Results/TlsCipherSuites';
|
||||
import TlsIssueAnalysisCard from 'web-check-live/components/Results/TlsIssueAnalysis';
|
||||
import TlsClientSupportCard from 'web-check-live/components/Results/TlsClientSupport';
|
||||
|
||||
import keys from 'v1-check/utils/get-keys';
|
||||
import { determineAddressType, type AddressType } from 'v1-check/utils/address-type-checker';
|
||||
import useMotherHook from 'v1-check/hooks/motherOfAllHooks';
|
||||
import keys from 'web-check-live/utils/get-keys';
|
||||
import { determineAddressType, type AddressType } from 'web-check-live/utils/address-type-checker';
|
||||
import useMotherHook from 'web-check-live/hooks/motherOfAllHooks';
|
||||
import {
|
||||
getLocation, type ServerLocation,
|
||||
type Cookie,
|
||||
applyWhoIsResults, type Whois,
|
||||
parseShodanResults, type ShodanResults
|
||||
} from 'v1-check/utils/result-processor';
|
||||
} from 'web-check-live/utils/result-processor';
|
||||
|
||||
const ResultsOuter = styled.div`
|
||||
display: flex;
|
Loading…
x
Reference in New Issue
Block a user