Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jees47 committed Jul 11, 2023
1 parent 5a34b29 commit 0fb55d5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.bg-image{
background-image: url("assets/bg.jpg");
}
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function App() {
}

if (isStarted) {
interval = setTimeout(() => {
interval = setInterval(() => {
// Request permission for notifications
Notification.requestPermission().then((permission) => {
if (permission === "granted") {
Expand Down Expand Up @@ -47,7 +47,7 @@ function App() {
};

return (
<div className="d-flex align-items-center justify-content-center flex-column vh-100 bg-light">
<div className="d-flex align-items-center justify-content-center flex-column vh-100 bg-image">
<div>
<h1 className="mb-4 font-width-bolder">Water Reminder</h1>
</div>
Expand Down
Binary file added src/assets/bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion src/assets/react.svg

This file was deleted.

0 comments on commit 0fb55d5

Please sign in to comment.