From c610465ace8ba54a4702d5c0a4b2c3ce3696b91b Mon Sep 17 00:00:00 2001 From: Corwin Date: Thu, 13 Apr 2023 20:54:03 +0100 Subject: [PATCH] delete junk --- website/src/App.css | 38 ---------------------------------- website/src/App.test.tsx | 9 -------- website/src/index.css | 13 ------------ website/src/logo.svg | 1 - website/src/react-app-env.d.ts | 1 - website/src/reportWebVitals.ts | 15 -------------- website/src/setupTests.ts | 5 ----- 7 files changed, 82 deletions(-) delete mode 100644 website/src/App.css delete mode 100644 website/src/App.test.tsx delete mode 100644 website/src/index.css delete mode 100644 website/src/logo.svg delete mode 100644 website/src/react-app-env.d.ts delete mode 100644 website/src/reportWebVitals.ts delete mode 100644 website/src/setupTests.ts diff --git a/website/src/App.css b/website/src/App.css deleted file mode 100644 index 74b5e053..00000000 --- a/website/src/App.css +++ /dev/null @@ -1,38 +0,0 @@ -.App { - text-align: center; -} - -.App-logo { - height: 40vmin; - pointer-events: none; -} - -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; - display: flex; - flex-direction: column; - align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); - color: white; -} - -.App-link { - color: #61dafb; -} - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} diff --git a/website/src/App.test.tsx b/website/src/App.test.tsx deleted file mode 100644 index 2a68616d..00000000 --- a/website/src/App.test.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import React from 'react'; -import { render, screen } from '@testing-library/react'; -import App from './App'; - -test('renders learn react link', () => { - render(); - const linkElement = screen.getByText(/learn react/i); - expect(linkElement).toBeInTheDocument(); -}); diff --git a/website/src/index.css b/website/src/index.css deleted file mode 100644 index ec2585e8..00000000 --- a/website/src/index.css +++ /dev/null @@ -1,13 +0,0 @@ -body { - margin: 0; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', - 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', - sans-serif; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -code { - font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', - monospace; -} diff --git a/website/src/logo.svg b/website/src/logo.svg deleted file mode 100644 index 9dfc1c05..00000000 --- a/website/src/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/website/src/react-app-env.d.ts b/website/src/react-app-env.d.ts deleted file mode 100644 index 6431bc5f..00000000 --- a/website/src/react-app-env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/website/src/reportWebVitals.ts b/website/src/reportWebVitals.ts deleted file mode 100644 index 49a2a16e..00000000 --- a/website/src/reportWebVitals.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { ReportHandler } from 'web-vitals'; - -const reportWebVitals = (onPerfEntry?: ReportHandler) => { - if (onPerfEntry && onPerfEntry instanceof Function) { - import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { - getCLS(onPerfEntry); - getFID(onPerfEntry); - getFCP(onPerfEntry); - getLCP(onPerfEntry); - getTTFB(onPerfEntry); - }); - } -}; - -export default reportWebVitals; diff --git a/website/src/setupTests.ts b/website/src/setupTests.ts deleted file mode 100644 index 8f2609b7..00000000 --- a/website/src/setupTests.ts +++ /dev/null @@ -1,5 +0,0 @@ -// jest-dom adds custom jest matchers for asserting on DOM nodes. -// allows you to do things like: -// expect(element).toHaveTextContent(/react/i) -// learn more: https://github.com/testing-library/jest-dom -import '@testing-library/jest-dom';