diff --git a/ui/src/App.css b/ui/src/App.css deleted file mode 100644 index 74b5e053..00000000 --- a/ui/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/ui/src/App.js b/ui/src/App.js index 37845757..60b44a55 100644 --- a/ui/src/App.js +++ b/ui/src/App.js @@ -1,22 +1,8 @@ -import logo from './logo.svg'; -import './App.css'; - function App() { return ( -
-
- logo -

- Edit src/App.js and save to reload. -

- - Learn React - +
+
+

zrok

); diff --git a/ui/src/App.test.js b/ui/src/App.test.js deleted file mode 100644 index 1f03afee..00000000 --- a/ui/src/App.test.js +++ /dev/null @@ -1,8 +0,0 @@ -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/ui/src/index.js b/ui/src/index.js index d563c0fb..1675893a 100644 --- a/ui/src/index.js +++ b/ui/src/index.js @@ -2,16 +2,10 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; import './index.css'; import App from './App'; -import reportWebVitals from './reportWebVitals'; const root = ReactDOM.createRoot(document.getElementById('root')); root.render( -); - -// If you want to start measuring performance in your app, pass a function -// to log results (for example: reportWebVitals(console.log)) -// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals -reportWebVitals(); +); \ No newline at end of file diff --git a/ui/src/logo.svg b/ui/src/logo.svg deleted file mode 100644 index 9dfc1c05..00000000 --- a/ui/src/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/ui/src/reportWebVitals.js b/ui/src/reportWebVitals.js deleted file mode 100644 index 5253d3ad..00000000 --- a/ui/src/reportWebVitals.js +++ /dev/null @@ -1,13 +0,0 @@ -const reportWebVitals = onPerfEntry => { - 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/ui/src/setupTests.js b/ui/src/setupTests.js deleted file mode 100644 index 8f2609b7..00000000 --- a/ui/src/setupTests.js +++ /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';