diff --git a/public/cat.mp3 b/public/cat.mp3
new file mode 100644
index 0000000..6cb646b
Binary files /dev/null and b/public/cat.mp3 differ
diff --git a/public/cat2.mp3 b/public/cat2.mp3
new file mode 100644
index 0000000..545dbb9
Binary files /dev/null and b/public/cat2.mp3 differ
diff --git a/public/images/catTumaguro.png b/public/images/catTumaguro.png
new file mode 100644
index 0000000..dd4b41e
Binary files /dev/null and b/public/images/catTumaguro.png differ
diff --git a/src/components/Signinbutton.tsx b/src/components/Signinbutton.tsx
deleted file mode 100644
index 6016fd9..0000000
--- a/src/components/Signinbutton.tsx
+++ /dev/null
@@ -1,29 +0,0 @@
-import { Button } from "@mui/material";
-import {
- Box,
- Paper,
- Stack,
- TextField,
- Typography,
- Direction,
-} from "@mui/material";
-import { useState } from "react";
-
-export default function SigninButton() {
- return (
-
-
-
-
-
- );
-}
diff --git a/src/components/Signupbutton.tsx b/src/components/Signupbutton.tsx
deleted file mode 100644
index 190f9ae..0000000
--- a/src/components/Signupbutton.tsx
+++ /dev/null
@@ -1,31 +0,0 @@
-import { Button } from "@mui/material";
-import {
- Box,
- Paper,
- Stack,
- TextField,
- Direction,
- Typography,
-} from "@mui/material";
-import React from "react";
-
-import FemaleWorkerCheckingData from "../images/female-worker-checking-data.png";
-
-export default function SignupButton() {
- return (
-
-
-
-
-
- );
-}
diff --git a/src/components/Todo/AddTodo.tsx b/src/components/Todo/AddTodo.tsx
index e93ac64..6a40b3a 100644
--- a/src/components/Todo/AddTodo.tsx
+++ b/src/components/Todo/AddTodo.tsx
@@ -17,12 +17,12 @@ export default function AddTodo() {
return (
{
+ onclick={() => {
setIsOpen(!isOpen);
}}
- primaryColor="#C5956B"
- secondaryColor="#C37349"
- buttonName="Open"
+ primarycolor="#C5956B"
+ secondarycolor="#C37349"
+ buttonname="Open"
/>
{
Math.random() * 30 - 15,
];
const rotation = [0, Math.random() * Math.PI, 0];
- console.log(position);
const animationName =
randomAnimation[Math.floor(Math.random() * 2)];
return (
diff --git a/src/components/Todo/TodoView.tsx b/src/components/Todo/TodoView.tsx
index 6d0f9db..8288117 100644
--- a/src/components/Todo/TodoView.tsx
+++ b/src/components/Todo/TodoView.tsx
@@ -16,7 +16,6 @@ export default function TodoView() {
const getTasks = async () => {
try {
const token = localStorage.getItem("jwt");
- console.log(token);
const response = await axios.get(
`${process.env.NEXT_PUBLIC_BACKEND_URL}/api/v1/task/my`,
{ headers: { Authorization: `Bearer ${token}` } }
diff --git a/src/components/common/CustomButton.tsx b/src/components/common/CustomButton.tsx
index b79f4c5..78e7a83 100644
--- a/src/components/common/CustomButton.tsx
+++ b/src/components/common/CustomButton.tsx
@@ -5,14 +5,21 @@ import {
CircularProgress,
Typography,
} from "@mui/material";
-
+import { MouseEventHandler } from "react";
+const randomSeBox = ["/cat.mp3", "/cat2.mp3"];
export const CustomButton = (
props: {
- buttonName: string;
- primaryColor: string;
- secondaryColor: string;
+ buttonname: string;
+ primarycolor: string;
+ secondarycolor: string;
+ onclick?: MouseEventHandler;
} & ButtonProps
) => {
+ const meow = () => {
+ const index = Math.floor(Math.random() * 2);
+ const audio = new Audio(randomSeBox[index]);
+ audio.play().catch((error) => console.warn(error));
+ };
return (