diff --git a/web/public/logo-dark.png b/web/public/logo-dark.png new file mode 100644 index 0000000..ee739a4 Binary files /dev/null and b/web/public/logo-dark.png differ diff --git a/web/src/components/Login.jsx b/web/src/components/Login.jsx index d1e0d3a..1b6a3d0 100644 --- a/web/src/components/Login.jsx +++ b/web/src/components/Login.jsx @@ -115,7 +115,7 @@ export default function ({ navigate }) {
- {"logo"} + {"logo"} Welcome back! setEmail(event.target.value)} label="Email" type="email" variant="outlined" fullWidth margin="normal" /> setPassword(event.target.value)} label="Password" type="password" variant="outlined" fullWidth margin="normal" helperText={result.error} /> @@ -128,4 +128,4 @@ export default function ({ navigate }) { Created by Merbin J Anselm ) -} \ No newline at end of file +} diff --git a/web/src/components/Main.jsx b/web/src/components/Main.jsx index 9a2f528..b45df18 100644 --- a/web/src/components/Main.jsx +++ b/web/src/components/Main.jsx @@ -5,6 +5,8 @@ import NotesArea from "./mainarea/NotesArea"; import Box from "@material-ui/core/Box"; import Container from "@material-ui/core/Container"; import Loading from "./Loading"; +import lightLogo from '../logo.png'; +import darkLogo from '../logo-dark.png'; import { useSubscription, useQuery } from "urql"; import { subscribeTodos, getTodosAndLabels, subscribeLabels } from "../gql"; import { TodosProvider, LabelsProvider, UiProvider, UserProvider, useUserStore, useTodosStore, useLabelsStore } from "../store"; @@ -72,4 +74,4 @@ function ThemeControlledComponent() { ); -} \ No newline at end of file +} diff --git a/web/src/components/Register.jsx b/web/src/components/Register.jsx index 0f002cd..d6d2763 100644 --- a/web/src/components/Register.jsx +++ b/web/src/components/Register.jsx @@ -116,7 +116,7 @@ export default function ({ navigate }) { - {"logo"} + {"logo"} Hello! setName(event.target.value)} error={result.status === "failure"} helperText={result.errors && result.errors["name"] && result.errors["name"][0]} fullWidth margin="normal" /> setEmail(event.target.value)} fullWidth margin="normal" /> @@ -130,4 +130,4 @@ export default function ({ navigate }) { Created by Merbin J Anselm ) -} \ No newline at end of file +} diff --git a/web/src/components/appbar/AppBar.jsx b/web/src/components/appbar/AppBar.jsx index f418f42..62c2aa8 100644 --- a/web/src/components/appbar/AppBar.jsx +++ b/web/src/components/appbar/AppBar.jsx @@ -189,7 +189,7 @@ function LogoContainer() { const classes = useStyles(); return (
- {"logo"} + {"logo"}