diff --git a/.github/web-check-logo.png b/.github/web-check-logo.png new file mode 100644 index 0000000..5b13847 Binary files /dev/null and b/.github/web-check-logo.png differ diff --git a/src/App.tsx b/src/App.tsx index 8109cfb..46fa767 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,6 +3,7 @@ import Styled from 'styled-components'; import Home from 'pages/Home'; import Results from 'pages/Results'; import About from 'pages/About'; +import NotFound from 'pages/NotFound'; import colors from 'styles/colors'; const Container = Styled.main` @@ -17,6 +18,7 @@ function App() { return ( + } /> } /> } /> } /> diff --git a/src/components/Results/DnsServer.tsx b/src/components/Results/DnsServer.tsx index 3e102db..7900721 100644 --- a/src/components/Results/DnsServer.tsx +++ b/src/components/Results/DnsServer.tsx @@ -21,7 +21,7 @@ const DnsServerCard = (props: {data: any, title: string, actionButtons: any }): return (<> { dnsSecurity.dns.length > 1 && DNS Server #{index+1} } - + { dns.hostname && } ); })} diff --git a/src/pages/NotFound.tsx b/src/pages/NotFound.tsx new file mode 100644 index 0000000..d916f6c --- /dev/null +++ b/src/pages/NotFound.tsx @@ -0,0 +1,64 @@ + +import styled from 'styled-components'; + +import colors from 'styles/colors'; +import Heading from 'components/Form/Heading'; +import Footer from 'components/misc/Footer'; +import Nav from 'components/Form/Nav'; +import Button from 'components/Form/Button'; +import { StyledCard } from 'components/Form/Card'; + +const AboutContainer = styled.div` + width: 95vw; + max-width: 1000px; + margin: 2rem auto; + padding-bottom: 1rem; + header { + margin 1rem 0; + } + a { + color: ${colors.primary}; + } + .im-drink { font-size: 6rem; } +`; + +const HeaderLinkContainer = styled.nav` + display: flex; + flex-wrap: wrap; + gap: 1rem; + a { + text-decoration: none; + } +`; + +const NotFoundInner = styled(StyledCard)` + display: flex; + flex-direction: column; + align-items: center; + margin: 1rem; + gap: 0.5rem; + h2 { font-size: 8rem; } +`; + + +const NotFound = (): JSX.Element => { + return ( + <> + +