diff --git a/.gitignore b/.gitignore index 808d235..8b182cf 100644 --- a/.gitignore +++ b/.gitignore @@ -23,5 +23,3 @@ yarn-debug.log* yarn-error.log* .env -/frontend/src/components/UserProfile/AnalysisCardContent.md -/frontend/src/components/UserProfile/ProfileCardContent.md diff --git a/public/index.html b/public/index.html index aa069f2..a5a4f65 100644 --- a/public/index.html +++ b/public/index.html @@ -24,20 +24,11 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - React App + cred.blue +
- diff --git a/src/App.jsx b/src/App.jsx index 8c2d40a..710d6cb 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -14,18 +14,6 @@ import { AuthContext } from './AuthContext'; const App = () => { const { isAuthenticated, handleLoginSuccess, loading } = useContext(AuthContext); - // Load Adobe font stylesheet on app mount - useEffect(() => { - const loadAdobeFont = () => { - const link = document.createElement('link'); - link.rel = 'stylesheet'; - link.href = 'https://use.typekit.net/yhs0sil.css'; - link.type = 'text/css'; - document.head.appendChild(link); - }; - loadAdobeFont(); - }, []); - if (loading) { return
Loading...
; } diff --git a/src/App.test.js b/src/App.test.js deleted file mode 100644 index e3dd9ae..0000000 --- a/src/App.test.js +++ /dev/null @@ -1,8 +0,0 @@ -import { render, screen } from '@testing-library/react'; -import App from './components/MainApp/MainApp'; - -test('renders learn react link', () => { - render(); - const linkElement = screen.getByText(/learn react/i); - expect(linkElement).toBeInTheDocument(); -}); diff --git a/src/reportWebVitals.js b/src/reportWebVitals.js deleted file mode 100644 index 5253d3a..0000000 --- a/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/src/setupTests.js b/src/setupTests.js deleted file mode 100644 index 8f2609b..0000000 --- a/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'; diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index 0980b23..0000000 --- a/tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], - "allowJs": true, - "skipLibCheck": true, - "esModuleInterop": true, - "allowSyntheticDefaultImports": true, - "strict": true, - "forceConsistentCasingInFileNames": true, - "module": "esnext", - "moduleResolution": "node", - "resolveJsonModule": true, - "isolatedModules": true, - "noEmit": true, - "jsx": "preserve" - }, - "include": [ - "src" - ] -}