diff --git a/src/App.tsx b/src/App.tsx deleted file mode 100644 index 1d44d925a..000000000 --- a/src/App.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import { Navigation } from './routes/Navigation'; - -function App() { - return ( - <> - - - ); -} - -export default App; diff --git a/src/index.css b/src/index.css deleted file mode 100644 index f1851c5d7..000000000 --- a/src/index.css +++ /dev/null @@ -1,53 +0,0 @@ -html,body { - margin: 0; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', - 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', - sans-serif; - background-color: #282c34; - color: white; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -code { - font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', - monospace; -} - - -.main-layout { - display: flex; - flex-direction: row; -} - -nav { - background-color: #363a45; - height: 100vh; - margin-right: 15px; - overflow-y: scroll; - text-align: center; - width: 250px; -} -nav ul { - align-items: center; - display: flex; - flex-direction: column; - justify-content: center; - padding-left: 0; -} - -nav li { - list-style: none; - margin-bottom: 10px; -} - -nav li a { - color: white; - font-size: 1.2rem; - text-decoration: none; -} - -.nav-active { - color: grey; - transition: all .3s ease-out; -} \ No newline at end of file diff --git a/src/index.tsx b/src/index.tsx deleted file mode 100644 index ef2edf8ea..000000000 --- a/src/index.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import React from 'react'; -import ReactDOM from 'react-dom'; -import './index.css'; -import App from './App'; -import reportWebVitals from './reportWebVitals'; - -ReactDOM.render( - - - , - document.getElementById('root') -); - -// 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(); diff --git a/src/logo.svg b/src/logo.svg deleted file mode 100644 index 9dfc1c058..000000000 --- a/src/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/react-app-env.d.ts b/src/react-app-env.d.ts deleted file mode 100644 index 6431bc5fc..000000000 --- a/src/react-app-env.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/src/reportWebVitals.ts b/src/reportWebVitals.ts deleted file mode 100644 index 49a2a16e0..000000000 --- a/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/src/routes/Navigation.tsx b/src/routes/Navigation.tsx deleted file mode 100644 index a9bfe83b0..000000000 --- a/src/routes/Navigation.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import { - BrowserRouter as Router, - Switch, - Route, - NavLink -} from 'react-router-dom'; - -import logo from '../logo.svg'; - -export const Navigation = () => { - return ( - -
- - - {/* A looks through its children s and - renders the first one that matches the current URL. */} - - -

About

-
- -

Users

-
- -

Home

-
-
-
-
- ); -} \ No newline at end of file diff --git a/src/setupTests.ts b/src/setupTests.ts deleted file mode 100644 index 8f2609b7b..000000000 --- a/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';