about summary refs log tree commit diff
path: root/src/App.tsx
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-06-04 22:20:18 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-06-04 22:20:34 +0200
commit45f459ae35fb1177e66374cd45e21f9d657e49d0 (patch)
treee5de53646a7f685ca179fccd382db9b67e11ddbf /src/App.tsx
parentPackages: Add supabase (diff)
downloadfs-tracer-frontend-45f459ae35fb1177e66374cd45e21f9d657e49d0.tar.gz
fs-tracer-frontend-45f459ae35fb1177e66374cd45e21f9d657e49d0.tar.bz2
fs-tracer-frontend-45f459ae35fb1177e66374cd45e21f9d657e49d0.zip
Login: Setup basic auth
Diffstat (limited to 'src/App.tsx')
-rw-r--r--src/App.tsx27
1 files changed, 2 insertions, 25 deletions
diff --git a/src/App.tsx b/src/App.tsx
index afe48ac..a65251d 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,33 +1,10 @@
-import { useState } from 'react'
-import reactLogo from './assets/react.svg'
-import viteLogo from '/vite.svg'
 import './App.css'
+import Login from './pages/Login'
 
 function App() {
-  const [count, setCount] = useState(0)
-
   return (
     <>
-      <div>
-        <a href="https://vitejs.dev" target="_blank">
-          <img src={viteLogo} className="logo" alt="Vite logo" />
-        </a>
-        <a href="https://react.dev" target="_blank">
-          <img src={reactLogo} className="logo react" alt="React logo" />
-        </a>
-      </div>
-      <h1>Vite + React</h1>
-      <div className="card">
-        <button onClick={() => setCount((count) => count + 1)}>
-          count is {count}
-        </button>
-        <p>
-          Edit <code>src/App.tsx</code> and save to test HMR
-        </p>
-      </div>
-      <p className="read-the-docs">
-        Click on the Vite and React logos to learn more
-      </p>
+      <Login />
     </>
   )
 }