diff --git a/public/images/360_revived.png b/public/images/360_revived.png new file mode 100644 index 0000000..2f3dc13 Binary files /dev/null and b/public/images/360_revived.png differ diff --git a/public/images/Report_Button.png b/public/images/Report_Button.png deleted file mode 100644 index 9302d83..0000000 Binary files a/public/images/Report_Button.png and /dev/null differ diff --git a/public/images/Report_Button_Highlighted.png b/public/images/Report_Button_Highlighted.png deleted file mode 100644 index 09e9f7b..0000000 Binary files a/public/images/Report_Button_Highlighted.png and /dev/null differ diff --git a/public/images/Slider_Handle_highlighted.png b/public/images/Slider_Handle_highlighted.png new file mode 100644 index 0000000..acfd1fe Binary files /dev/null and b/public/images/Slider_Handle_highlighted.png differ diff --git a/public/images/emerald_0.png b/public/images/emerald_0.png new file mode 100644 index 0000000..b11b6d3 Binary files /dev/null and b/public/images/emerald_0.png differ diff --git a/public/images/emerald_block.png b/public/images/emerald_block.png new file mode 100644 index 0000000..765adbd Binary files /dev/null and b/public/images/emerald_block.png differ diff --git a/public/images/legacy_evolved.png b/public/images/legacy_evolved.png new file mode 100644 index 0000000..aad4ef8 Binary files /dev/null and b/public/images/legacy_evolved.png differ diff --git a/public/images/minecraft_title_tu19.png b/public/images/minecraft_title_tu19.png deleted file mode 100644 index 597f3a8..0000000 Binary files a/public/images/minecraft_title_tu19.png and /dev/null differ diff --git a/public/images/wool_14.png b/public/images/wool_14.png new file mode 100644 index 0000000..09cff97 Binary files /dev/null and b/public/images/wool_14.png differ diff --git a/public/images/wool_5.png b/public/images/wool_5.png new file mode 100644 index 0000000..958e431 Binary files /dev/null and b/public/images/wool_5.png differ diff --git a/src/components/modals/CustomTUModal.tsx b/src/components/modals/CustomTUModal.tsx index eeb5a46..776b638 100644 --- a/src/components/modals/CustomTUModal.tsx +++ b/src/components/modals/CustomTUModal.tsx @@ -1,5 +1,38 @@ -import { motion } from "framer-motion"; -import { useState, useEffect } from "react"; +import { useState, useEffect, memo } from "react"; + +interface ModalButtonProps { + label: string; + onClick: () => void; + isDanger?: boolean; +} + +const ModalButton = memo(function ModalButton({ + label, + onClick, + isDanger = false, +}: ModalButtonProps) { + const [isHovered, setIsHovered] = useState(false); + + return ( + + ); +}); export default function CustomTUModal({ isOpen, @@ -77,27 +110,23 @@ export default function CustomTUModal({ }; return ( - +
-

+

{editingEdition ? "Edit Custom TU" : "Import Custom TU"}

-
-
-