Skip to content
This repository was archived by the owner on May 26, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added web/public/logo-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions web/src/components/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default function ({ navigate }) {
<Container maxWidth="md" className={classes.pageContainer}>
<Paper elevation={3}>
<form className={classes.boxWrapper} onSubmit={onLoginClick}>
<img className={classes.logo} src={`../logo.png`} alt={"logo"} />
<img className={classes.logo} src={isDarkMode ? darkLogo : lightLogo} alt={"logo"} />
<Typography className={classes.textWelcome} color="textSecondary" variant="subtitle1">Welcome back!</Typography>
<TextField error={result.status === "failure"} InputLabelProps={inputLabelProps} InputProps={inputProps} name="email" onChange={event => setEmail(event.target.value)} label="Email" type="email" variant="outlined" fullWidth margin="normal" />
<TextField error={result.status === "failure"} InputLabelProps={inputLabelProps} InputProps={inputProps} name="password" onChange={event => setPassword(event.target.value)} label="Password" type="password" variant="outlined" fullWidth margin="normal" helperText={result.error} />
Expand All @@ -128,4 +128,4 @@ export default function ({ navigate }) {
<Typography className={classes.textAttribution} color="textSecondary" variant="body2">Created by <a className={classes.textCreator} href="https://github.com/anselm94">Merbin J Anselm</a></Typography>
</div>
)
}
}
4 changes: 3 additions & 1 deletion web/src/components/Main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -72,4 +74,4 @@ function ThemeControlledComponent() {
</Container>
</ThemeProvider>
);
}
}
4 changes: 2 additions & 2 deletions web/src/components/Register.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default function ({ navigate }) {
<Container maxWidth="md" className={classes.pageContainer}>
<Paper elevation={3}>
<form className={classes.boxWrapper} onSubmit={onRegisterClick}>
<img className={classes.logo} src={`../logo.png`} alt={"logo"} />
<img className={classes.logo} src={isDarkMode ? darkLogo : lightLogo} alt={"logo"} />
<Typography className={classes.textWelcome} color="textSecondary" variant="subtitle1">Hello!</Typography>
<TextField required InputLabelProps={inputLabelProps} InputProps={inputProps} name="name" label="Name" type="text" variant="outlined" value={name} onChange={event => setName(event.target.value)} error={result.status === "failure"} helperText={result.errors && result.errors["name"] && result.errors["name"][0]} fullWidth margin="normal" />
<TextField required InputLabelProps={inputLabelProps} InputProps={inputProps} name="email" label="Email" type="email" variant="outlined" value={email} error={result.status === "failure"} helperText={(result.errors && ((result.errors["email"] && result.errors["email"][0]) || (result.errors[""] && result.errors[""][0]))) || "Use any dummy email. I don't collect emails ;)"} onChange={event => setEmail(event.target.value)} fullWidth margin="normal" />
Expand All @@ -130,4 +130,4 @@ export default function ({ navigate }) {
<Typography className={classes.textAttribution} color="textSecondary" variant="body2">Created by <a className={classes.textCreator} href="https://github.com/anselm94">Merbin J Anselm</a></Typography>
</div>
)
}
}
2 changes: 1 addition & 1 deletion web/src/components/appbar/AppBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function LogoContainer() {
const classes = useStyles();
return (
<div className={classes.logoContainer}>
<img className={classes.logo} src={`../../logo.png`} alt={"logo"} />
<img className={classes.logo} src={isDarkMode ? darkLogo : lightLogo} alt={"logo"} />
<Typography
color="textSecondary"
className={classes.title}
Expand Down