diff --git a/src/App.tsx b/src/App.tsx index 4e3b2f8..909e800 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,12 +2,14 @@ import React from "react" import FileBrowser from "./components/FileBrowser" import { BrowserRouter as Router, Switch, Route, Redirect } from "react-router-dom" import NotFound from "./components/NotFound" +import Login from "./components/Login" const App: React.FC = () => { return ( -
+
+ diff --git a/src/components/CreateDirButton.tsx b/src/components/CreateDirButton.tsx index de51ec9..e8dddbf 100644 --- a/src/components/CreateDirButton.tsx +++ b/src/components/CreateDirButton.tsx @@ -38,7 +38,7 @@ const CreateDirButton: React.FC = (props) => { }}> setName(e.target.value)} value={name} diff --git a/src/components/FileBrowser.tsx b/src/components/FileBrowser.tsx index 792e745..cf0e032 100644 --- a/src/components/FileBrowser.tsx +++ b/src/components/FileBrowser.tsx @@ -111,7 +111,7 @@ const FileBrowser: React.FC = (props) => { } return ( -
+
{ + return ( +
+
+
{ + e.preventDefault() + }} > + + + +
+
+
+ ) +} + +export default Login diff --git a/src/index.scss b/src/index.scss index b5c61c9..6e6244c 100644 --- a/src/index.scss +++ b/src/index.scss @@ -1,3 +1,9 @@ @tailwind base; @tailwind components; @tailwind utilities; + +/* Commonly used classes*/ + +.text-input{ + @apply bg-transparent border-gray-900 dark:border-gray-300 dark:text-gray-300 outline-none border-b +}