From cda8f2105aaba6b657b97d83b42263f40639afb1 Mon Sep 17 00:00:00 2001 From: Kritul Date: Wed, 24 May 2023 00:07:40 -0400 Subject: [PATCH] Setting up a clean slate for the Currency Converter App --- .gitignore | 1 + src/App.css | 38 -------------------------------------- src/App.js | 18 +----------------- src/index.js | 7 ------- 4 files changed, 2 insertions(+), 62 deletions(-) diff --git a/.gitignore b/.gitignore index 4d29575..810affd 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ npm-debug.log* yarn-debug.log* yarn-error.log* +.vs diff --git a/src/App.css b/src/App.css index 74b5e05..e69de29 100644 --- a/src/App.css +++ b/src/App.css @@ -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/src/App.js b/src/App.js index 3784575..b15e03d 100644 --- a/src/App.js +++ b/src/App.js @@ -1,24 +1,8 @@ -import logo from './logo.svg'; import './App.css'; function App() { return ( -
-
- logo -

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

- - Learn React - -
-
+

Convert

); } diff --git a/src/index.js b/src/index.js index d563c0f..593edf1 100644 --- a/src/index.js +++ b/src/index.js @@ -1,8 +1,6 @@ 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( @@ -10,8 +8,3 @@ 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();