diff --git a/src/App.tsx b/src/App.tsx index 6bc98f9..c038f2c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,11 +2,13 @@ import './styles/App.css'; import './styles/Tailwind.css'; import './styles/Animations.css'; import { ProjectRoutes } from './routes/Routes'; +import { NewHome } from './pages/NewHome'; function App() { return (
+ + Category +
++ + Account +
++ + Account +
++ + Category +
+props.setAccountC('')} + className="p-2 px-10 m-1 rounded-full hover:shadow-md cursor-pointer fade-in" + style={{ backgroundColor: color }}> + {props.accountC} + +
+ ) +} \ No newline at end of file diff --git a/src/components/buttons/RemoveCategoryButton.tsx b/src/components/buttons/RemoveCategoryButton.tsx new file mode 100644 index 0000000..598e1dc --- /dev/null +++ b/src/components/buttons/RemoveCategoryButton.tsx @@ -0,0 +1,37 @@ +import { androidColorToHex } from "../../utils/AndroidColorToHex"; + +type removeCategoryProp = { + categoryC: string; + setCategoryC: React.Dispatchprops.setCategoryC('')} + className="p-2 px-10 m-1 rounded-full hover:shadow-md cursor-pointer fade-in" + style={{ backgroundColor: color }}> + {props.categoryC} + +
+ ) +} \ No newline at end of file diff --git a/src/components/buttons/SettingsButton.tsx b/src/components/buttons/SettingsButton.tsx new file mode 100644 index 0000000..b2e812b --- /dev/null +++ b/src/components/buttons/SettingsButton.tsx @@ -0,0 +1,57 @@ +import { useState } from "react"; +import { Modal } from "flowbite-react"; +import { JSONdata } from "../../services/JSONdata"; +import { ClearData } from "../data/ClearData"; +import DarkModeButton from "../layout/DarkModeButton"; + +export const SettingsButton = () => { + const [openModal, setOpenModal] = useState- - {props.title} -
-+ March 01 +
++ Friday +
+ ++ Category +
++ Account +
++ title +
++ description +
++ asds + + asd + +
+Dark Mode
++ Toggle dark mode {darkSide ? "off" : "on"} +
+Dark Mode
-- Toggle dark mode -
-- {item.name} -
-- {item.sum} {item.currency} -
-